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 tuples for files #33948

Merged
merged 16 commits into from
Jan 25, 2024
Merged

support tuples for files #33948

merged 16 commits into from
Jan 25, 2024

Conversation

iscai-msft
Copy link
Contributor

@iscai-msft iscai-msft commented Jan 22, 2024

fixes #32566

Right now, you get an AttributeError if you try to pass in a tuple, and this service team needs to be able to pass in a tuple to modify the filename. This behavior is consistent with requests and httpx's, except that we don't add support for a tuple of 4 (which would be filename, file object, content type, other headers)

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@iscai-msft iscai-msft merged commit 7bf7f3d into Azure:main Jan 25, 2024
222 checks passed
@iscai-msft iscai-msft deleted the multipartTuples branch January 25, 2024 19:11
sofiar-msft pushed a commit to sofiar-msft/azure-sdk-for-python that referenced this pull request Feb 16, 2024
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.

accept request files data in tuple format
6 participants