Reorganize TYPE_CHECKING imports in import_chzzk_campaign.py
This commit is contained in:
parent
e74472040e
commit
065e14f66a
1 changed files with 6 additions and 7 deletions
|
|
@ -1,13 +1,6 @@
|
|||
from typing import TYPE_CHECKING
|
||||
from typing import Any
|
||||
|
||||
if TYPE_CHECKING:
|
||||
import argparse
|
||||
|
||||
from chzzk.schemas import ChzzkCampaignV2
|
||||
from chzzk.schemas import ChzzkRewardV2
|
||||
|
||||
|
||||
import requests
|
||||
from django.core.management.base import BaseCommand
|
||||
from django.core.management.base import CommandError
|
||||
|
|
@ -17,6 +10,12 @@ from chzzk.models import ChzzkCampaign
|
|||
from chzzk.models import ChzzkReward
|
||||
from chzzk.schemas import ChzzkApiResponseV2
|
||||
|
||||
if TYPE_CHECKING:
|
||||
import argparse
|
||||
|
||||
from chzzk.schemas import ChzzkCampaignV2
|
||||
from chzzk.schemas import ChzzkRewardV2
|
||||
|
||||
MAX_CAMPAIGN_OUTLIER_THRESHOLD: int = 100_000_000
|
||||
MAX_CAMPAIGN_OUTLIER_GAP: int = 1_000
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue