or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/azure-data-tables@12.7.x
tile.json

tessl/pypi-azure-data-tables

tessl install tessl/pypi-azure-data-tables@12.7.0

Microsoft Azure Data Tables Client Library for Python

Agent Success

Agent success rate when using this tile

90%

Improvement

Agent success rate improvement when using this tile compared to baseline

0.97x

Baseline

Agent success rate without this tile

93%

task.mdevals/scenario-3/

Resilient Table Client

Build a resilient client for accessing an Azure Table Storage service that can handle intermittent network failures and service throttling.

Requirements

Your implementation should provide a function that creates a configured table client with custom retry behavior:

  1. Retry Configuration: The client should retry failed requests with exponential backoff
  2. Connection Reliability: Handle connection timeouts gracefully
  3. Throttling Tolerance: Account for service rate limiting with appropriate delays
  4. Secondary Failover: Enable automatic failover to secondary endpoints when available

Capabilities

Client Configuration with Custom Retry Policy

Create a function create_resilient_client that returns a configured TableClient with the following retry characteristics:

  • It creates a client with a total of 5 retry attempts for failed operations @test
  • It configures 2 retry attempts specifically for connection errors @test
  • It sets an exponential backoff factor of 2.0 for increasing delays between retries @test
  • It enables automatic failover to secondary storage endpoint on failure @test

Implementation

@generates

API

from azure.data.tables import TableClient

def create_resilient_client(
    endpoint: str,
    table_name: str,
    credential
) -> TableClient:
    """
    Create a TableClient configured with custom retry policies for resilience.

    Args:
        endpoint: The Table service endpoint URL
        table_name: Name of the table to access
        credential: Authentication credential for the service

    Returns:
        A configured TableClient instance with custom retry behavior
    """
    pass

Dependencies { .dependencies }

azure-data-tables { .dependency }

Provides Azure Table Storage client functionality with configurable retry policies.