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

Always record when objects are seen in scrapes #342

Merged
merged 14 commits into from
Jan 10, 2023
Merged

Conversation

antidipyramid
Copy link
Collaborator

@antidipyramid antidipyramid commented Dec 16, 2022

Overview

This PR amends the base importer to update objects' last_seen field whenever they're seen in a scrape, regardless of whether an update was found.

Notes

Depends on this PR in python-opencivicdata. Once that PR is merged in, the new test should pass.

Copy link
Contributor

@hancush hancush left a comment

Choose a reason for hiding this comment

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

Hm, looks like some of the other tests are affected by this change. Let me know if you want any input on debugging.

@coveralls
Copy link

coveralls commented Jan 9, 2023

Coverage Status

Coverage: 94.806% (+0.01%) from 94.796% when pulling c237d87 on last-seen into 8087e22 on master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage: 94.806% (+0.01%) from 94.796% when pulling c237d87 on last-seen into 8087e22 on master.

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

Successfully merging this pull request may close these issues.

3 participants