diff options
| author | Max Nanis | 2026-08-31 19:20:32 -0700 |
|---|---|---|
| committer | Max Nanis | 2026-08-31 19:20:32 -0700 |
| commit | d19438ec4ccbbe4415c286c9ae89e3e5706ac553 (patch) | |
| tree | 5875bf23695c3652d056d7eeba52e51d583a8a20 /generalresearch/models/thl/wallet/payout.py | |
| parent | 340f0b93a0ad79124635015d1b2270884521bdc3 (diff) | |
| download | generalresearch-d19438ec4ccbbe4415c286c9ae89e3e5706ac553.tar.gz generalresearch-d19438ec4ccbbe4415c286c9ae89e3e5706ac553.zip | |
TYPE_CHECKING on models + managers
Diffstat (limited to 'generalresearch/models/thl/wallet/payout.py')
| -rw-r--r-- | generalresearch/models/thl/wallet/payout.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/generalresearch/models/thl/wallet/payout.py b/generalresearch/models/thl/wallet/payout.py index d43807d..7301b31 100644 --- a/generalresearch/models/thl/wallet/payout.py +++ b/generalresearch/models/thl/wallet/payout.py @@ -3,7 +3,7 @@ from __future__ import annotations import json from collections.abc import Collection from datetime import UTC, datetime -from typing import Any +from typing import TYPE_CHECKING, Any from uuid import uuid4 from pydantic import ( @@ -15,12 +15,14 @@ from pydantic import ( ) from generalresearch.currency import USDCent -from generalresearch.models.custom_types import AwareDatetimeISO, UUIDStr from generalresearch.models.thl.definitions import PayoutStatus from generalresearch.models.thl.wallet import PayoutType -from generalresearch.models.thl.wallet.cashout_method import ( - CashMailOrderData, -) + +if TYPE_CHECKING: + from generalresearch.models.custom_types import AwareDatetimeISO, UUIDStr + from generalresearch.models.thl.wallet.cashout_method import ( + CashMailOrderData, + ) class PayoutEvent(BaseModel, validate_assignment=True): |
