omnipy.shared.protocols.config
Protocols for Omnipy configuration objects and config sections.
| CLASS | DESCRIPTION |
|---|---|
IsBrowserUserInterfaceConfig |
HTML UI configuration specialized for browser rendering. |
IsColorConfig |
Color settings shared by terminal and HTML-style renderers. |
IsConfigBase |
Base protocol for Omnipy configuration objects. |
IsDataConfig |
Top-level configuration bundle for data, models, and HTTP access. |
IsDimsModeConfig |
UI config that also exposes display-dimension refresh behavior. |
IsDimsModeMixin |
Mixin protocol for configs that track dimension refresh behavior. |
IsEngineConfig |
Top-level engine selection and per-engine configuration bundle. |
IsFontConfig |
Font settings for HTML-based Omnipy renderers. |
IsHtmlUserInterfaceConfig |
Base configuration for browser- and notebook-style HTML frontends. |
IsHttpConfig |
HTTP configuration with default and per-host request policies. |
IsHttpRequestsConfig |
HTTP retry and throttling policy for one request profile. |
IsJobConfig |
Job execution configuration shared across tasks and flows. |
IsJobRunnerConfig |
Base protocol for engine-specific job-runner configuration sections. |
IsJupyterUserInterfaceConfig |
HTML UI configuration specialized for Jupyter environments. |
IsLayoutConfig |
Panel and layout settings for structured output rendering. |
IsLocalOutputStorageConfig |
Filesystem-backed settings for persisted job outputs. |
IsLocalRunnerConfig |
Runner configuration for the local execution backend. |
IsModelConfig |
Configuration controlling model behavior and conversions. |
IsOutputStorageConfig |
Persisted-output policy and backend selection. |
IsOutputStorageConfigBase |
Base protocol for persisted-output storage backends. |
IsOverflowConfig |
Overflow behavior for horizontally and vertically constrained output. |
IsPrefectEngineConfig |
Runner configuration for the Prefect execution backend. |
IsRootLogConfig |
Root logging configuration for Omnipy runtime objects. |
IsS3OutputStorageConfig |
S3-compatible settings for persisted job outputs. |
IsTerminalUserInterfaceConfig |
Terminal-specific user-interface configuration. |
IsTextConfig |
Text-formatting settings used by Omnipy renderers. |
IsUserInterfaceConfig |
Top-level bundle of frontend-specific UI configuration sections. |
IsUserInterfaceTypeConfig |
Base configuration shared by concrete user-interface frontends. |
IsBrowserUserInterfaceConfig
Bases: IsHtmlUserInterfaceConfig, Protocol
flowchart BT
omnipy.shared.protocols.config.IsBrowserUserInterfaceConfig[IsBrowserUserInterfaceConfig]
omnipy.shared.protocols.config.IsHtmlUserInterfaceConfig[IsHtmlUserInterfaceConfig]
omnipy.shared.protocols.config.IsUserInterfaceTypeConfig[IsUserInterfaceTypeConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsHtmlUserInterfaceConfig --> omnipy.shared.protocols.config.IsBrowserUserInterfaceConfig
omnipy.shared.protocols.config.IsUserInterfaceTypeConfig --> omnipy.shared.protocols.config.IsHtmlUserInterfaceConfig
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsUserInterfaceTypeConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsBrowserUserInterfaceConfig href "" "omnipy.shared.protocols.config.IsBrowserUserInterfaceConfig"
click omnipy.shared.protocols.config.IsHtmlUserInterfaceConfig href "" "omnipy.shared.protocols.config.IsHtmlUserInterfaceConfig"
click omnipy.shared.protocols.config.IsUserInterfaceTypeConfig href "" "omnipy.shared.protocols.config.IsUserInterfaceTypeConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
HTML UI configuration specialized for browser rendering.
- Reference Code reference omnipy
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
set_width_and_height |
Update the preferred display dimensions for this frontend. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
| ATTRIBUTE | DESCRIPTION |
|---|---|
color |
TYPE:
|
font |
TYPE:
|
height |
TYPE:
|
width |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
set_width_and_height
set_width_and_height(width: pyd.NonNegativeInt | None, height: pyd.NonNegativeInt | None) -> None
Update the preferred display dimensions for this frontend.
| PARAMETER | DESCRIPTION |
|---|---|
width
|
New preferred width, or
TYPE:
|
height
|
New preferred height, or
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsColorConfig
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsColorConfig[IsColorConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsColorConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsColorConfig href "" "omnipy.shared.protocols.config.IsColorConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Color settings shared by terminal and HTML-style renderers.
| ATTRIBUTE | DESCRIPTION |
|---|---|
system |
Available color-system capability for the target renderer.
TYPE:
|
style |
Named color theme or explicit style identifier.
TYPE:
|
dark_background |
Whether the target surface uses a dark background.
TYPE:
|
solid_background |
Whether panels should assume an opaque background.
TYPE:
|
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsConfigBase
Bases: IsDataPublisher, Protocol
flowchart BT
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Base protocol for Omnipy configuration objects.
Config objects publish updates, can be viewed as models, and provide a renderer-friendly string representation.
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsDataConfig
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsDataConfig[IsDataConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsDataConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsDataConfig href "" "omnipy.shared.protocols.config.IsDataConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Top-level configuration bundle for data, models, and HTTP access.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ui |
User-interface and rendering settings.
TYPE:
|
model |
Model conversion and interaction settings.
TYPE:
|
http |
HTTP retry and throttling settings.
TYPE:
|
- Reference Code reference omnipy
-
Reference
Code reference
omnipy
shared
protocols
dataIsDataClassCreatorset_config
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsDimsModeConfig
Bases: IsUserInterfaceTypeConfig, IsDimsModeMixin, Protocol
flowchart BT
omnipy.shared.protocols.config.IsDimsModeConfig[IsDimsModeConfig]
omnipy.shared.protocols.config.IsUserInterfaceTypeConfig[IsUserInterfaceTypeConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsDimsModeMixin[IsDimsModeMixin]
omnipy.shared.protocols.config.IsUserInterfaceTypeConfig --> omnipy.shared.protocols.config.IsDimsModeConfig
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsUserInterfaceTypeConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
omnipy.shared.protocols.config.IsDimsModeMixin --> omnipy.shared.protocols.config.IsDimsModeConfig
click omnipy.shared.protocols.config.IsDimsModeConfig href "" "omnipy.shared.protocols.config.IsDimsModeConfig"
click omnipy.shared.protocols.config.IsUserInterfaceTypeConfig href "" "omnipy.shared.protocols.config.IsUserInterfaceTypeConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
click omnipy.shared.protocols.config.IsDimsModeMixin href "" "omnipy.shared.protocols.config.IsDimsModeMixin"
UI config that also exposes display-dimension refresh behavior.
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
set_width_and_height |
Update the preferred display dimensions for this frontend. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
| 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[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
set_width_and_height
set_width_and_height(width: pyd.NonNegativeInt | None, height: pyd.NonNegativeInt | None) -> None
Update the preferred display dimensions for this frontend.
| PARAMETER | DESCRIPTION |
|---|---|
width
|
New preferred width, or
TYPE:
|
height
|
New preferred height, or
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsDimsModeMixin
Bases: Protocol
flowchart BT
omnipy.shared.protocols.config.IsDimsModeMixin[IsDimsModeMixin]
click omnipy.shared.protocols.config.IsDimsModeMixin href "" "omnipy.shared.protocols.config.IsDimsModeMixin"
Mixin protocol for configs that track dimension refresh behavior.
| ATTRIBUTE | DESCRIPTION |
|---|---|
dims_mode |
Policy controlling when display dimensions are refreshed. |
-
Reference
Code reference
omnipy
shared
protocols
configIsDimsModeConfig
Source code in src/omnipy/shared/protocols/config.py
dims_mode
class-attribute
instance-attribute
IsEngineConfig
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsEngineConfig[IsEngineConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsEngineConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsEngineConfig href "" "omnipy.shared.protocols.config.IsEngineConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Top-level engine selection and per-engine configuration bundle.
| ATTRIBUTE | DESCRIPTION |
|---|---|
choice |
Engine backend currently selected for execution.
TYPE:
|
local |
Configuration for the local backend.
TYPE:
|
prefect |
Configuration for the Prefect backend.
TYPE:
|
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsFontConfig
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsFontConfig[IsFontConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsFontConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsFontConfig href "" "omnipy.shared.protocols.config.IsFontConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Font settings for HTML-based Omnipy renderers.
| ATTRIBUTE | DESCRIPTION |
|---|---|
families |
Ordered list of font-family fallbacks.
TYPE:
|
size |
Base font size.
TYPE:
|
weight |
Default font weight.
TYPE:
|
line_height |
Relative line-height multiplier.
TYPE:
|
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsHtmlUserInterfaceConfig
Bases: IsUserInterfaceTypeConfig, Protocol
flowchart BT
omnipy.shared.protocols.config.IsHtmlUserInterfaceConfig[IsHtmlUserInterfaceConfig]
omnipy.shared.protocols.config.IsUserInterfaceTypeConfig[IsUserInterfaceTypeConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsUserInterfaceTypeConfig --> omnipy.shared.protocols.config.IsHtmlUserInterfaceConfig
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsUserInterfaceTypeConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsHtmlUserInterfaceConfig href "" "omnipy.shared.protocols.config.IsHtmlUserInterfaceConfig"
click omnipy.shared.protocols.config.IsUserInterfaceTypeConfig href "" "omnipy.shared.protocols.config.IsUserInterfaceTypeConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Base configuration for browser- and notebook-style HTML frontends.
| ATTRIBUTE | DESCRIPTION |
|---|---|
font |
Font settings used by the HTML renderer.
TYPE:
|
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
set_width_and_height |
Update the preferred display dimensions for this frontend. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
set_width_and_height
set_width_and_height(width: pyd.NonNegativeInt | None, height: pyd.NonNegativeInt | None) -> None
Update the preferred display dimensions for this frontend.
| PARAMETER | DESCRIPTION |
|---|---|
width
|
New preferred width, or
TYPE:
|
height
|
New preferred height, or
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsHttpConfig
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsHttpConfig[IsHttpConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsHttpConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsHttpConfig href "" "omnipy.shared.protocols.config.IsHttpConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
HTTP configuration with default and per-host request policies.
| ATTRIBUTE | DESCRIPTION |
|---|---|
defaults |
Fallback request policy used when no host-specific override exists.
TYPE:
|
for_host |
Request-policy overrides keyed by host name.
TYPE:
|
- Reference Code reference omnipy
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsHttpRequestsConfig
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsHttpRequestsConfig[IsHttpRequestsConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsHttpRequestsConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsHttpRequestsConfig href "" "omnipy.shared.protocols.config.IsHttpRequestsConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
HTTP retry and throttling policy for one request profile.
| ATTRIBUTE | DESCRIPTION |
|---|---|
requests_per_time_period |
Maximum requests allowed per time window.
TYPE:
|
time_period_in_secs |
Length of the throttling window in seconds.
TYPE:
|
retry_http_statuses |
HTTP status codes that should trigger retries.
TYPE:
|
retry_attempts |
Maximum number of retry attempts.
TYPE:
|
retry_backoff_strategy |
Backoff strategy used between retries.
TYPE:
|
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsJobConfig
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsJobConfig[IsJobConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsJobConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsJobConfig href "" "omnipy.shared.protocols.config.IsJobConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Job execution configuration shared across tasks and flows.
| ATTRIBUTE | DESCRIPTION |
|---|---|
output_storage |
Settings controlling persisted job outputs.
TYPE:
|
-
Reference
Code reference
omnipy
- compute
-
hub
runtimeRuntimeConfigjob -
shared
protocols
-
compute
-
job-
IsAnyFlowconfig -
IsAnyFlowTemplateconfig -
IsChildJobListArgJobconfig -
IsChildJobListArgJobTemplateconfig -
IsDagFlowconfig -
IsDagFlowTemplateconfig -
IsFuncArgJobconfig -
IsFuncArgJobTemplateconfig -
IsFuncFlowconfig -
IsFuncFlowTemplateconfig -
IsJobconfig -
IsJobBaseconfig -
IsJobBaseCallableconfig -
IsJobTemplateconfig -
IsLinearFlowconfig -
IsLinearFlowTemplateconfig -
IsTaskconfig -
IsTaskTemplateconfig
-
-
job_creator
-
-
hub
runtimeIsRuntimeConfigjob
-
compute
-
Reference
Code reference
omnipy
shared
protocols
compute
job_creator
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsJobRunnerConfig
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsJobRunnerConfig[IsJobRunnerConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsJobRunnerConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsJobRunnerConfig href "" "omnipy.shared.protocols.config.IsJobRunnerConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Base protocol for engine-specific job-runner configuration sections.
- Reference Code reference omnipy
- Reference Code reference omnipy
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsJupyterUserInterfaceConfig
Bases: IsHtmlUserInterfaceConfig, IsDimsModeConfig, Protocol
flowchart BT
omnipy.shared.protocols.config.IsJupyterUserInterfaceConfig[IsJupyterUserInterfaceConfig]
omnipy.shared.protocols.config.IsHtmlUserInterfaceConfig[IsHtmlUserInterfaceConfig]
omnipy.shared.protocols.config.IsDimsModeConfig[IsDimsModeConfig]
omnipy.shared.protocols.config.IsUserInterfaceTypeConfig[IsUserInterfaceTypeConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsDimsModeMixin[IsDimsModeMixin]
omnipy.shared.protocols.config.IsHtmlUserInterfaceConfig --> omnipy.shared.protocols.config.IsJupyterUserInterfaceConfig
omnipy.shared.protocols.config.IsUserInterfaceTypeConfig --> omnipy.shared.protocols.config.IsHtmlUserInterfaceConfig
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsUserInterfaceTypeConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
omnipy.shared.protocols.config.IsDimsModeConfig --> omnipy.shared.protocols.config.IsJupyterUserInterfaceConfig
omnipy.shared.protocols.config.IsUserInterfaceTypeConfig --> omnipy.shared.protocols.config.IsDimsModeConfig
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsUserInterfaceTypeConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
omnipy.shared.protocols.config.IsDimsModeMixin --> omnipy.shared.protocols.config.IsDimsModeConfig
click omnipy.shared.protocols.config.IsJupyterUserInterfaceConfig href "" "omnipy.shared.protocols.config.IsJupyterUserInterfaceConfig"
click omnipy.shared.protocols.config.IsHtmlUserInterfaceConfig href "" "omnipy.shared.protocols.config.IsHtmlUserInterfaceConfig"
click omnipy.shared.protocols.config.IsDimsModeConfig href "" "omnipy.shared.protocols.config.IsDimsModeConfig"
click omnipy.shared.protocols.config.IsUserInterfaceTypeConfig href "" "omnipy.shared.protocols.config.IsUserInterfaceTypeConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
click omnipy.shared.protocols.config.IsDimsModeMixin href "" "omnipy.shared.protocols.config.IsDimsModeMixin"
HTML UI configuration specialized for Jupyter environments.
- Reference Code reference omnipy
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
set_width_and_height |
Update the preferred display dimensions for this frontend. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
| 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[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
set_width_and_height
set_width_and_height(width: pyd.NonNegativeInt | None, height: pyd.NonNegativeInt | None) -> None
Update the preferred display dimensions for this frontend.
| PARAMETER | DESCRIPTION |
|---|---|
width
|
New preferred width, or
TYPE:
|
height
|
New preferred height, or
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsLayoutConfig
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsLayoutConfig[IsLayoutConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsLayoutConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsLayoutConfig href "" "omnipy.shared.protocols.config.IsLayoutConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Panel and layout settings for structured output rendering.
| ATTRIBUTE | DESCRIPTION |
|---|---|
overflow |
Overflow behavior used by panels and layouts.
TYPE:
|
panel_design |
Visual panel style.
TYPE:
|
panel_title_at_top |
Whether panel titles should be rendered above content.
TYPE:
|
max_title_height |
Maximum title height policy.
TYPE:
|
min_panel_width |
Minimum panel width before collapsing layout.
TYPE:
|
min_crop_width |
Minimum width before content is cropped.
TYPE:
|
max_panels_hor |
Maximum number of side-by-side panels, if limited.
TYPE:
|
max_nesting_depth |
Maximum nested panel depth, if limited.
TYPE:
|
justify |
Default content justification inside panels. |
- Reference Code reference omnipy
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsLocalOutputStorageConfig
Bases: IsOutputStorageConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsLocalOutputStorageConfig[IsLocalOutputStorageConfig]
omnipy.shared.protocols.config.IsOutputStorageConfigBase[IsOutputStorageConfigBase]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsOutputStorageConfigBase --> omnipy.shared.protocols.config.IsLocalOutputStorageConfig
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsOutputStorageConfigBase
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsLocalOutputStorageConfig href "" "omnipy.shared.protocols.config.IsLocalOutputStorageConfig"
click omnipy.shared.protocols.config.IsOutputStorageConfigBase href "" "omnipy.shared.protocols.config.IsOutputStorageConfigBase"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Filesystem-backed settings for persisted job outputs.
- Reference Code reference omnipy
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
| ATTRIBUTE | DESCRIPTION |
|---|---|
persist_data_dir_path |
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsLocalRunnerConfig
Bases: IsJobRunnerConfig, Protocol
flowchart BT
omnipy.shared.protocols.config.IsLocalRunnerConfig[IsLocalRunnerConfig]
omnipy.shared.protocols.config.IsJobRunnerConfig[IsJobRunnerConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsJobRunnerConfig --> omnipy.shared.protocols.config.IsLocalRunnerConfig
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsJobRunnerConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsLocalRunnerConfig href "" "omnipy.shared.protocols.config.IsLocalRunnerConfig"
click omnipy.shared.protocols.config.IsJobRunnerConfig href "" "omnipy.shared.protocols.config.IsJobRunnerConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Runner configuration for the local execution backend.
- Reference Code reference omnipy
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsModelConfig
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsModelConfig[IsModelConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsModelConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsModelConfig href "" "omnipy.shared.protocols.config.IsModelConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Configuration controlling model behavior and conversions.
| ATTRIBUTE | DESCRIPTION |
|---|---|
interactive |
Whether models favor interactive display behavior.
TYPE:
|
dynamically_convert_elements_to_models |
Whether nested elements are converted lazily.
TYPE:
|
- Reference Code reference omnipy
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
dynamically_convert_elements_to_models
instance-attribute
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsOutputStorageConfig
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsOutputStorageConfig[IsOutputStorageConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsOutputStorageConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsOutputStorageConfig href "" "omnipy.shared.protocols.config.IsOutputStorageConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Persisted-output policy and backend selection.
| ATTRIBUTE | DESCRIPTION |
|---|---|
persist_outputs |
Default policy for persisting job outputs. |
restore_outputs |
Default policy for restoring persisted outputs. |
protocol |
Storage backend selected for persisted outputs. |
local |
Local-backend settings. |
s3 |
S3-backend settings.
TYPE:
|
- Reference Code reference omnipy
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsOutputStorageConfigBase
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsOutputStorageConfigBase[IsOutputStorageConfigBase]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsOutputStorageConfigBase
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsOutputStorageConfigBase href "" "omnipy.shared.protocols.config.IsOutputStorageConfigBase"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Base protocol for persisted-output storage backends.
| ATTRIBUTE | DESCRIPTION |
|---|---|
persist_data_dir_path |
Root path used for persisted job outputs.
TYPE:
|
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsOverflowConfig
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsOverflowConfig[IsOverflowConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsOverflowConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsOverflowConfig href "" "omnipy.shared.protocols.config.IsOverflowConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Overflow behavior for horizontally and vertically constrained output.
| ATTRIBUTE | DESCRIPTION |
|---|---|
horizontal |
Horizontal overflow handling policy. |
vertical |
Vertical overflow handling policy.
TYPE:
|
- Reference Code reference omnipy
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsPrefectEngineConfig
Bases: IsJobRunnerConfig, Protocol
flowchart BT
omnipy.shared.protocols.config.IsPrefectEngineConfig[IsPrefectEngineConfig]
omnipy.shared.protocols.config.IsJobRunnerConfig[IsJobRunnerConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsJobRunnerConfig --> omnipy.shared.protocols.config.IsPrefectEngineConfig
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsJobRunnerConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsPrefectEngineConfig href "" "omnipy.shared.protocols.config.IsPrefectEngineConfig"
click omnipy.shared.protocols.config.IsJobRunnerConfig href "" "omnipy.shared.protocols.config.IsJobRunnerConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Runner configuration for the Prefect execution backend.
| ATTRIBUTE | DESCRIPTION |
|---|---|
use_cached_results |
Whether Prefect should reuse cached task results.
TYPE:
|
- Reference Code reference omnipy
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsRootLogConfig
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsRootLogConfig[IsRootLogConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsRootLogConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsRootLogConfig href "" "omnipy.shared.protocols.config.IsRootLogConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Root logging configuration for Omnipy runtime objects.
| ATTRIBUTE | DESCRIPTION |
|---|---|
log_format_str |
Format string used by root log handlers.
TYPE:
|
locale |
Locale used for formatting and localization-sensitive output.
TYPE:
|
log_to_stdout |
Whether logging to standard output is enabled.
TYPE:
|
log_to_stderr |
Whether logging to standard error is enabled.
TYPE:
|
log_to_file |
Whether file logging is enabled.
TYPE:
|
stdout |
Stream used for standard-output logging.
TYPE:
|
stderr |
Stream used for standard-error logging.
TYPE:
|
stdout_log_min_level |
Minimum level sent to standard output.
TYPE:
|
stderr_log_min_level |
Minimum level sent to standard error.
TYPE:
|
file_log_min_level |
Minimum level written to the log file.
TYPE:
|
file_log_path |
Destination path for file logging.
TYPE:
|
- Reference Code reference omnipy
-
Reference
Code reference
omnipy
shared
protocols
hub
runtimeIsRootLogObjectsset_config
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsS3OutputStorageConfig
Bases: IsOutputStorageConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsS3OutputStorageConfig[IsS3OutputStorageConfig]
omnipy.shared.protocols.config.IsOutputStorageConfigBase[IsOutputStorageConfigBase]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsOutputStorageConfigBase --> omnipy.shared.protocols.config.IsS3OutputStorageConfig
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsOutputStorageConfigBase
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsS3OutputStorageConfig href "" "omnipy.shared.protocols.config.IsS3OutputStorageConfig"
click omnipy.shared.protocols.config.IsOutputStorageConfigBase href "" "omnipy.shared.protocols.config.IsOutputStorageConfigBase"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
S3-compatible settings for persisted job outputs.
| ATTRIBUTE | DESCRIPTION |
|---|---|
endpoint_url |
S3 API endpoint URL.
TYPE:
|
access_key |
Access key used for authentication.
TYPE:
|
secret_key |
Secret key used for authentication.
TYPE:
|
bucket_name |
Bucket that stores persisted outputs.
TYPE:
|
- Reference Code reference omnipy
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsTerminalUserInterfaceConfig
Bases: IsDimsModeConfig, Protocol
flowchart BT
omnipy.shared.protocols.config.IsTerminalUserInterfaceConfig[IsTerminalUserInterfaceConfig]
omnipy.shared.protocols.config.IsDimsModeConfig[IsDimsModeConfig]
omnipy.shared.protocols.config.IsUserInterfaceTypeConfig[IsUserInterfaceTypeConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsDimsModeMixin[IsDimsModeMixin]
omnipy.shared.protocols.config.IsDimsModeConfig --> omnipy.shared.protocols.config.IsTerminalUserInterfaceConfig
omnipy.shared.protocols.config.IsUserInterfaceTypeConfig --> omnipy.shared.protocols.config.IsDimsModeConfig
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsUserInterfaceTypeConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
omnipy.shared.protocols.config.IsDimsModeMixin --> omnipy.shared.protocols.config.IsDimsModeConfig
click omnipy.shared.protocols.config.IsTerminalUserInterfaceConfig href "" "omnipy.shared.protocols.config.IsTerminalUserInterfaceConfig"
click omnipy.shared.protocols.config.IsDimsModeConfig href "" "omnipy.shared.protocols.config.IsDimsModeConfig"
click omnipy.shared.protocols.config.IsUserInterfaceTypeConfig href "" "omnipy.shared.protocols.config.IsUserInterfaceTypeConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
click omnipy.shared.protocols.config.IsDimsModeMixin href "" "omnipy.shared.protocols.config.IsDimsModeMixin"
Terminal-specific user-interface configuration.
- Reference Code reference omnipy
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
set_width_and_height |
Update the preferred display dimensions for this frontend. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
| 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[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
set_width_and_height
set_width_and_height(width: pyd.NonNegativeInt | None, height: pyd.NonNegativeInt | None) -> None
Update the preferred display dimensions for this frontend.
| PARAMETER | DESCRIPTION |
|---|---|
width
|
New preferred width, or
TYPE:
|
height
|
New preferred height, or
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsTextConfig
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsTextConfig[IsTextConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsTextConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsTextConfig href "" "omnipy.shared.protocols.config.IsTextConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Text-formatting settings used by Omnipy renderers.
| ATTRIBUTE | DESCRIPTION |
|---|---|
overflow |
Overflow behavior for text output.
TYPE:
|
tab_size |
Number of spaces represented by a tab.
TYPE:
|
indent_tab_size |
Tab width used when indenting structured output.
TYPE:
|
pretty_printer |
Pretty-printing backend to use.
TYPE:
|
proportional_freedom |
Tuning value for proportional line breaking.
TYPE:
|
debug_mode |
Whether extra rendering diagnostics should be shown.
TYPE:
|
- Reference Code reference omnipy
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsUserInterfaceConfig
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsUserInterfaceConfig[IsUserInterfaceConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsUserInterfaceConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsUserInterfaceConfig href "" "omnipy.shared.protocols.config.IsUserInterfaceConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Top-level bundle of frontend-specific UI configuration sections.
| ATTRIBUTE | DESCRIPTION |
|---|---|
detected_type |
Frontend type currently in use. |
terminal |
Terminal-specific UI settings. |
jupyter |
Jupyter-specific UI settings. |
browser |
Browser-specific UI settings. |
text |
Shared text-rendering settings.
TYPE:
|
layout |
Shared layout-rendering settings.
TYPE:
|
cache_dir_path |
Directory used for UI-related cache files.
TYPE:
|
- Reference Code reference omnipy
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
get_ui_type_config |
Return the config section matching a concrete frontend type. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
get_ui_type_config
get_ui_type_config(ui_type: SpecifiedUserInterfaceType.Literals) -> IsUserInterfaceTypeConfig
Return the config section matching a concrete frontend type.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Frontend type whose config section should be returned. |
| RETURNS | DESCRIPTION |
|---|---|
IsUserInterfaceTypeConfig
|
Config section for the requested frontend. |
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
IsUserInterfaceTypeConfig
Bases: IsConfigBase, Protocol
flowchart BT
omnipy.shared.protocols.config.IsUserInterfaceTypeConfig[IsUserInterfaceTypeConfig]
omnipy.shared.protocols.config.IsConfigBase[IsConfigBase]
omnipy.shared.protocols.util.IsDataPublisher[IsDataPublisher]
omnipy.shared.protocols.config.IsConfigBase --> omnipy.shared.protocols.config.IsUserInterfaceTypeConfig
omnipy.shared.protocols.util.IsDataPublisher --> omnipy.shared.protocols.config.IsConfigBase
click omnipy.shared.protocols.config.IsUserInterfaceTypeConfig href "" "omnipy.shared.protocols.config.IsUserInterfaceTypeConfig"
click omnipy.shared.protocols.config.IsConfigBase href "" "omnipy.shared.protocols.config.IsConfigBase"
click omnipy.shared.protocols.util.IsDataPublisher href "" "omnipy.shared.protocols.util.IsDataPublisher"
Base configuration shared by concrete user-interface frontends.
| ATTRIBUTE | DESCRIPTION |
|---|---|
width |
Preferred render width in characters or pixels, if known.
TYPE:
|
height |
Preferred render height in characters or pixels, if known.
TYPE:
|
color |
Color configuration for this frontend.
TYPE:
|
- Reference Code reference omnipy
| METHOD | DESCRIPTION |
|---|---|
as_model |
|
deepcopy |
Return a deep-copied publisher instance. |
default_repr_to_terminal_str |
Render the config for a terminal-style user interface. |
set_width_and_height |
Update the preferred display dimensions for this frontend. |
subscribe |
Subscribe to general publisher updates. |
subscribe_attr |
Subscribe to updates for one named attribute. |
unsubscribe_all |
Remove every registered subscriber. |
Source code in src/omnipy/shared/protocols/config.py
as_model
as_model() -> IsModel[Any]
deepcopy
Return a deep-copied publisher instance.
| RETURNS | DESCRIPTION |
|---|---|
Self
|
Deep copy of the current publisher object.
TYPE:
|
default_repr_to_terminal_str
default_repr_to_terminal_str(ui_type: TerminalOutputUserInterfaceType.Literals) -> str
Render the config for a terminal-style user interface.
| PARAMETER | DESCRIPTION |
|---|---|
ui_type
|
Terminal frontend variant requesting the representation. |
| RETURNS | DESCRIPTION |
|---|---|
str
|
Terminal-friendly string representation of the config.
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
set_width_and_height
set_width_and_height(width: pyd.NonNegativeInt | None, height: pyd.NonNegativeInt | None) -> None
Update the preferred display dimensions for this frontend.
| PARAMETER | DESCRIPTION |
|---|---|
width
|
New preferred width, or
TYPE:
|
height
|
New preferred height, or
TYPE:
|
Source code in src/omnipy/shared/protocols/config.py
subscribe
Subscribe to general publisher updates.
| PARAMETER | DESCRIPTION |
|---|---|
callback_fun
|
Callback invoked when the publisher changes.
TYPE:
|
do_callback
|
Whether to invoke the callback immediately after subscribing.
TYPE:
|
Source code in src/omnipy/shared/protocols/util.py
subscribe_attr
Subscribe to updates for one named attribute.
| PARAMETER | DESCRIPTION |
|---|---|
attr_name
|
Name of the published attribute to observe.
TYPE:
|
callback_fun
|
Callback invoked when that attribute changes.
TYPE:
|