Constants

class ioiocore.constants.KeyValueContainer[source]

Bases: object

A container class that provides methods to retrieve all keys and values defined in subclasses.

classmethod keys()[source]

Retrieve all keys defined in the class.

Returns:

A list of all keys in the class that are not dunder attributes.

Return type:

list

classmethod values()[source]

Retrieve all values defined in the class.

Returns:

A list of all values in the class that are not dunder attributes or private attributes.

Return type:

list

class ioiocore.constants.Constants[source]

Bases: object

A collection of categorized constants used in the system.

class Conditions[source]

Bases: KeyValueContainer

System conditions indicating operational status.

ERROR: str = 'Error'
HEALTHY: str = 'Healthy'
class Defaults[source]

Bases: KeyValueContainer

Default values for various system components.

NODE_NAME: str = 'default'
PORT_IN: str = 'in'
PORT_OUT: str = 'out'
class Keys[source]

Bases: KeyValueContainer

Keys used for system configuration and metadata.

CHANNEL_COUNT: str = 'channel_count'
INPUT_PORTS: str = 'input_ports'
OUTPUT_PORTS: str = 'output_ports'
SAMPLING_RATE: str = 'sampling_rate'
class States[source]

Bases: KeyValueContainer

Possible states of a pipeline.

RUNNING: str = 'Running'
STOPPED: str = 'Stopped'
class Timing[source]

Bases: KeyValueContainer

Timing modes available in the system.

ASYNC: str = 'Async'
INHERITED: str = 'Inherited'
SYNC: str = 'Sync'