Python SDK
Template Error Handling
Handle build failures, upload failures, and terminal template states.
Template builds can fail during file upload, base image import, build steps,
startup readiness, or publication. Catch typed SDK errors and inspect the
failure details before retrying.
Retry only after checking whether the failed phase is retryable. Authenticated
private base-image imports and local build-context uploads are intentionally
conservative about cache reuse.
Concept: Create. API reference:
startTemplateBuild, getTemplateBuildStatus.