You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⚠️ Unify resource and service method parameters into one class (#1596)
* Unify resource and service method parameters into one class
* rename param to params
* gen
---------
Co-authored-by: David Brownman <109395161+xavdid-stripe@users.noreply.github.com>
Co-authored-by: David Brownman <xavdid@stripe.com>
Specifies which fields in the response should be expanded.
17
-
"""
18
-
19
-
classRetrieveParams(TypedDict):
20
-
expand: NotRequired[List[str]]
21
-
"""
22
-
Specifies which fields in the response should be expanded.
23
-
"""
24
-
25
-
classUpdateParams(TypedDict):
26
-
expand: NotRequired[List[str]]
27
-
"""
28
-
Specifies which fields in the response should be expanded.
29
-
"""
30
-
requested: NotRequired[bool]
31
-
"""
32
-
To request a new capability for an account, pass true. There can be a delay before the requested capability becomes active. If the capability has any activation requirements, the response includes them in the `requirements` arrays.
33
-
34
-
If a capability isn't permanent, you can remove it from the account by passing false. Some capabilities are permanent after they've been requested. Attempting to remove a permanent capability returns an error.
0 commit comments