mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-26 02:11:03 +00:00
🎨 Format the code
This commit is contained in:
parent
c6be4e467a
commit
5f9d2184c4
@ -4,19 +4,13 @@ from abc import ABC, abstractmethod
|
|||||||
from collections import Counter
|
from collections import Counter
|
||||||
from multiprocessing import RLock
|
from multiprocessing import RLock
|
||||||
from ssl import SSLZeroReturnError
|
from ssl import SSLZeroReturnError
|
||||||
from typing import TypeVar, ParamSpec, final, Iterable
|
from typing import Iterable, ParamSpec, TypeVar, final
|
||||||
|
|
||||||
from httpx import AsyncClient, HTTPError
|
from httpx import AsyncClient, HTTPError
|
||||||
|
|
||||||
from core.dependence.assets import AssetsService
|
from core.dependence.assets import AssetsService
|
||||||
from plugins.genshin.farming._const import AREAS, INTERVAL, RETRY_TIMES, WEEK_MAP
|
from plugins.genshin.farming._const import AREAS, INTERVAL, RETRY_TIMES, WEEK_MAP
|
||||||
from plugins.genshin.farming._model import (
|
from plugins.genshin.farming._model import (AreaData, AvatarData, FarmingData, MaterialData, WeaponData)
|
||||||
FarmingData,
|
|
||||||
MaterialData,
|
|
||||||
AreaData,
|
|
||||||
AvatarData,
|
|
||||||
WeaponData,
|
|
||||||
)
|
|
||||||
from utils.log import logger
|
from utils.log import logger
|
||||||
|
|
||||||
__all__ = ("Spider",)
|
__all__ = ("Spider",)
|
||||||
|
@ -2,7 +2,6 @@ import asyncio
|
|||||||
from asyncio import Lock
|
from asyncio import Lock
|
||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from functools import partial
|
|
||||||
from typing import ParamSpec, TYPE_CHECKING, TypeVar
|
from typing import ParamSpec, TYPE_CHECKING, TypeVar
|
||||||
|
|
||||||
import aiofiles
|
import aiofiles
|
||||||
@ -16,7 +15,7 @@ from core.dependence.assets import AssetsService
|
|||||||
from gram_core.plugin import Plugin, handler
|
from gram_core.plugin import Plugin, handler
|
||||||
from gram_core.services.template.models import FileType, RenderGroupResult
|
from gram_core.services.template.models import FileType, RenderGroupResult
|
||||||
from gram_core.services.template.services import TemplateService
|
from gram_core.services.template.services import TemplateService
|
||||||
from plugins.genshin.farming._const import AREAS, INTERVAL
|
from plugins.genshin.farming._const import AREAS
|
||||||
from plugins.genshin.farming._model import AreaData, AvatarData, FullFarmingData, RenderData, UserOwned, WeaponData
|
from plugins.genshin.farming._model import AreaData, AvatarData, FullFarmingData, RenderData, UserOwned, WeaponData
|
||||||
from plugins.genshin.farming._spider import Spider
|
from plugins.genshin.farming._spider import Spider
|
||||||
from plugins.tools.genshin import CharacterDetails, CookiesNotFoundError, GenshinHelper, PlayerNotFoundError
|
from plugins.tools.genshin import CharacterDetails, CookiesNotFoundError, GenshinHelper, PlayerNotFoundError
|
||||||
|
Loading…
Reference in New Issue
Block a user