roboto.action_runtime.action_input.topic_resolver#
Module Contents#
- class roboto.action_runtime.action_input.topic_resolver.InputTopicResolver(roboto_client=None, roboto_search=None)#
Looks up the topics an action invocation runs on, from the topic selectors declared as its inputs.
A selector names topics by ID, by name, or with a RoboQL query; every field it populates is looked up and the matches are returned together.
resolve_allreturns each topic once, whileresolverepeats a topic that matches on more than one field.- Parameters:
roboto_client (Optional[roboto.http.RobotoClient])
roboto_search (Optional[roboto.roboto_search.RobotoSearch])
- resolve(topic_selector)#
Looks up the topics one selector names. A
dataset_idon the selector is ignored, with a warning.- Parameters:
topic_selector (roboto.domain.actions.DataSelector)
- Return type:
- resolve_all(topic_selectors)#
- Parameters:
topic_selectors (collections.abc.Sequence[roboto.domain.actions.DataSelector])
- Return type:
- roboto_client = None#
- roboto_search#
- roboto.action_runtime.action_input.topic_resolver.log#