Skip to content

Commit b38a77b

Browse files
RobertCraigiestainless-app[bot]
authored andcommitted
chore: update more places to use Omit
1 parent 5f71513 commit b38a77b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/lithic/resources/cards/cards.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
card_web_provision_params,
2929
card_convert_physical_params,
3030
)
31-
from ..._types import Body, Omit, Query, Headers, NotGiven, Base64FileInput, omit, not_given
31+
from ..._types import NOT_GIVEN, Body, Omit, Query, Headers, NotGiven, Base64FileInput, omit, not_given
3232
from ..._utils import maybe_transform, strip_not_given, async_maybe_transform
3333
from .balances import (
3434
Balances,
@@ -747,9 +747,9 @@ def get_embed_html(
747747
self,
748748
*,
749749
token: str,
750-
css: str | NotGiven = NOT_GIVEN,
751-
expiration: Union[str, datetime] | NotGiven = NOT_GIVEN,
752-
target_origin: str | NotGiven = NOT_GIVEN,
750+
css: str | Omit = omit,
751+
expiration: Union[str, datetime] | Omit = omit,
752+
target_origin: str | Omit = omit,
753753
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
754754
# The extra values given here take precedence over values defined on the client or passed to this method.
755755
extra_headers: Headers | None = None,
@@ -790,9 +790,9 @@ def get_embed_url(
790790
self,
791791
*,
792792
token: str,
793-
css: str | NotGiven = NOT_GIVEN,
794-
expiration: Union[str, datetime] | NotGiven = NOT_GIVEN,
795-
target_origin: str | NotGiven = NOT_GIVEN,
793+
css: str | Omit = omit,
794+
expiration: Union[str, datetime] | Omit = omit,
795+
target_origin: str | Omit = omit,
796796
) -> URL:
797797
"""
798798
Handling full card PANs and CVV codes requires that you comply with the Payment
@@ -1890,9 +1890,9 @@ async def get_embed_html(
18901890
self,
18911891
*,
18921892
token: str,
1893-
css: str | NotGiven = NOT_GIVEN,
1894-
expiration: Union[str, datetime] | NotGiven = NOT_GIVEN,
1895-
target_origin: str | NotGiven = NOT_GIVEN,
1893+
css: str | Omit = omit,
1894+
expiration: Union[str, datetime] | Omit = omit,
1895+
target_origin: str | Omit = omit,
18961896
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
18971897
# The extra values given here take precedence over values defined on the client or passed to this method.
18981898
extra_headers: Headers | None = None,
@@ -1933,9 +1933,9 @@ def get_embed_url(
19331933
self,
19341934
*,
19351935
token: str,
1936-
css: str | NotGiven = NOT_GIVEN,
1937-
expiration: Union[str, datetime] | NotGiven = NOT_GIVEN,
1938-
target_origin: str | NotGiven = NOT_GIVEN,
1936+
css: str | Omit = omit,
1937+
expiration: Union[str, datetime] | Omit = omit,
1938+
target_origin: str | Omit = omit,
19391939
) -> URL:
19401940
"""
19411941
Handling full card PANs and CVV codes requires that you comply with the Payment

0 commit comments

Comments
 (0)