MetricsText

class pydelfini.delfini_core.models.metrics_text.MetricsText(avg_length, max_length, min_length, empty_string_count=0)[source]

Bases: object

MetricsText model

Parameters:
avg_length
Type:

float

max_length
Type:

int

min_length
Type:

int

empty_string_count

Default: 0.

Type:

Union[Unset, int]

Attributes

avg_length

max_length

min_length

empty_string_count

classmethod from_dict(src_dict)[source]

Create an instance of MetricsText from a dict

Parameters:

src_dict (Dict[str, Any])

Return type:

T

to_dict()[source]

Convert to a dict

Return type:

Dict[str, Any]