aitune.utils.monitoring.context.backend_context

View as Markdown

Decorator for tracking the current backend in GlobalContext.

Module Contents

Functions

NameDescription
with_backend_contextClass decorator that wraps all public methods with backend context.

API

aitune.utils.monitoring.context.backend_context.with_backend_context(
cls
)

Class decorator that wraps all public methods with backend context.