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

feat: machine readable record feedback Datastore model #2582

Conversation

andrewpollock
Copy link
Contributor

Datastore model for holding state on individual OSV record data quality findings

Part of #2189

Datastore model for holding state on individual OSV record data quality
findings

Part of google#2189
Copy link
Contributor

@another-rex another-rex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, two small comments!

osv/models.py Outdated Show resolved Hide resolved

tests.mock_datetime(self)

def test_add_finding(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not very clear to me what this test is testing? I don't think there's any _pre_put code on ImportFindings

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was mostly just me wanting to exercise the thing to make sure it was all anatomically correct

@andrewpollock andrewpollock merged commit fae251d into google:master Sep 11, 2024
11 checks passed
andrewpollock added a commit to andrewpollock/osv.dev that referenced this pull request Nov 25, 2024
…tore model

This commit extends google#2582 to include the source of a record. This is so
it's possible to search for all records from a specific source.

Part of google#2189
andrewpollock added a commit that referenced this pull request Nov 25, 2024
#2891)

…tore model

This commit extends #2582 to include the source of a record. This is so
it's possible to search for all records from a specific source.

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

Successfully merging this pull request may close these issues.

3 participants