Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix sqlalchemy relation warnings #177

Closed
anthraxx opened this issue Jan 29, 2021 · 1 comment
Closed

fix sqlalchemy relation warnings #177

anthraxx opened this issue Jan 29, 2021 · 1 comment

Comments

@anthraxx
Copy link
Member

/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
Copy link
Member Author

duplicate of #168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant