Create Scheduler • AI Agents Framework

create_scheduler: Factory function to create scheduler for different providers.

create_scheduler

Function

</div>

This function is defined in the scheduler module.

Factory function to create scheduler for different providers.

Signature

python
def create_scheduler(provider: str, config: Optional[Dict[str, Any]]) -> DeploymentScheduler

Parameters

ParamField str

Deployment provider (“gcp”, “aws”, “azure”, etc.)

ParamField Optional

Optional configuration dict

Returns

ResponseField DeploymentScheduler

Configured DeploymentScheduler instance

Uses

  • DeploymentScheduler
  • logger.warning

Source

View on GitHub

praisonai/scheduler.py at line 168


Related Documentation