A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Azure/azure-sdk-for-python/issues/31471 below:

table submit_transaction throws IndexError if there is no transaction · Issue #31471 · Azure/azure-sdk-for-python · GitHub

Describe the bug
azure.data.tables.aio.TableClient.submit_transaction throws IndexError if the parameter operations is an empty list or empty iterator.

To Reproduce
Steps to reproduce the behavior:

  1. Setup an aio.TableClient. For example, client=TableClient(...).
  2. use client.submit_transaction([]).

Expected behavior
Since there is no transaction, I expected this to be a no-op and do nothing.

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

Additional context
Add any other context about the problem here.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4