-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.TablesbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK team
Description
-
I'm trying to delete a large number of entities from an Azure Table asynchronously
-
I have a method that returns a reference of type
AsyncGenerator[Tuple[TransactionOperation, TableEntity], None]representing all the records to be deleted -
The TableClient.submit_transaction method throws an error
TypeError: 'async_generator' object is not iterable -
The TableClient.submit_transaction method should be updated to handle AsyncIterables
or -
A new method should be made available to accept Async iterables
-
This can be done by adding 'async for' alongside the
forazure-sdk-for-python/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_client_async.py
Line 700 in eb5ece7
for operation in operations:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.TablesbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK team