pynenc.conf.config_pynenc¶
Module Contents¶
Classes¶
Main config of the pynenc app. |
API¶
- class pynenc.conf.config_pynenc.ConfigPynenc(config_values: Optional[dict[str, Any]] = None, config_filepath: Optional[str] = None)[source]¶
Bases:
pynenc.conf.config_base.ConfigPynencBaseMain config of the pynenc app.
- Variables:
app_id (str) – The id of the application.
orchestrator_cls (str) – The orchestrator class to use.
broker_cls (str) – The broker class to use.
state_backend_cls (str) – The state backend class to use.
serializer_cls (str) – The serializer class to use.
runner_cls (str) – The runner class to use.
dev_mode_force_sync_tasks (bool) – If True, forces tasks to run synchronously, useful for development.
max_pending_seconds (float) – Maximum time in seconds a task can remain in PENDING state before it expires. See :class:
~pynenc.invocation.status.InvocationStatusfor more details.logging_level (str) – The logging level of the application (‘info’, ‘warning’, ‘error’, etc.).
Initialization
- app_id¶
‘ConfigField(…)’
- orchestrator_cls¶
‘ConfigField(…)’
- broker_cls¶
‘ConfigField(…)’
- state_backend_cls¶
‘ConfigField(…)’
- serializer_cls¶
‘ConfigField(…)’
- runner_cls¶
‘ConfigField(…)’
- dev_mode_force_sync_tasks¶
‘ConfigField(…)’
- max_pending_seconds¶
‘ConfigField(…)’
- logging_level¶
‘ConfigField(…)’