Autoformat
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
from . import db, models
|
||||
|
||||
__all__ = [
|
||||
'db',
|
||||
'models'
|
||||
]
|
||||
__all__ = ["db", "models"]
|
||||
|
||||
@@ -3,12 +3,8 @@ import sqlitedict
|
||||
|
||||
class ConfigDatabase(sqlitedict.SqliteDict):
|
||||
def __init__(self, tablename):
|
||||
super().__init__(
|
||||
filename='data.storage',
|
||||
tablename=tablename,
|
||||
autocommit=True
|
||||
)
|
||||
super().__init__(filename="data.storage", tablename=tablename, autocommit=True)
|
||||
|
||||
|
||||
config = ConfigDatabase('config')
|
||||
services = ConfigDatabase('services')
|
||||
config = ConfigDatabase("config")
|
||||
services = ConfigDatabase("services")
|
||||
|
||||
@@ -13,5 +13,5 @@ class ServiceModel:
|
||||
client_auth_pub_key: str
|
||||
|
||||
service_id: str = None
|
||||
key_content: str = 'ED25519-V3'
|
||||
key_type: str = 'NEW'
|
||||
key_content: str = "ED25519-V3"
|
||||
key_type: str = "NEW"
|
||||
|
||||
Reference in New Issue
Block a user