nv_ingest_api.util.imports package#
Submodules#
nv_ingest_api.util.imports.callable_signatures module#
- nv_ingest_api.util.imports.callable_signatures.ingest_callable_signature(sig: Signature)[source]#
- Validates that a callable has the signature:
(IngestControlMessage) -> IngestControlMessage
Also allows for generic (*args, **kwargs) signatures for flexibility with class constructors.
- Raises:
TypeError – If the signature does not match the expected pattern.
- nv_ingest_api.util.imports.callable_signatures.ingest_stage_callable_signature(sig: Signature)[source]#
- Validates that a callable has the signature:
(IngestControlMessage, BaseModel) -> IngestControlMessage
Also allows for generic (*args, **kwargs) signatures for flexibility with class constructors.
- Raises:
TypeError – If the signature does not match the expected pattern.