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

pudl_datastore --list-partitions #925

Merged
merged 4 commits into from
Feb 23, 2021
Merged

Conversation

rousik
Copy link
Collaborator

@rousik rousik commented Feb 22, 2021

Add capability to list available partition keys and known values.

Also add support for skipping optimally-cached resources when
downloading resources to zenodo cache.
and also update the code to fix some syntax errors.
Break down the various modes of operation into three separate functions.
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@rousik
Copy link
Collaborator Author

rousik commented Feb 22, 2021

This fixes #915

@rousik rousik changed the base branch from main to sprint30 February 22, 2021 22:31
@codecov
Copy link

codecov bot commented Feb 22, 2021

Codecov Report

Merging #925 (d357e69) into sprint30 (55ba7ee) will decrease coverage by 0.09%.
The diff coverage is 23.53%.

Impacted file tree graph

@@             Coverage Diff              @@
##           sprint30     #925      +/-   ##
============================================
- Coverage     77.87%   77.78%   -0.09%     
============================================
  Files            45       45              
  Lines          5824     5859      +35     
============================================
+ Hits           4535     4557      +22     
- Misses         1289     1302      +13     
Impacted Files Coverage Δ
src/pudl/workspace/datastore.py 62.86% <17.39%> (-6.30%) ⬇️
src/pudl/workspace/resource_cache.py 83.78% <80.00%> (-0.33%) ⬇️
src/pudl/analysis/timeseries_cleaning.py 88.55% <0.00%> (+2.86%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 55ba7ee...d357e69. Read the comment docs.

@zaneselvans
Copy link
Member

Will definitely improve usability, and efficiency too it looks like. Should we try and get some unit tests for this functionality too?

@zaneselvans zaneselvans merged commit 92d568a into sprint30 Feb 23, 2021
@zaneselvans zaneselvans deleted the datastore-list-partitions branch June 1, 2021 19: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.

None yet

2 participants