roboto.action_runtime.action_input.session_resolver#

Module Contents#

class roboto.action_runtime.action_input.session_resolver.InputSessionResolver(roboto_client=None, roboto_search=None)#

Looks up the sessions an action invocation runs on, from the session selectors declared as its inputs.

A selector names sessions 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 session once, while resolve repeats a session that matches on more than one field.

Parameters:
resolve(session_selector)#

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

Parameters:

session_selector (roboto.domain.actions.DataSelector)

Return type:

list[roboto.experimental.sessions.Session]

resolve_all(session_selectors)#
Parameters:

session_selectors (collections.abc.Sequence[roboto.domain.actions.DataSelector])

Return type:

list[roboto.experimental.sessions.Session]

roboto_client = None#
roboto.action_runtime.action_input.session_resolver.log#