Microsoft Azure Service Bus Client Library for Python providing comprehensive messaging capabilities for enterprise applications.
Overall
score
92%
{
"context": "This criteria evaluates the engineer's ability to use the azure-servicebus package to send multiple messages efficiently as a list. The focus is on proper client initialization, sender creation, message construction, and batch sending operations.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Client initialization",
"description": "Uses ServiceBusClient.from_connection_string() to create the Service Bus client with the provided connection string",
"max_score": 20
},
{
"name": "Sender creation",
"description": "Uses get_queue_sender() method on the client to create a queue sender for the specified queue name",
"max_score": 15
},
{
"name": "Message construction",
"description": "Creates ServiceBusMessage objects for each order, with the message body containing the JSON-serialized order data",
"max_score": 25
},
{
"name": "List-based sending",
"description": "Uses send_messages() method with a list of messages (not individual sends) to batch-send all order messages in a single operation",
"max_score": 30
},
{
"name": "Resource cleanup",
"description": "Properly closes the sender and client using context managers (with statements) or explicit close() calls to ensure connections are released",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-azure-servicebusdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10