mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-23 08:25:57 +00:00
style(storage): format storage package
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user