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

[Tables] Removed batching result #18132

Merged
merged 6 commits into from
Apr 19, 2021
Merged

Conversation

annatisch
Copy link
Member

No description provided.

@ghost ghost added the Tables label Apr 19, 2021
@annatisch
Copy link
Member Author

/azp run python - tables - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@annatisch annatisch marked this pull request as ready for review April 19, 2021 16:47
@annatisch
Copy link
Member Author

/azp run python - tables - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Comment on lines +417 to +421
def extract_batch_part_metadata(response_part):
metadata = {}
if 'Etag' in response_part.headers:
metadata['etag'] = response_part.headers['Etag']
return metadata
Copy link
Member

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?

Copy link
Member Author

@annatisch annatisch Apr 19, 2021

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.

@seankane-msft seankane-msft self-requested a review April 19, 2021 18:31
@annatisch annatisch merged commit 796be71 into Azure:master Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants