pynenc.conf.config_trigger

Module Contents

Classes

ConfigTrigger

Configuration for the Trigger component.

ConfigTriggerSQLite

SQLite-specific configuration for the Trigger component.

API

class pynenc.conf.config_trigger.ConfigTrigger(config_values: dict[str, Any] | None = None, config_filepath: str | None = None)[source]

Bases: pynenc.conf.config_base.ConfigPynencBase

Configuration for the Trigger component.

Variables:
  • scheduler_interval_seconds (ConfigField[int]) – Interval in seconds for the scheduler to check for time-based triggers. Default is 60 seconds (1 minute).

  • enable_scheduler (ConfigField[bool]) – Whether to enable the scheduler for time-based triggers. Default is True.

  • max_events_batch_size (ConfigField[int]) – Maximum number of events to process in a single batch. Default is 100.

  • event_retention_days (ConfigField[int]) – Number of days to retain event history. Default is 7 days.

Initialization

scheduler_interval_seconds

‘ConfigField(…)’

enable_scheduler

‘ConfigField(…)’

max_events_batch_size

‘ConfigField(…)’

event_retention_days

‘ConfigField(…)’

class pynenc.conf.config_trigger.ConfigTriggerSQLite(config_values: dict[str, Any] | None = None, config_filepath: str | None = None)[source]

Bases: pynenc.conf.config_trigger.ConfigTrigger, pynenc.conf.config_sqlite.ConfigSQLite

SQLite-specific configuration for the Trigger component.

Initialization