Retrieval utilities for decorators for automatic logging and instrumentation of functions and methods.
Name | Description |
---|---|
Optional[[Retrieval](/sdk/python/references/logger/components/retrieval)] | The current retrieval instance if one exists, |
Name | Type | Description |
---|---|---|
logger | Optional[Logger] | Maxim logger instance. If None, uses the current |
id
Optional[str] or Optional[Callable], optional - The ID for the retrieval. If callable, it will be called to generate the ID. Defaults to None.input
Optional[str] or Optional[Callable], optional - The input for the retrieval. If callable, it will be called to generate the input. Defaults to None.