From: src.ce.core.config.config_models
This class defines the core configuration structure required for initializing and managing registry instances. Each registry instance must have a unique identifier, a provider key, and can include additional provider-specific parameters.
id
A unique string identifier for the registry instance. Must be at least 1 character long.
params
A dictionary of additional configuration parameters specific to the registry provider. Defaults to an empty dictionary.
provider_key
A string key identifying the provider implementation for this registry instance. Must be at least 1 character long.
From: src.ce.core.config.config_models
params
dict[str, Any]A dictionary of parameters specific to the ticket system adapter.
From: src.ce.core.config.config_models
This class represents the configuration for a data fetcher component. It inherits all attributes
from ProvidableConfig
.
From: src.ce.core.config.config_models
This class represents the configuration for a data preparer component. It inherits all attributes
from ProvidableConfig
.
From: src.ce.core.config.config_models
This class represents the configuration for a modifier component. It inherits all attributes
from ProvidableConfig
.
From: src.ce.core.config.config_models
This class represents the configuration for an AI inference service component. It inherits all attributes
from ProvidableConfig
.
From: src.ce.core.config.config_models
interval
intThe interval of time to wait between runs. Must be at least 1.
unit
strThe unit of time for the interval (e.g., 'minutes', 'hours'). Must be non-empty.
From: src.ce.core.config.config_models
schedule
SchedulerConfigThe scheduling configuration for this pipeline.
pipes
list[str]Ordered list of all pipe component IDs to execute, starting with a fetcher. The list must have at least one element.
From: src.ce.core.config.config_models
system
SystemConfigConfiguration for the ticket system adapter.
fetchers
list[FetcherConfig]List of data fetcher configurations. Must be non-empty.
data_preparers
list[PreparerConfig]List of data preparer configurations. Must be non-empty.
ai_inference_services
list[AIInferenceServiceConfig]List of AI inference service configurations. Must be non-empty.
modifiers
list[ModifierConfig]List of modifier configurations. Must be non-empty.
pipelines
list[PipelineConfig]List of pipeline configurations. Must be non-empty.
This module provides the OpenTicketAIConfigValidator
class which validates
that all provider configurations reference registered providers in the registry.
It ensures the application configuration only uses available implementations
during runtime initialization.
ValueError
If any configured provider is not found in the registry, including details of missing IDs and available providers.
From: src.ce.core.config.config_validator
This class performs validation checks to ensure all provider configurations specified in the application settings correspond to registered implementations in the dependency injection registry.
config
OpenTicketAIConfigLoaded application configuration.
registry
RegistryDependency injection registry containing provider mappings.