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: pull datetime at runtime instead of at package import time #1204

Merged

Conversation

dbirman
Copy link
Member

@dbirman dbirman commented Jan 2, 2025

This PR fixes a bug in the QualityControl.status() function where the default date parameter was being set at package import time instead of at runtime. This causes an issue in downstream code where if a server doesn't get restarted fairly often then it flags QC data with dates in the future (from it's perspective) as being invalid.

@dbirman dbirman linked an issue Jan 2, 2025 that may be closed by this pull request
@dbirman dbirman requested review from saskiad and helen-m-lin and removed request for saskiad January 2, 2025 20:45
@dbirman
Copy link
Member Author

dbirman commented Jan 2, 2025

Closes #1204

@dbirman dbirman added this pull request to the merge queue Jan 2, 2025
Merged via the queue into dev with commit 0dd4ed9 Jan 2, 2025
5 checks passed
@dbirman dbirman deleted the 1169-datetime-value-evaluated-at-package-import-for-qc branch January 2, 2025 21:36
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.

Datetime value evaluated at package import for QC
2 participants