style: Refactoring imports, adapting MongoConnector to different connection_strings

This commit is contained in:
TrisNol
2023-06-30 20:36:03 +02:00
parent 3cd8860312
commit e44385ce3a
6 changed files with 145 additions and 8 deletions

View File

@@ -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)