mirror of
https://github.com/enpaul/keyosk.git
synced 2024-12-26 01:33:33 +00:00
Fix unused import in account model
Fix linting errors in top level config serializer
This commit is contained in:
parent
f6185ba82d
commit
4f55053e24
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user