archlinux / arch-security-tracker

Arch Linux Security Tracker
https://security.archlinux.org
MIT License
123 stars 40 forks source link

fix sqlalchemy relation warnings #177

Closed anthraxx closed 3 years ago

anthraxx commented 3 years ago
/usr/lib/python3.9/site-packages/sqlalchemy/orm/relationships.py:1993: SAWarning: Setting backref / back_populates on relationship CVE.versions to refer to viewonly relationship CVEVersion.version_parent should include sync_backref=False set on the CVE.versions relationship.  (this warning may be suppressed after 10 occurrences)
  util.warn_limited(
/usr/lib/python3.9/site-packages/sqlalchemy/orm/relationships.py:1993: SAWarning: Setting backref / back_populates on relationship CVEVersion.version_parent to refer to viewonly relationship CVE.versions should include sync_backref=False set on the CVEVersion.version_parent relationship.  (this warning may be suppressed after 10 occurrences)
  util.warn_limited(
/usr/lib/python3.9/site-packages/sqlalchemy/orm/relationships.py:1993: SAWarning: Setting backref / back_populates on relationship Advisory.versions to refer to viewonly relationship AdvisoryVersion.version_parent should include sync_backref=False set on the Advisory.versions relationship.  (this warning may be suppressed after 10 occurrences)
  util.warn_limited(
/usr/lib/python3.9/site-packages/sqlalchemy/orm/relationships.py:1993: SAWarning: Setting backref / back_populates on relationship AdvisoryVersion.version_parent to refer to viewonly relationship Advisory.versions should include sync_backref=False set on the AdvisoryVersion.version_parent relationship.  (this warning may be suppressed after 10 occurrences)
  util.warn_limited(
/usr/lib/python3.9/site-packages/sqlalchemy/orm/relationships.py:1993: SAWarning: Setting backref / back_populates on relationship CVEGroupVersion.version_parent to refer to viewonly relationship CVEGroup.versions should include sync_backref=False set on the CVEGroupVersion.version_parent relationship.  (this warning may be suppressed after 10 occurrences)
  util.warn_limited(
/usr/lib/python3.9/site-packages/sqlalchemy/orm/relationships.py:1993: SAWarning: Setting backref / back_populates on relationship CVEGroupEntryVersion.version_parent to refer to viewonly relationship CVEGroupEntry.versions should include sync_backref=False set on the CVEGroupEntryVersion.version_parent relationship.  (this warning may be suppressed after 10 occurrences)
  util.warn_limited(
/usr/lib/python3.9/site-packages/sqlalchemy/orm/relationships.py:1993: SAWarning: Setting backref / back_populates on relationship CVEGroupPackageVersion.version_parent to refer to viewonly relationship CVEGroupPackage.versions should include sync_backref=False set on the CVEGroupPackageVersion.version_parent relationship.  (this warning may be suppressed after 10 occurrences)
  util.warn_limited(
anthraxx commented 3 years ago

duplicate of #168