mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-11-19 07:01:54 +01:00
style: Refactoring imports, adapting MongoConnector to different connection_strings
This commit is contained in:
@@ -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