jobflow_remote.cli.flow module#

jobflow_remote.cli.flow.delete(job_id: ~typing.Annotated[list[str] | None, <typer.models.OptionInfo object at 0x7f5b8a15f590>] = None, db_id: ~typing.Annotated[list[str] | None, <typer.models.OptionInfo object at 0x7f5b8a15f7d0>] = None, flow_id: ~typing.Annotated[list[str] | None, <typer.models.OptionInfo object at 0x7f5b8a15f990>] = None, state: ~typing.Annotated[list[~jobflow_remote.jobs.state.FlowState] | None, <typer.models.OptionInfo object at 0x7f5b8a174890>] = None, start_date: ~typing.Annotated[~datetime.datetime | None, <typer.models.OptionInfo object at 0x7f5b8a1753d0>] = None, end_date: ~typing.Annotated[~datetime.datetime | None, <typer.models.OptionInfo object at 0x7f5b8a175450>] = None, name: ~typing.Annotated[str | None, <typer.models.OptionInfo object at 0x7f5b8a174990>] = None, days: ~typing.Annotated[int | None, <typer.models.OptionInfo object at 0x7f5b8a175510>] = None, hours: ~typing.Annotated[int | None, <typer.models.OptionInfo object at 0x7f5b8a1755d0>] = None, force: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f5b8a175ed0>] = False, max_limit: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f5b8a18d890>] = 10, verbosity: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f5b8a18d8d0>] = False, delete_output: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f5b8a1765d0>] = False, delete_files: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f5b8a1766d0>] = False, delete_all: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f5b8a1767d0>] = False) None[source]#

Permanently delete Flows from the database

jobflow_remote.cli.flow.flow_info(flow_db_id: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7f5b8a175dd0>], job_id_flag: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f5b8a175fd0>] = False) None[source]#

Provide detailed information on a Flow.

jobflow_remote.cli.flow.flows_list(job_id: ~typing.Annotated[list[str] | None, <typer.models.OptionInfo object at 0x7f5b8a15f590>] = None, db_id: ~typing.Annotated[list[str] | None, <typer.models.OptionInfo object at 0x7f5b8a15f7d0>] = None, flow_id: ~typing.Annotated[list[str] | None, <typer.models.OptionInfo object at 0x7f5b8a15f990>] = None, state: ~typing.Annotated[list[~jobflow_remote.jobs.state.FlowState] | None, <typer.models.OptionInfo object at 0x7f5b8a174890>] = None, start_date: ~typing.Annotated[~datetime.datetime | None, <typer.models.OptionInfo object at 0x7f5b8a1753d0>] = None, end_date: ~typing.Annotated[~datetime.datetime | None, <typer.models.OptionInfo object at 0x7f5b8a175450>] = None, name: ~typing.Annotated[str | None, <typer.models.OptionInfo object at 0x7f5b8a174990>] = None, days: ~typing.Annotated[int | None, <typer.models.OptionInfo object at 0x7f5b8a175510>] = None, hours: ~typing.Annotated[int | None, <typer.models.OptionInfo object at 0x7f5b8a1755d0>] = None, verbosity: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f5b8a175690>] = 0, max_results: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f5b8a1758d0>] = 100, sort: ~jobflow_remote.cli.utils.Annotated[~jobflow_remote.cli.utils.SortOption, <typer.models.OptionInfo object at 0x7f5b8a175990>] = SortOption.UPDATED_ON, reverse_sort: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f5b8a175a50>] = False) None[source]#

Get the list of Jobs in the database.

jobflow_remote.cli.flow.graph(flow_db_id: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7f5b8a175dd0>], job_id_flag: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f5b8a175fd0>] = False, label: ~typing.Annotated[str | None, <typer.models.OptionInfo object at 0x7f5b8a1a8950>] = 'name', file_path: ~typing.Annotated[str | None, <typer.models.OptionInfo object at 0x7f5b89b38150>] = None, dash_plot: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f5b89b6f9d0>] = False, print_mermaid: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f5b89b6fad0>] = False) None[source]#

Provide detailed information on a Flow.