nv_ingest.util.modules package#

Submodules#

nv_ingest.util.modules.config_validator module#

nv_ingest.util.modules.config_validator.fetch_and_validate_module_config(
builder: Builder,
schema_class,
)[source]#

Validates the configuration of a module using a specified Pydantic schema class.

Parameters:
  • builder (object) – The builder object used to access the current module’s configuration.

  • schema_class (Pydantic BaseModel) – The schema class to be used for validating the module configuration.

Raises:

ValueError – If the module configuration fails validation according to the schema class.

Module contents#