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_batch_info(batch_doc: BatchDoc, worker)[source]#
jobflow_remote.cli.formatting.format_failed_conditions(failed_conditions: list[tuple[Version, dict]])[source]#
jobflow_remote.cli.formatting.format_flow_info(flow_info: FlowInfo, verbosity=0, output_keys=None, stored_data_keys=None) 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: list, workers: dict[str, WorkerBase], verbosity: int = 0, title: str = 'Running batches info', status: bool = False)[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, color: bool = False) Table[source]#
jobflow_remote.cli.formatting.get_job_report_components(report: JobsReport) list[RenderableType][source]#
jobflow_remote.cli.formatting.get_runner_pings_table(runner_pings: list[dict]) Table[source]#
jobflow_remote.cli.formatting.get_single_flow_report_components(flow_info: FlowInfo) list[RenderableType][source]#

Generate report rich components for a single Flow.

Parameters:

flow_info – The FlowInfo object containing information about the Flow.

Returns:

List of Rich components for display.

Return type:

list[RenderableType]

jobflow_remote.cli.formatting.get_worker_table(workers: dict[str, WorkerBase], verbosity: int = 0) Table[source]#