roboto.upload_agent.agent#
Module Contents#
- roboto.upload_agent.agent.DEFAULT_ROBOTO_UPLOAD_FILE#
If you put a template JSON file here, it’ll be used by :func:`~create_upload_configs
- class roboto.upload_agent.agent.UploadAgent(agent_config, roboto_client=None, default_roboto_upload_file=None)#
- Parameters:
agent_config (roboto.upload_agent.files.UploadAgentConfig)
roboto_client (Optional[roboto.http.RobotoClient])
default_roboto_upload_file (Optional[pathlib.Path])
- create_upload_configs()#
- process_uploads(merge_uploads=False)#
If merge is true, everything will be combined into a single dataset. Otherwise, each directory will be uploaded to a separate dataset.
- Parameters:
merge_uploads (bool)
- Return type:
collections.abc.Sequence[roboto.domain.datasets.Dataset]
- roboto.upload_agent.agent.logger#