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

roboto.upload_agent.agent

Module Contents

DEFAULT_ROBOTO_UPLOAD_FILE

roboto.upload_agent.agent.DEFAULT_ROBOTO_UPLOAD_FILE#View Source

If you put a template JSON file here, it’ll be used by :func:~create_upload_configs`

UploadAgent

class roboto.upload_agent.agent.UploadAgent(agent_config, roboto_client=None, default_roboto_upload_file=None)#View Source

Parameters

roboto_client Optional[roboto.http.RobotoClient]
default_roboto_upload_file Optional[pathlib.Path]

UploadAgent.create_upload_configs()

create_upload_configs()#View Source

UploadAgent.process_uploads()

process_uploads(merge_uploads=False)#View Source

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]

logger

roboto.upload_agent.agent.logger#View Source

Was this page helpful?