File tree Expand file tree Collapse file tree 4 files changed +47
-3
lines changed
Expand file tree Collapse file tree 4 files changed +47
-3
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 230
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-f184b6347de456d3db4fc3d5c691beb9dec85f74849cc4439a9dd4635998b1ec .yml
3- openapi_spec_hash : 255de9f0f702449bddf655b19a09a0cd
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-86f5f21622005ed0d2488066a1194b09fb6add92314eb797edc1ced57d7e0435 .yml
3+ openapi_spec_hash : e2e09186517e41d2332a8b59cff9b6e7
44config_hash : ff2eb5f192b4de36611b37b27961c2d8
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 TYPE_CHECKING , Dict
34from datetime import datetime
45from typing_extensions import Literal
56
7+ from pydantic import Field as FieldInfo
8+
69from .._models import BaseModel
710
811__all__ = ["AccountStatement" ]
@@ -52,3 +55,15 @@ class AccountStatement(BaseModel):
5255
5356 For this resource it will always be `account_statement`.
5457 """
58+
59+ if TYPE_CHECKING :
60+ # Some versions of Pydantic <2.8.0 have a bug and don’t allow assigning a
61+ # value to this field, so for compatibility we avoid doing it at runtime.
62+ __pydantic_extra__ : Dict [str , object ] = FieldInfo (init = False ) # pyright: ignore[reportIncompatibleVariableOverride]
63+
64+ # Stub to indicate that arbitrary properties are accepted.
65+ # To access properties that are not valid identifiers you can use `getattr`, e.g.
66+ # `getattr(obj, '$type')`
67+ def __getattr__ (self , attr : str ) -> object : ...
68+ else :
69+ __pydantic_extra__ : Dict [str , object ]
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 TYPE_CHECKING , Dict
34from typing_extensions import Literal
45
6+ from pydantic import Field as FieldInfo
7+
58from .._models import BaseModel
69
710__all__ = ["BalanceLookup" ]
@@ -32,3 +35,15 @@ class BalanceLookup(BaseModel):
3235
3336 For this resource it will always be `balance_lookup`.
3437 """
38+
39+ if TYPE_CHECKING :
40+ # Some versions of Pydantic <2.8.0 have a bug and don’t allow assigning a
41+ # value to this field, so for compatibility we avoid doing it at runtime.
42+ __pydantic_extra__ : Dict [str , object ] = FieldInfo (init = False ) # pyright: ignore[reportIncompatibleVariableOverride]
43+
44+ # Stub to indicate that arbitrary properties are accepted.
45+ # To access properties that are not valid identifiers you can use `getattr`, e.g.
46+ # `getattr(obj, '$type')`
47+ def __getattr__ (self , attr : str ) -> object : ...
48+ else :
49+ __pydantic_extra__ : Dict [str , object ]
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 Optional
3+ from typing import TYPE_CHECKING , Dict , Optional
44from datetime import datetime
55from typing_extensions import Literal
66
7+ from pydantic import Field as FieldInfo
8+
79from .._models import BaseModel
810
911__all__ = ["Program" ]
@@ -59,3 +61,15 @@ class Program(BaseModel):
5961 The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Program
6062 was last updated.
6163 """
64+
65+ if TYPE_CHECKING :
66+ # Some versions of Pydantic <2.8.0 have a bug and don’t allow assigning a
67+ # value to this field, so for compatibility we avoid doing it at runtime.
68+ __pydantic_extra__ : Dict [str , object ] = FieldInfo (init = False ) # pyright: ignore[reportIncompatibleVariableOverride]
69+
70+ # Stub to indicate that arbitrary properties are accepted.
71+ # To access properties that are not valid identifiers you can use `getattr`, e.g.
72+ # `getattr(obj, '$type')`
73+ def __getattr__ (self , attr : str ) -> object : ...
74+ else :
75+ __pydantic_extra__ : Dict [str , object ]
You can’t perform that action at this time.
0 commit comments