1
0
mirror of https://github.com/enpaul/keyosk.git synced 2024-11-05 22:27:06 +00:00

Fix unused import in account model

Fix linting errors in top level config serializer
This commit is contained in:
Ethan Paul 2020-02-23 12:57:33 -05:00 committed by Ethan Paul
parent f6185ba82d
commit 4f55053e24
2 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,8 @@ class ConfigSerializer(msh.Schema):
storage = msh.fields.Nested(StorageConfigSerializer)
# pylint: disable=unused-argument,no-self-use
@msh.post_load
def _make_dataclass(self, data: Mapping[str, Any], *args, **kwargs):
return KeyoskConfig(**data)

View File

@ -8,7 +8,6 @@ import passlib.hash
import peewee
from keyosk.database._shared import KeyoskBaseModel
from keyosk.database.domain import Domain
from keyosk.datatypes import Extras