|
2 | 2 |
|
3 | 3 | from __future__ import annotations
|
4 | 4 |
|
5 |
| -from typing import TYPE_CHECKING |
| 5 | +from typing import TYPE_CHECKING, Optional |
6 | 6 |
|
7 | 7 | from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
8 | 8 | from ...._utils import maybe_transform
|
@@ -38,8 +38,8 @@ def create(
|
38 | 38 | self,
|
39 | 39 | *,
|
40 | 40 | description: str | NotGiven = NOT_GIVEN,
|
41 |
| - frequency: BenefitFrequency | NotGiven = NOT_GIVEN, |
42 |
| - type: BenefitType | NotGiven = NOT_GIVEN, |
| 41 | + frequency: Optional[BenefitFrequency] | NotGiven = NOT_GIVEN, |
| 42 | + type: Optional[BenefitType] | NotGiven = NOT_GIVEN, |
43 | 43 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
44 | 44 | # The extra values given here take precedence over values defined on the client or passed to this method.
|
45 | 45 | extra_headers: Headers | None = None,
|
@@ -211,8 +211,8 @@ async def create(
|
211 | 211 | self,
|
212 | 212 | *,
|
213 | 213 | description: str | NotGiven = NOT_GIVEN,
|
214 |
| - frequency: BenefitFrequency | NotGiven = NOT_GIVEN, |
215 |
| - type: BenefitType | NotGiven = NOT_GIVEN, |
| 214 | + frequency: Optional[BenefitFrequency] | NotGiven = NOT_GIVEN, |
| 215 | + type: Optional[BenefitType] | NotGiven = NOT_GIVEN, |
216 | 216 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
217 | 217 | # The extra values given here take precedence over values defined on the client or passed to this method.
|
218 | 218 | extra_headers: Headers | None = None,
|
|
0 commit comments