compat
template_python.compat ¶
Compatibility abstractions for optional dependencies.
This module centralizes fallback logic for safely importing optional dependencies like opentelemetry. It provides standardized access points for these modules, avoiding scattered try-except blocks across the codebase. Maintainers should import optional dependencies from this module rather than attempting direct imports elsewhere.