From 4ffced70f82af0ab98a079ded4f2e472e02184fc Mon Sep 17 00:00:00 2001 From: sayali Date: Fri, 30 Oct 2020 14:37:09 -0700 Subject: [PATCH] backref cannot be set for viewonly relationship will be deprecated in SQLAlchemy 1.4, and will be disallowed in a future release --- lemur/certificates/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lemur/certificates/models.py b/lemur/certificates/models.py index f6562b3f..65918d73 100644 --- a/lemur/certificates/models.py +++ b/lemur/certificates/models.py @@ -184,7 +184,6 @@ class Certificate(db.Model): "PendingCertificate", secondary=pending_cert_replacement_associations, backref="pending_replace", - viewonly=True, ) logs = relationship("Log", backref="certificate")