nv_ingest.api package#

Subpackages#

Submodules#

nv_ingest.api.main module#

nv_ingest.api.tracing module#

HTTP endpoint tracing utilities.

nv_ingest.api.tracing.traced_endpoint(
name: str | None = None,
) Callable[[F], F][source]#

Wrap a FastAPI endpoint with a span whose name defaults to the function name.

The decorator preserves the wrapped callable’s signature so FastAPI can continue to perform dependency injection and generate OpenAPI documentation correctly.

Module contents#

nv_ingest.api package.

nv_ingest.api.traced_endpoint(
name: str | None = None,
) Callable[[F], F][source]#

Wrap a FastAPI endpoint with a span whose name defaults to the function name.

The decorator preserves the wrapped callable’s signature so FastAPI can continue to perform dependency injection and generate OpenAPI documentation correctly.