Skip to content

[azure-storage-blob] requires_sync issue in start_copy_from_url #13116

@Juliehzl

Description

@Juliehzl
  • Package Name: azure-storage-blob
  • Package Version: 12.4.0b1
  • Operating System: Win 10
  • Python Version: 3.7.7

Describe the bug
A clear and concise description of what the bug is.

Request will be failed with additional property requires_sync when kwargs['requires_sync']=None

if kwargs.get('requires_sync'):
headers['x-ms-requires-sync'] = str(kwargs.pop('requires_sync'))

Recommended silution:

        if 'requires_sync' in kwargs:
            requires_sync = kwargs.pop('requires_sync')
            if requires_sync:
                headers['x-ms-requires-sync'] = str(requires_sync)

To Reproduce
Steps to reproduce the behavior:
1.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

ClientThis issue points to a problem in the data-plane of the library.Service AttentionWorkflow: This issue is responsible by Azure service team.StorageStorage Service (Queues, Blobs, Files)needs-author-feedbackWorkflow: More information is needed from author to address the issue.no-recent-activityThere has been no recent activity on this issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions