style(storage): format storage package

This commit is contained in:
rayhpeng
2026-05-13 12:52:34 +08:00
parent 11a9041b65
commit 34ec205e1d
16 changed files with 47 additions and 94 deletions
@@ -1,5 +1,5 @@
from .enums import DataBaseType
__all__ = [
'DataBaseType',
"DataBaseType",
]
@@ -3,7 +3,7 @@ from enum import IntEnum as SourceIntEnum
from enum import StrEnum as SourceStrEnum
from typing import Any, TypeVar
T = TypeVar('T', bound=Enum)
T = TypeVar("T", bound=Enum)
class _EnumBase:
@@ -36,6 +36,6 @@ class StrEnum(_EnumBase, SourceStrEnum):
class DataBaseType(StrEnum):
"""Database type."""
sqlite = 'sqlite'
mysql = 'mysql'
postgresql = 'postgresql'
sqlite = "sqlite"
mysql = "mysql"
postgresql = "postgresql"