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 week parsing for date parameters/arguments #1317

Merged
merged 4 commits into from
Oct 18, 2023
Merged

Conversation

melange396
Copy link
Collaborator

It looks like #1284 broke some week and week range parsing and was noticed in cmu-delphi/covidcast-indicators#1904.

Heres evidence of the new test failing before i applied the fix:
https://github.com/cmu-delphi/delphi-epidata/actions/runs/6564148018/job/17829935532

This solution is a bit brittle, but ~all of _params.py is a mess and needs to be cleaned up, so i think this can fly for now.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@dmytrotsko
Copy link
Contributor

@melange396 thx for fixing that. I didn't even know that we have such time_value format

Copy link
Contributor

@dmytrotsko dmytrotsko left a comment

Choose a reason for hiding this comment

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

👍

@melange396 melange396 merged commit b1151bd into dev Oct 18, 2023
6 checks passed
@melange396 melange396 deleted the week_range_parse_fix branch October 18, 2023 19:22
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.

2 participants