recommit ? added pytest and 1 to many for repo

This commit is contained in:
Georg-Stahn
2023-11-30 00:54:44 +01:00
parent a31533ad3a
commit ebfdf29f7b
3 changed files with 57 additions and 53 deletions

View File

@@ -35,7 +35,8 @@ class Entity(Base):
producers = relationship("Producer", back_populates="entity")
consumers = relationship("Consumer", back_populates="entity")
repository = relationship("Repository", back_populates="entity")
#TODO maby refactor to repositories
# TODO maby refactor to repositories
class ProducerAbstract(Base):
__abstract__ = True