File tree Expand file tree Collapse file tree
src/cloudflare/types/radar/quality Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11configured_endpoints : 2224
22openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a6c352830d1270d0abb5bb983058ea21815e1bb7d2e163965335dcb0e706f057.yml
3- openapi_spec_hash : 5f7d8a96b953cef8677dacffc249761d
3+ openapi_spec_hash : 9a73d6e19fbf993950d4705e65c8e5f6
44config_hash : f6fa3a155508fae2904b264233641e02
Original file line number Diff line number Diff line change 11# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22
3- from typing import List
3+ from typing import TYPE_CHECKING , Dict , List
44from datetime import datetime
55from typing_extensions import Literal
66
@@ -129,13 +129,19 @@ class Meta(BaseModel):
129129
130130
131131class Serie0 (BaseModel ):
132- p25 : List [str ]
133-
134- p50 : List [str ]
135-
136- p75 : List [str ]
137-
138- timestamps : List [str ]
132+ timestamps : List [datetime ]
133+
134+ if TYPE_CHECKING :
135+ # Some versions of Pydantic <2.8.0 have a bug and don’t allow assigning a
136+ # value to this field, so for compatibility we avoid doing it at runtime.
137+ __pydantic_extra__ : Dict [str , List [str ]] = FieldInfo (init = False ) # pyright: ignore[reportIncompatibleVariableOverride]
138+
139+ # Stub to indicate that arbitrary properties are accepted.
140+ # To access properties that are not valid identifiers you can use `getattr`, e.g.
141+ # `getattr(obj, '$type')`
142+ def __getattr__ (self , attr : str ) -> List [str ]: ...
143+ else :
144+ __pydantic_extra__ : Dict [str , List [str ]]
139145
140146
141147class IQITimeseriesGroupsResponse (BaseModel ):
You can’t perform that action at this time.
0 commit comments