dataflow.providers.base¶
Base provider class for the Haive Registry System.
This module defines the base provider class that all specific entity providers inherit from.
Classes¶
Base class for entity providers. |
Module Contents¶
- class dataflow.providers.base.EntityProvider(entity_type)¶
Bases:
abc.ABC
Base class for entity providers.
Entity providers are responsible for discovering, registering, and managing specific types of entities in the registry system.
Initialize the entity provider.
- Parameters:
entity_type (haive.dataflow.models.EntityType) – Type of entity this provider handles
- add_configuration(registry_id, config_type, config_data)¶
Add a configuration to a registry entity.
- Parameters:
registry_id (str) – Registry entity ID
config_type (haive.dataflow.models.ConfigType) – Type of configuration
config_data (Any) – Configuration data
- Return type:
None
- add_dependency(registry_id, dependent_id, dependency_type)¶
Add a dependency between registry entities.
- add_environment_vars(registry_id, env_vars)¶
Add environment variables to a registry entity.
- add_import_log(import_session, entity_name, status, message=None, traceback_str=None)¶
Add an import log entry.
- abstractmethod discover(module_paths=None)¶
Discover and register entities.
- discover_modules(base_path)¶
Discover all modules under a base path.
- abstractmethod get_default_search_paths()¶
Get default search paths for entity discovery.