jobflow_remote.cli.formatting module#

jobflow_remote.cli.formatting.create_bar(count, max_count, size=30, color='white')[source]#

Creates a text-based bar for a histogram with fixed color per state.

jobflow_remote.cli.formatting.format_flow_info(flow_info: FlowInfo) Table[source]#
jobflow_remote.cli.formatting.format_job_info(job_info: JobInfo | JobDoc, verbosity: int, show_none: bool = False)[source]#
jobflow_remote.cli.formatting.format_run_time(ji: JobInfo) str[source]#
jobflow_remote.cli.formatting.format_state(ji: JobInfo) Text[source]#
jobflow_remote.cli.formatting.format_upgrade_actions(actions: list[UpgradeAction])[source]#
jobflow_remote.cli.formatting.get_batch_processes_table(batch_processes: dict, workers: dict[str, WorkerBase], running_jobs: dict[str, list[tuple[str, int, str]]], verbosity: int = 0)[source]#
jobflow_remote.cli.formatting.get_exec_config_table(exec_config: dict[str, ExecutionConfig], verbosity: int = 0) Table[source]#
jobflow_remote.cli.formatting.get_flow_info_table(flows_info: list[FlowInfo], verbosity: int) Table[source]#
jobflow_remote.cli.formatting.get_flow_report_components(report: FlowsReport) list[RenderableType][source]#
jobflow_remote.cli.formatting.get_job_info_table(jobs_info: list[JobInfo], verbosity: int, output_keys: list[str] | None = None, stored_data_keys: list[str] | None = None) Table[source]#
jobflow_remote.cli.formatting.get_job_report_components(report: JobsReport) list[RenderableType][source]#
jobflow_remote.cli.formatting.get_worker_table(workers: dict[str, WorkerBase], verbosity: int = 0) Table[source]#