-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Tables] Removed batching result #18132
Conversation
/azp run python - tables - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run python - tables - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
def extract_batch_part_metadata(response_part): | ||
metadata = {} | ||
if 'Etag' in response_part.headers: | ||
metadata['etag'] = response_part.headers['Etag'] | ||
return metadata |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we return either the etag
or None
instead of packaging one item into a dictionary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The intention is to allow for growth - if the service ever starts returning other headers or useful info. For example, a number of these operation support the echo responses on create/update - so potentially that could be supported with this dictionary.
No description provided.