user.set

type: meya.user.component.set
class: UserSetComponent
path: /meya/user/component/set.py
signature: user_set

Set user-scope data.

Fields

field

signature

required

type

default

description               

spec

ForwardRef('Spec')

null

Override the original spec for this element

context

dict

{}

Send context data with this component's event

sensitive

bool

false

Mark this component's event as sensitive

triggers

list

[]

Activate these dynamic triggers when the component runs

user_id

str

null

user_set

str
dict

Examples

Basic

triggers:
  - keyword: meya.user.component.set
steps:
  - user_set: STRING

Full

triggers:
  - keyword: meya.user.component.set
steps:
  - spec: '?'
    context:
      STRING: ANY
    sensitive: false
    triggers:
      - type: STRING
        data:
          STRING: ANY
        timeout: 123
        trigger_when: ANY
    user_id: STRING
    user_set:
      foo: bar