diff --git a/geolib/models/base_data_class.py b/geolib/models/base_data_class.py index 0afad00b..2482f7f4 100644 --- a/geolib/models/base_data_class.py +++ b/geolib/models/base_data_class.py @@ -12,5 +12,6 @@ class BaseDataClass(BaseModel): validate_assignment=True, arbitrary_types_allowed=True, validate_default=True, + ser_json_inf_nan='constants', extra=settings.extra_fields, )