"""
TextIQ Custom Operators.

This module contains custom Airflow operators for document processing tasks.

Note: Only operators that don't import from src.* are exported here.
Heavy processing operators have been refactored to use @task.external_python
in the tasks/ module to run in the uv virtual environment.

Import Strategy:
- In Airflow Docker: plugins folder is in PYTHONPATH, use absolute imports
- In local tests: use relative imports from package structure
"""

try:
    # Airflow Docker environment - plugins folder in PYTHONPATH
    from operators.validate_event import ValidateEventOperator
    from operators.fetch_document import FetchDocumentOperator
except ImportError:
    # Local test environment - use relative imports
    from .validate_event import ValidateEventOperator
    from .fetch_document import FetchDocumentOperator

__all__ = [
    'ValidateEventOperator',
    'FetchDocumentOperator',
]
