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

Allow options like "timeout" to be passed to HTTPoison.get_blob underneath inside options #54

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

krishna1m
Copy link

Fixes #53

Allows to call the new signature like below -

Azurex.Blob.get_blob(name, container, recv_timeout: 60_000, timeout: 60_000, headers: [{"Content-Type", "application/json"}])

krishna1m and others added 4 commits August 29, 2024 13:48
…word list

Co-authored-by: Hitalo Siqueira <[email protected]>
Co-authored-by: Jon Lauridsen <[email protected]>
…son from Azurex for `get_blob`

Co-authored-by: Jon Lauridsen <[email protected]>
Still always read azure connection string from application config, but
allow the element itself to be parameterised. Still default to azurex.

This change does introduce some breaking API changes, notably on
put_blob, to nest params under options (similar to an earlier commit's
work on get_blob).

Co-authored-by: Aman Kumar Singh <[email protected]>
Co-authored-by: Konstantinos Gkinis <[email protected]>
@mattpolzin
Copy link

Was it necessary to add the config element changes in the same PR? At first glance they look like separate goals. I'm not a maintainer, just asking the question.

@craigfurman
Copy link

craigfurman commented Oct 28, 2024

@mattpolzin sorry, these are definitely separate goals. When I recently committed to this fork's master branch the other day, I had no idea this PR existed.

@krishna1m let's close this, cut a branch before that recent fork commit, and PR that. If that lands, we can PR the config element bit separately. WDYT?

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.

Passing a timeout in get_blob does not work
4 participants