Skip to content

Add save_resource function to save any file in demo bucket locally#2905

Open
frances-h wants to merge 2 commits into
mainfrom
issue-2901-save_resource
Open

Add save_resource function to save any file in demo bucket locally#2905
frances-h wants to merge 2 commits into
mainfrom
issue-2901-save_resource

Conversation

@frances-h

Copy link
Copy Markdown
Contributor

Resolve #2901

@frances-h frances-h self-assigned this Jun 8, 2026
@frances-h frances-h requested a review from a team as a code owner June 8, 2026 15:10
@frances-h frances-h requested review from gsheni and sarahmish and removed request for a team June 8, 2026 15:10
@codecov

codecov Bot commented Jun 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.09%. Comparing base (c676af9) to head (817ba37).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2905      +/-   ##
==========================================
+ Coverage   98.07%   98.09%   +0.01%     
==========================================
  Files          73       73              
  Lines        8460     8483      +23     
==========================================
+ Hits         8297     8321      +24     
+ Misses        163      162       -1     
Flag Coverage Δ
integration 76.18% <88.46%> (+0.28%) ⬆️
unit 97.10% <92.30%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread tests/unit/datasets/test_demo.py
Comment thread sdv/datasets/demo.py
Save the file contents at this path.
bucket (str):
The name of the bucket to download from. Only 'sdv-datasets-public' is supported in
SDV Community. SDV Enterprise is required for other buckets.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Does this work for SDV Enterprise and downloading README.txt / SOURCE.txt for a private dataset?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I can add additional integration tests to Enterprise and put up a PR with them

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.

Add save_resource function to save any file in demo bucket locally

2 participants