mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2026-02-13 22:17:38 +01:00
style: Refactoring imports, adapting MongoConnector to different connection_strings
This commit is contained in:
1 parent
3cd8860312
commit
e44385ce3a
6 files changed
+145
-8
No files matched your search
@@ -1,5 +1,5 @@
|
||||
from abc import ABC
|
||||
from dataclasses import dataclass
|
||||
from dataclasses import asdict, dataclass
|
||||
from enum import Enum
|
||||
|
||||
|
||||
@@ -35,3 +35,6 @@ class Company:
|
||||
name: str
|
||||
last_update: str
|
||||
relationships: list[CompanyRelationship]
|
||||
|
||||
def dict(self):
|
||||
return asdict(self)
|
||||
Reference in new issue
Block a user