Skip to content

Commit

Permalink
fixes #22 - use AnyHttpUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Jan 30, 2025
1 parent 8034d20 commit 4b25bf4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/edutap/wallet_google/models/datatypes/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
from .enums import NfcConstraint
from .enums import ScreenshotEligibility
from .localized_string import LocalizedString
from pydantic import AnyHttpUrl
from pydantic import AnyUrl
from pydantic import Field
from pydantic import HttpUrl
from typing import Annotated
from typing_extensions import deprecated

Expand Down Expand Up @@ -112,9 +112,9 @@ class CallbackOptions(Model):
see: https://developers.google.com/wallet/generic/rest/v1/CallbackOptions
"""

url: HttpUrl | None = None
url: AnyHttpUrl | None = None
updateRequestUrl: Annotated[
HttpUrl | None,
AnyHttpUrl | None,
Field(
deprecated=deprecated(
'The Parameter "updateRequestUrl" is deprecated on "CallbackOption", use "url" instead.'
Expand Down

0 comments on commit 4b25bf4

Please sign in to comment.