runtimepy.struct
index
/home/vkottler/src/vkottler/workspace/runtimepy/runtimepy/struct/__init__.py

A module implementing a runtime structure base.

 
Package Contents
       

 
Classes
       
runtimepy.mixins.environment.ChannelEnvironmentMixin(builtins.object)
RuntimeStructBase(runtimepy.mixins.logging.LoggerMixinLevelControl, runtimepy.mixins.environment.ChannelEnvironmentMixin)
runtimepy.mixins.logging.LoggerMixinLevelControl(vcorelib.logging.LoggerMixin)
RuntimeStructBase(runtimepy.mixins.logging.LoggerMixinLevelControl, runtimepy.mixins.environment.ChannelEnvironmentMixin)

 
class RuntimeStructBase(runtimepy.mixins.logging.LoggerMixinLevelControl, runtimepy.mixins.environment.ChannelEnvironmentMixin)
    RuntimeStructBase(name: str, config: Dict[str, Union[str, int, float, bool, NoneType, Dict[str, Union[str, int, float, bool, NoneType]], List[Union[str, int, float, bool, NoneType]]]]) -> None
 
A base runtime structure.
 
 
Method resolution order:
RuntimeStructBase
runtimepy.mixins.logging.LoggerMixinLevelControl
vcorelib.logging.LoggerMixin
runtimepy.mixins.environment.ChannelEnvironmentMixin
builtins.object

Methods defined here:
__init__(self, name: str, config: Dict[str, Union[str, int, float, bool, NoneType, Dict[str, Union[str, int, float, bool, NoneType]], List[Union[str, int, float, bool, NoneType]]]]) -> None
Initialize this instance.
poll(self) -> None
A method that other runtime entities can call to perform canonical
updates to this struct's environment.

Data and other attributes defined here:
__annotations__ = {}

Methods inherited from runtimepy.mixins.logging.LoggerMixinLevelControl:
setup_level_channel(self, env: runtimepy.channel.environment.ChannelEnvironment, name: str = 'log_level', initial: str = 'info', description: str = 'Text-log level filter for this environment.') -> None
Add a commandable log-level channel to the environment.

Methods inherited from vcorelib.logging.LoggerMixin:
log_time(self, message: str, *args, level: int = 20, reminder: bool = False, **kwargs) -> Iterator[NoneType]
A simple wrapper.

Data descriptors inherited from vcorelib.logging.LoggerMixin:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object

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
        StructMap = dict[str, runtimepy.struct.RuntimeStructBase]