- 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.
Describe the bug
A clear and concise description of what the bug is.
Request will be failed with additional property
requires_syncwhenkwargs['requires_sync']=Noneazure-sdk-for-python/sdk/storage/azure-storage-blob/azure/storage/blob/_blob_client.py
Lines 1536 to 1537 in 87a6e32
Recommended silution:
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.