roboto.action_runtime.action_input.file_resolver
Module Contents
InputFileResolver
Looks up the files an action invocation runs on, from the file selectors declared as its inputs.
A selector names files by ID, by name, by path within a dataset, or with a RoboQL query; every field it populates is looked up and the matches are returned together. resolve_all returns each file once, while resolve repeats a file that matches on more than one field.
A query, names or paths goes through file search, which does not return links yet, so it never selects a link. A link named in ids is returned, and ActionInputResolver downloads the version of its target that the link pins.
Parameters
roboto_client Optional[roboto.roboto_search Optional[roboto.InputFileResolver.resolve()
Looks up the files one selector names.
A dataset_id narrows the lookup only alongside paths; every other field ignores it, with a warning.
Parameters
selector roboto.Return type
InputFileResolver.resolve_all()
Parameters
file_selectors collections.Return type