|
2 | 2 |
|
3 | 3 | from __future__ import annotations |
4 | 4 |
|
5 | | -from typing import List |
6 | 5 | from typing_extensions import Literal |
7 | 6 |
|
8 | 7 | import httpx |
|
16 | 15 | AccountsWithStreamingResponse, |
17 | 16 | AsyncAccountsWithStreamingResponse, |
18 | 17 | ) |
19 | | -from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven |
| 18 | +from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr |
20 | 19 | from ...._utils import maybe_transform, async_maybe_transform |
21 | 20 | from ...._compat import cached_property |
22 | 21 | from ...._resource import SyncAPIResource, AsyncAPIResource |
@@ -58,7 +57,7 @@ def create( |
58 | 57 | provider_id: str, |
59 | 58 | authentication_type: Literal["credential", "api_token", "oauth", "assisted"] | NotGiven = NOT_GIVEN, |
60 | 59 | employee_size: int | NotGiven = NOT_GIVEN, |
61 | | - products: List[str] | NotGiven = NOT_GIVEN, |
| 60 | + products: SequenceNotStr[str] | NotGiven = NOT_GIVEN, |
62 | 61 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
63 | 62 | # The extra values given here take precedence over values defined on the client or passed to this method. |
64 | 63 | extra_headers: Headers | None = None, |
@@ -132,7 +131,7 @@ async def create( |
132 | 131 | provider_id: str, |
133 | 132 | authentication_type: Literal["credential", "api_token", "oauth", "assisted"] | NotGiven = NOT_GIVEN, |
134 | 133 | employee_size: int | NotGiven = NOT_GIVEN, |
135 | | - products: List[str] | NotGiven = NOT_GIVEN, |
| 134 | + products: SequenceNotStr[str] | NotGiven = NOT_GIVEN, |
136 | 135 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
137 | 136 | # The extra values given here take precedence over values defined on the client or passed to this method. |
138 | 137 | extra_headers: Headers | None = None, |
|
0 commit comments