Skip to content

Commit

Permalink
fix: move abc import to TYPE_CHECKING
Browse files Browse the repository at this point in the history
  • Loading branch information
plun1331 committed Aug 28, 2024
1 parent 7d35a67 commit efdb972
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions discord/monetization.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,20 @@

from typing import TYPE_CHECKING

from .abc import Snowflake, SnowflakeTime
from .enums import EntitlementType, SKUType, SubscriptionStatus, try_enum
from .flags import SKUFlags
from .iterators import SubscriptionIterator
from .mixins import Hashable
from .utils import (
MISSING,
_get_as_snowflake,
cached_property,
cached_slot_property,
parse_time,
)

if TYPE_CHECKING:
from datetime import datetime

from .abc import Snowflake, SnowflakeTime
from .state import ConnectionState
from .types.monetization import SKU as SKUPayload
from .types.monetization import Entitlement as EntitlementPayload
Expand Down

0 comments on commit efdb972

Please sign in to comment.