lens.fallbacks
Canonical no-op fallbacks for when nemo-lens telemetry is not active.
These match the nemo.lens public API signatures so that instrumented code works unchanged regardless of whether telemetry is initialised.
Consumer libraries should use these as their ImportError fallback::
try: from nemo.lens.helpers import managed_span from nemo.lens.state import is_span_group_enabled except ImportError: from nemo.lens.fallbacks import managed_span, is_span_group_enabled
Module Contents
Functions
API
Always returns False.
No-op context manager — yields None.
No-op.
No-op context manager — yields None.
No-op decorator — returns the function unchanged.