type: meya.user.component.load
class: UserLoadComponent
path: /meya/user/component/load.py
signature: user_load
Load data for a specific user.
Fields
field | signature | required | type | default | description |
---|---|---|---|---|---|
spec | ○ | ○ | 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_load | ◉ | ◉ | str | The user ID to load |
Examples
Basic
triggers:
- keyword: meya.user.component.load
steps:
- user_load: STRING
Full
triggers:
- keyword: meya.user.component.load
steps:
- spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
context:
STRING: ANY
sensitive: false
triggers:
- type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
user_load: STRING