diff --git a/.generator/src/generator/templates/model_utils.j2 b/.generator/src/generator/templates/model_utils.j2 index 73b2084402..460995ceb1 100644 --- a/.generator/src/generator/templates/model_utils.j2 +++ b/.generator/src/generator/templates/model_utils.j2 @@ -113,7 +113,7 @@ class OpenApiModel(object): _nullable = False - validations: Mapping[str, Mapping[str, int]] = empty_dict + validations: Mapping[str, Mapping[str, Union[int, float]]] = empty_dict openapi_types = empty_dict diff --git a/src/datadog_api_client/model_utils.py b/src/datadog_api_client/model_utils.py index e41c8546bb..c7f6e56298 100644 --- a/src/datadog_api_client/model_utils.py +++ b/src/datadog_api_client/model_utils.py @@ -115,7 +115,7 @@ class OpenApiModel(object): _nullable = False - validations: Mapping[str, Mapping[str, int]] = empty_dict + validations: Mapping[str, Mapping[str, Union[int, float]]] = empty_dict openapi_types = empty_dict