pynenc.conf.config_trigger¶
Module Contents¶
Classes¶
Configuration for the Trigger component. |
|
SQLite-specific configuration for the Trigger component. |
API¶
- class pynenc.conf.config_trigger.ConfigTrigger(config_values: Optional[dict[str, Any]] = None, config_filepath: Optional[str] = None)[source]¶
Bases:
pynenc.conf.config_base.ConfigPynencBaseConfiguration 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: Optional[dict[str, Any]] = None, config_filepath: Optional[str] = None)[source]¶
Bases:
pynenc.conf.config_trigger.ConfigTrigger,pynenc.conf.config_sqlite.ConfigSQLiteSQLite-specific configuration for the Trigger component.
Initialization