omnipy.shared.protocols.config
IsBrowserUserInterfaceConfig
Bases: IsHtmlUserInterfaceConfig, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
set_width_and_height |
Sets width and height, and notifies subscribers of the change. Only |
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
color |
TYPE:
|
font |
TYPE:
|
height |
TYPE:
|
width |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
set_width_and_height
set_width_and_height(width: pyd.NonNegativeInt | None, height: pyd.NonNegativeInt | None) -> None
Sets width and height, and notifies subscribers of the change. Only notifies self-subscribers once after both attributes have been updated.
Source code in src/omnipy/shared/protocols/config.py
subscribe
subscribe_attr
IsColorConfig
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
dark_background |
TYPE:
|
solid_background |
TYPE:
|
style |
TYPE:
|
system |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsConfigBase
Bases: IsDataPublisher, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsDataConfig
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
http |
TYPE:
|
model |
TYPE:
|
ui |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsDimsModeConfig
Bases: IsUserInterfaceTypeConfig, IsDimsModeMixin, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
set_width_and_height |
Sets width and height, and notifies subscribers of the change. Only |
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
color |
TYPE:
|
dims_mode |
|
height |
TYPE:
|
width |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
dims_mode
class-attribute
instance-attribute
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
set_width_and_height
set_width_and_height(width: pyd.NonNegativeInt | None, height: pyd.NonNegativeInt | None) -> None
Sets width and height, and notifies subscribers of the change. Only notifies self-subscribers once after both attributes have been updated.
Source code in src/omnipy/shared/protocols/config.py
subscribe
subscribe_attr
IsDimsModeMixin
Bases: Protocol
| ATTRIBUTE | DESCRIPTION |
|---|---|
dims_mode |
|
Source code in src/omnipy/shared/protocols/config.py
dims_mode
class-attribute
instance-attribute
IsEngineConfig
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
choice |
TYPE:
|
local |
TYPE:
|
prefect |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsFontConfig
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
families |
TYPE:
|
line_height |
TYPE:
|
size |
TYPE:
|
weight |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsHtmlUserInterfaceConfig
Bases: IsUserInterfaceTypeConfig, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
set_width_and_height |
Sets width and height, and notifies subscribers of the change. Only |
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
color |
TYPE:
|
font |
TYPE:
|
height |
TYPE:
|
width |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
set_width_and_height
set_width_and_height(width: pyd.NonNegativeInt | None, height: pyd.NonNegativeInt | None) -> None
Sets width and height, and notifies subscribers of the change. Only notifies self-subscribers once after both attributes have been updated.
Source code in src/omnipy/shared/protocols/config.py
subscribe
subscribe_attr
IsHttpConfig
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
defaults |
TYPE:
|
for_host |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsHttpRequestsConfig
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
requests_per_time_period |
TYPE:
|
retry_attempts |
TYPE:
|
retry_backoff_strategy |
TYPE:
|
retry_http_statuses |
TYPE:
|
time_period_in_secs |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsJobConfig
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
output_storage |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsJobRunnerConfig
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsJupyterUserInterfaceConfig
Bases: IsHtmlUserInterfaceConfig, IsDimsModeConfig, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
set_width_and_height |
Sets width and height, and notifies subscribers of the change. Only |
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
color |
TYPE:
|
dims_mode |
|
font |
TYPE:
|
height |
TYPE:
|
width |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
dims_mode
class-attribute
instance-attribute
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
set_width_and_height
set_width_and_height(width: pyd.NonNegativeInt | None, height: pyd.NonNegativeInt | None) -> None
Sets width and height, and notifies subscribers of the change. Only notifies self-subscribers once after both attributes have been updated.
Source code in src/omnipy/shared/protocols/config.py
subscribe
subscribe_attr
IsLayoutConfig
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
justify |
|
max_nesting_depth |
TYPE:
|
max_panels_hor |
TYPE:
|
max_title_height |
TYPE:
|
min_crop_width |
TYPE:
|
min_panel_width |
TYPE:
|
overflow |
TYPE:
|
panel_design |
TYPE:
|
panel_title_at_top |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsLocalOutputStorageConfig
Bases: IsOutputStorageConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
persist_data_dir_path |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsLocalRunnerConfig
Bases: IsJobRunnerConfig, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsModelConfig
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
dynamically_convert_elements_to_models |
TYPE:
|
interactive |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
dynamically_convert_elements_to_models
instance-attribute
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsOutputStorageConfig
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
local |
|
persist_outputs |
|
protocol |
|
restore_outputs |
|
s3 |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsOutputStorageConfigBase
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
persist_data_dir_path |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsOverflowConfig
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
horizontal |
|
vertical |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsPrefectEngineConfig
Bases: IsJobRunnerConfig, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
use_cached_results |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsRootLogConfig
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
file_log_min_level |
TYPE:
|
file_log_path |
TYPE:
|
locale |
TYPE:
|
log_format_str |
TYPE:
|
log_to_file |
TYPE:
|
log_to_stderr |
TYPE:
|
log_to_stdout |
TYPE:
|
stderr |
TYPE:
|
stderr_log_min_level |
TYPE:
|
stdout |
TYPE:
|
stdout_log_min_level |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsS3OutputStorageConfig
Bases: IsOutputStorageConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
access_key |
TYPE:
|
bucket_name |
TYPE:
|
endpoint_url |
TYPE:
|
persist_data_dir_path |
TYPE:
|
secret_key |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsTerminalUserInterfaceConfig
Bases: IsDimsModeConfig, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
set_width_and_height |
Sets width and height, and notifies subscribers of the change. Only |
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
color |
TYPE:
|
dims_mode |
|
height |
TYPE:
|
width |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
dims_mode
class-attribute
instance-attribute
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
set_width_and_height
set_width_and_height(width: pyd.NonNegativeInt | None, height: pyd.NonNegativeInt | None) -> None
Sets width and height, and notifies subscribers of the change. Only notifies self-subscribers once after both attributes have been updated.
Source code in src/omnipy/shared/protocols/config.py
subscribe
subscribe_attr
IsTextConfig
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
debug_mode |
TYPE:
|
indent_tab_size |
TYPE:
|
overflow |
TYPE:
|
pretty_printer |
TYPE:
|
proportional_freedom |
TYPE:
|
tab_size |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
subscribe
subscribe_attr
IsUserInterfaceConfig
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
get_ui_type_config |
|
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
browser |
|
cache_dir_path |
TYPE:
|
detected_type |
|
jupyter |
|
layout |
TYPE:
|
terminal |
|
text |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
get_ui_type_config
get_ui_type_config(ui_type: SpecifiedUserInterfaceType.Literals) -> IsUserInterfaceTypeConfig
subscribe
subscribe_attr
IsUserInterfaceTypeConfig
Bases: IsConfigBase, Protocol
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
|
default_repr_to_terminal_str |
|
set_width_and_height |
Sets width and height, and notifies subscribers of the change. Only |
subscribe |
|
subscribe_attr |
|
unsubscribe_all |
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
color |
TYPE:
|
height |
TYPE:
|
width |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[dict[str, object]]
deepcopy
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
set_width_and_height
set_width_and_height(width: pyd.NonNegativeInt | None, height: pyd.NonNegativeInt | None) -> None
Sets width and height, and notifies subscribers of the change. Only notifies self-subscribers once after both attributes have been updated.