class Metrics

source code

properties


__fields_set__

source code

def __fields_set__(self) -> set[str]:

model_extra

source code

def model_extra(self) -> dict[str, Any] | None:

Get extra fields set during validation.

Returns:

A dictionary of extra fields, or None if config.extra is not set to "allow".


model_fields_set

source code

def model_fields_set(self) -> set[str]:

Returns the set of fields that have been explicitly set on this model instance.

Returns:

A set of strings representing the fields that have been set, i.e. that were not filled from defaults.