CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-azure-data-tables

Microsoft Azure Data Tables Client Library for Python

90

0.96x
Overview
Eval results
Files

rubric.jsonevals/scenario-8/

{
  "context": "This evaluation assesses how well the engineer uses the azure-data-tables package's authentication capabilities. The focus is on correctly using the package's client classes (TableServiceClient and TableClient) with different authentication methods including connection strings, shared key credentials (AzureNamedKeyCredential), and SAS tokens (AzureSasCredential).",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "TableServiceClient Import",
      "description": "Correctly imports TableServiceClient from azure.data.tables package",
      "max_score": 5
    },
    {
      "name": "TableClient Import",
      "description": "Correctly imports TableClient from azure.data.tables package",
      "max_score": 5
    },
    {
      "name": "Credential Classes Import",
      "description": "Correctly imports AzureNamedKeyCredential and AzureSasCredential from azure.core.credentials",
      "max_score": 5
    },
    {
      "name": "Connection String Service Client",
      "description": "Uses TableServiceClient.from_connection_string() class method to create a service client from a connection string",
      "max_score": 15
    },
    {
      "name": "Connection String Table Client",
      "description": "Uses TableClient.from_connection_string() class method to create a table client from a connection string and table name",
      "max_score": 15
    },
    {
      "name": "Shared Key Service Client",
      "description": "Creates TableServiceClient using AzureNamedKeyCredential with account_name and account_key parameters passed to the credential constructor",
      "max_score": 15
    },
    {
      "name": "Shared Key Table Client",
      "description": "Creates TableClient using AzureNamedKeyCredential with account_name and account_key parameters, along with table_name",
      "max_score": 15
    },
    {
      "name": "SAS Service Client",
      "description": "Creates TableServiceClient using AzureSasCredential initialized with the SAS token string",
      "max_score": 10
    },
    {
      "name": "SAS Table Client",
      "description": "Creates TableClient using AzureSasCredential initialized with the SAS token string, along with table_name",
      "max_score": 10
    },
    {
      "name": "Error Handling",
      "description": "Implements proper error handling for invalid connection strings (e.g., catching and re-raising as ValueError or handling exceptions from the azure-data-tables package)",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-azure-data-tables

tile.json