From 3794f5c604ec0d3e25e3304edcd931bba6a047cd Mon Sep 17 00:00:00 2001 From: seria Date: Thu, 2 Jan 2025 09:16:16 +0800 Subject: [PATCH] style: Format code --- genshin/models/honkai/chronicle/notes.py | 1 + genshin/models/hoyolab/web_event.py | 3 ++- genshin/utility/extdb.py | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/genshin/models/honkai/chronicle/notes.py b/genshin/models/honkai/chronicle/notes.py index cde65b96..0881bfd3 100644 --- a/genshin/models/honkai/chronicle/notes.py +++ b/genshin/models/honkai/chronicle/notes.py @@ -1,4 +1,5 @@ import typing + import pydantic from genshin.models.model import TZDateTime diff --git a/genshin/models/hoyolab/web_event.py b/genshin/models/hoyolab/web_event.py index 819683a7..dc1009ab 100644 --- a/genshin/models/hoyolab/web_event.py +++ b/genshin/models/hoyolab/web_event.py @@ -1,5 +1,6 @@ import datetime -from genshin.models.model import APIModel, Aliased + +from genshin.models.model import Aliased, APIModel __all__ = ("WebEvent",) diff --git a/genshin/utility/extdb.py b/genshin/utility/extdb.py index aade3205..badeed92 100644 --- a/genshin/utility/extdb.py +++ b/genshin/utility/extdb.py @@ -3,10 +3,10 @@ import asyncio import json import logging -import time -import typing import random import string +import time +import typing import warnings from base64 import b64decode as parse_token