Skip to content
Roboto
Esc
↑↓navigate↵open⌘Jpreview
On this page

roboto.action_runtime.action_input.topic_resolver

Module Contents

InputTopicResolver

class roboto.action_runtime.action_input.topic_resolver.InputTopicResolver(roboto_client=None, roboto_search=None)#View Source

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_all returns each topic once, while resolve repeats a topic that matches on more than one field.

Parameters

roboto_client Optional[roboto.http.RobotoClient]
roboto_search Optional[roboto.roboto_search.RobotoSearch]

InputTopicResolver.resolve()

resolve(topic_selector)#View Source

Looks up the topics one selector names. A dataset_id on the selector is ignored, with a warning.

Parameters

InputTopicResolver.resolve_all()

resolve_all(topic_selectors)#View Source

Parameters

topic_selectors collections.abc.Sequence[roboto.domain.actions.DataSelector]

Attributes

InputTopicResolver.roboto_client

roboto_client = None #
roboto_search #

log

roboto.action_runtime.action_input.topic_resolver.log#View Source

Was this page helpful?