Skip to content

Commit 5dd58e2

Browse files
feat(api): api update
1 parent 9569e86 commit 5dd58e2

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1752
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-d533d4e934a66ddbb480577a08bf932947c053f8a5060c4e5a3fae34f405fdc8.yml
3-
openapi_spec_hash: e7921ba2e6f51641f1bd5ea80ed8de04
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-07850c05f5faee9033ffe4970b3e0a2368458141d05da9b761a534f8195e6e6d.yml
3+
openapi_spec_hash: 69b3076f1524a788b18a81893fee1ee3
44
config_hash: 284c4178d08f75d8c8b29f275948a8fd

src/cloudflare/types/shared/token_policy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ class TokenPolicy(BaseModel):
3535
permission_groups: List[PermissionGroup]
3636
"""A set of permission groups that are specified to the policy."""
3737

38-
resources: Union[Dict[str, str], Dict[str, Dict[str, str]]]
38+
resources: Dict[str, Union[str, Dict[str, str]]]
3939
"""A list of resource names that the policy applies to."""

src/cloudflare/types/shared_params/token_policy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ class TokenPolicy(TypedDict, total=False):
2929
permission_groups: Required[Iterable[PermissionGroup]]
3030
"""A set of permission groups that are specified to the policy."""
3131

32-
resources: Required[Union[Dict[str, str], Dict[str, Dict[str, str]]]]
32+
resources: Required[Dict[str, Union[str, Dict[str, str]]]]
3333
"""A list of resource names that the policy applies to."""

0 commit comments

Comments
 (0)