backref cannot be set for viewonly relationship

will be deprecated in SQLAlchemy 1.4, and will be disallowed in a future release
This commit is contained in:
sayali 2020-10-30 14:37:09 -07:00
parent 634339eac6
commit 4ffced70f8
1 changed files with 0 additions and 1 deletions

View File

@ -184,7 +184,6 @@ class Certificate(db.Model):
"PendingCertificate",
secondary=pending_cert_replacement_associations,
backref="pending_replace",
viewonly=True,
)
logs = relationship("Log", backref="certificate")