Skip to content

Commit

Permalink
mssing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Dec 11, 2024
1 parent da579fa commit f43e6e5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/edutap/wallet_google/models/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
from .passes import generic
from .passes import retail
from .passes import tickets_and_transit
from .passes.bases import ClassModel


class ObjectWithClassReference(WithIdModel):
"""
Expand All @@ -24,6 +26,7 @@ class ObjectWithClassReference(WithIdModel):

classReference: ClassModel | None = None


@register_model(
"SmartTap",
url_part="smartTap",
Expand Down
1 change: 0 additions & 1 deletion src/edutap/wallet_google/models/passes/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from .bases import ClassModel # noqa: F401
from .bases import ObjectModel # noqa: F401
from .bases import ObjectWithClassReference # noqa: F401
from .generic import GenericClass # noqa: F401
from .generic import GenericObject # noqa: F401
from .retail import GiftCardClass # noqa: F401
Expand Down
1 change: 1 addition & 0 deletions src/edutap/wallet_google/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

class RegistryMetadataDict(TypedDict, total=False):
"""TypedDict for the metadata of a registered model."""

model: type[Model]
name: str
url_part: str
Expand Down

0 comments on commit f43e6e5

Please sign in to comment.