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

Support content_type when calling forge.download and Dataset.download #251

Open
MFSY opened this issue Jun 1, 2022 · 1 comment · Fixed by #265
Open

Support content_type when calling forge.download and Dataset.download #251

MFSY opened this issue Jun 1, 2022 · 1 comment · Fixed by #265

Comments

@MFSY
Copy link
Collaborator

MFSY commented Jun 1, 2022

No description provided.

@eleftherioszisis
Copy link

If specifying the content_type results in selecting a single file, would it be possible for the path argument in forge.download to allow specifying the output filename, instead of the directory? For example:

forge.download(resource, "distribution.contentUrl", content_type="application/json", path="output-file.json")

@MFSY MFSY closed this as completed in #265 Mar 29, 2023
@MFSY MFSY reopened this Mar 29, 2023
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 a pull request may close this issue.

2 participants