Skip to main content

ParamDetails

This class serves as a container for parameter metadata, including its type annotation, dependency injection configuration, and model field information. It is used to encapsulate the structural and functional details of a parameter within a data model or dependency system.

Attributes

AttributeTypeDescription
type_annotationAnyThe type hint or annotation associated with the parameter, used for validation and serialization logic.
depends`params.DependsNone`
field`ModelFieldNone`

Constructor

Signature

def ParamDetails(
type_annotation: Any,
depends: params.Depends | None,
field: ModelField | None
) - > null

Parameters

NameTypeDescription
type_annotationAnyThe type hint or annotation associated with the parameter.
depends`params.DependsNone`
field`ModelFieldNone`

Signature

def ParamDetails(
type_annotation: Any,
depends: params.Depends | None,
field: ModelField | None
) - > null

Parameters

NameTypeDescription
type_annotationAnyThe type hint or annotation associated with the parameter used for validation and serialization.
depends`params.DependsNone`
field`ModelFieldNone`