Microsoft Azure Batch Client Library for Python providing comprehensive APIs for managing batch computing workloads in Azure cloud
91
Build a batch job scheduler that creates and manages recurring jobs. The scheduler should support both interval-based and time-window scheduling patterns, and provide functionality to enable, disable, and terminate scheduled jobs.
Implement a function that creates a new recurring job schedule with the following parameters:
The function should return the created schedule's identifier.
Implement a function that retrieves information about an existing job schedule, including:
Implement functions to:
Implement a function that updates an existing schedule's properties, including:
Implement a function that lists all job schedules, with support for:
Provides batch job scheduling and management capabilities for Azure cloud computing workloads.
Test File: test_scheduler.py
Create a recurring job schedule that runs every hour with the following configuration:
{"purpose": "data-processing", "priority": "high"}Verify that the schedule is created successfully and returns the correct schedule ID.
Test File: test_scheduler.py
For a created schedule:
Test File: test_scheduler.py
Create a schedule with an interval of 30 minutes, then:
Test File: test_scheduler.py
Create three schedules:
List all schedules and verify all three are returned. Verify the function supports limiting results (e.g., max_results parameter).
Install with Tessl CLI
npx tessl i tessl/pypi-azure-batchdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10