conntextual.ui.model
index
/home/vkottler/src/vkottler/workspace/conntextual/conntextual/ui/model.py

A module implementing a data model for base applications.

 
Modules
       
asyncio

 
Classes
       
runtimepy.mixins.environment.ChannelEnvironmentMixin(builtins.object)
Model

 
class Model(runtimepy.mixins.environment.ChannelEnvironmentMixin)
    Model(app: runtimepy.net.arbiter.info.AppInfo, env: runtimepy.channel.environment.ChannelEnvironment, environments: List[conntextual.ui.channel.environment.ChannelEnvironmentDisplay], uptime: runtimepy.primitives.float.DoublePrimitive, paused: runtimepy.primitives.bool.BooleanPrimitive, start: float, tab_to_id: dict[str, str]) -> None
 
A base application model.
 
 
Method resolution order:
Model
runtimepy.mixins.environment.ChannelEnvironmentMixin
builtins.object

Methods defined here:
__eq__(self, other)
Return self==value.
__init__(self, app: runtimepy.net.arbiter.info.AppInfo, env: runtimepy.channel.environment.ChannelEnvironment, environments: List[conntextual.ui.channel.environment.ChannelEnvironmentDisplay], uptime: runtimepy.primitives.float.DoublePrimitive, paused: runtimepy.primitives.bool.BooleanPrimitive, start: float, tab_to_id: dict[str, str]) -> None
Initialize this instance.
__repr__(self)
Return repr(self).

Static methods defined here:
create(app: runtimepy.net.arbiter.info.AppInfo, env: runtimepy.channel.environment.ChannelEnvironment) -> 'Model'
Create a model instance.

Data and other attributes defined here:
__annotations__ = {'app': <class 'runtimepy.net.arbiter.info.AppInfo'>, 'env': <class 'runtimepy.channel.environment.ChannelEnvironment'>, 'environments': typing.List[conntextual.ui.channel.environment.ChannelEnvironmentDisplay], 'paused': <class 'runtimepy.primitives.bool.BooleanPrimitive'>, 'start': <class 'float'>, 'tab_to_id': dict[str, str], 'uptime': <class 'runtimepy.primitives.float.DoublePrimitive'>}
__dataclass_fields__ = {'app': Field(name='app',type=<class 'runtimepy.net.arbi...appingproxy({}),kw_only=False,_field_type=_FIELD), 'env': Field(name='env',type=<class 'runtimepy.channel....appingproxy({}),kw_only=False,_field_type=_FIELD), 'environments': Field(name='environments',type=typing.List[connt...appingproxy({}),kw_only=False,_field_type=_FIELD), 'paused': Field(name='paused',type=<class 'runtimepy.primi...appingproxy({}),kw_only=False,_field_type=_FIELD), 'start': Field(name='start',type=<class 'float'>,default=...appingproxy({}),kw_only=False,_field_type=_FIELD), 'tab_to_id': Field(name='tab_to_id',type=dict[str, str],defau...appingproxy({}),kw_only=False,_field_type=_FIELD), 'uptime': Field(name='uptime',type=<class 'runtimepy.primi...appingproxy({}),kw_only=False,_field_type=_FIELD)}
__dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,ord...rue,kw_only=False,slots=False,weakref_slot=False)
__hash__ = None
__match_args__ = ('app', 'env', 'environments', 'uptime', 'paused', 'start', 'tab_to_id')

Methods inherited from runtimepy.mixins.environment.ChannelEnvironmentMixin:
register_channel_metrics(self, name: str, channel: runtimepy.metrics.channel.ChannelMetrics, verb: str) -> None
Register individual channel metrics.
register_connection_metrics(self, metrics: runtimepy.metrics.connection.ConnectionMetrics, namespace: str = 'metrics') -> None
Register connection metrics.
register_task_metrics(self, metrics: runtimepy.metrics.task.PeriodicTaskMetrics, namespace: str = 'metrics') -> None
Register periodic task metrics.

Data descriptors inherited from runtimepy.mixins.environment.ChannelEnvironmentMixin:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object

 
Data
        List = typing.List