Georg-Stahn-georgs (#25)
All checks were successful
checks-impure / test (push) Successful in 29s
checks / test (push) Successful in 1m18s
assets1 / test (push) Successful in 22s

Co-authored-by: sara-pervana <saramakishti@gmail.com>
Co-authored-by: ui-asset-bot <ui-asset-bot@gchq.icu>
Co-authored-by: Onur Arslan <runoxa@hotmail.com>
Co-authored-by: Arslan, Erdem <erdem.arslan@valtech.com>
Co-authored-by: Luis-Hebendanz <consulting@qube.email>
Reviewed-on: #25
Co-authored-by: Georg-Stahn <g.stahn@campus.tu-berlin.de>
Co-committed-by: Georg-Stahn <g.stahn@campus.tu-berlin.de>
This commit was merged in pull request #25.
This commit is contained in:
Georg-Stahn
2023-12-02 12:57:44 +01:00
committed by Luis
parent 6734fa859e
commit 51913f015b
7 changed files with 199 additions and 5 deletions

View File

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