pyDataverse icon indicating copy to clipboard operation
pyDataverse copied to clipboard

Parameterize get_datafile

Open jreamy opened this issue 5 years ago • 3 comments

As a developer I would like to have more control of the keyword arguments get_datafile uses in requests to download files. I have had issues downloading large files in the past and had to implement a custom get_request method to allow access to the stream parameter of requests.get.

jreamy avatar Jul 14 '20 14:07 jreamy

As for the next release the feature freeze is already done, I will do this soon after it. Will do that more generic, so all keyword arguments can be passed down to the requests calls.

  • Add **kwargs to requests.request function calls.
  • Change calls of get, delete, post etc. to one call of requests.request with passing the method and all kwargs.

skasberger avatar Jul 21 '20 14:07 skasberger

This will be solved in https://github.com/gdcc/pyDataverse/issues/72.

skasberger avatar Feb 15 '21 00:02 skasberger

As discussed during the 2024-02-14 meeting of the pyDataverse working group, we are closing old milestones in favor of a new project board at https://github.com/orgs/gdcc/projects/1 and removing issues (like this one) from those old milestones. Please feel free to join the working group! You can find us at https://py.gdcc.io and https://dataverse.zulipchat.com/#narrow/stream/377090-python

pdurbin avatar Mar 04 '24 16:03 pdurbin