deploy() turns a finished solution into running software. It adapts the code for a target, starts it, and hands back a Software object you can call and stop.
How does a deployment run?
- Selector: Analyzes code and chooses deployment strategy
- Adapter: Modifies code for the chosen strategy
- Runner: Executes the adapted code
- Software: Unified interface for running and managing
How do I deploy a solution?
Deployment strategies
Each value is a
DeployStrategy enum member (DeployStrategy.MODAL, and so on); the enum is auto-generated from the strategies directory.
Software interface
All deployments return aSoftware instance with a unified interface:
What does a deployed call return?
Allrun() calls return a consistent format:
Configuration
Deployment info
Get details about the deployment:How do I stop it?
What happens when a run fails?
Related
Strategies
Details on each deployment strategy
Adding Strategies
Create custom deployment strategies
pip install leeroo-kapso · Every page as plain text: llms.txt.