Python SDK_interface_deployments
Deployment
SDK-facing deployment facade with convenience operations.
Attributes
attributedeployment_idstrBackend snapshot/deployment identifier.
attributeflowstrFlow name.
attributeversionintDeployment version.
attributetagsdict[str, bool]Public deployment tags mapped to exclusivity flags.
attributecommit_shastr | NoneBest-effort source commit SHA.
attributecommit_dirtybool | NoneBest-effort source dirty flag.
attributeimage_digeststr | NoneBest-effort image digest.
attributecreated_atdatetime | NoneCreation timestamp when provided by the backend.
attributeschemadict[str, Any] | NoneBest-effort deployment input schema.
attributestackstr | NoneStack name or ID associated with the deployment snapshot.
Functions
funcinvoke(self, **flow_inputs) -> FlowHandleInvoke this pinned deployment version.
paramselfparamflow_inputsAny= {}Returns
kitaru.flow.FlowHandlefuncadd_tag(self, tag, *, exclusive=False) -> DeploymentAttach a public tag to this deployment version.
paramselfparamtagstrparamexclusivebool= FalseReturns
kitaru._interface_deployments.Deploymentfuncremove_tag(self, tag) -> DeploymentRemove a public tag from this deployment version.
paramselfparamtagstrReturns
kitaru._interface_deployments.Deploymentfuncdelete(self) -> NoneDelete this deployment version if no exclusive tag protects it.
paramselfReturns
Nonefunc__init__(self, _record, _client) -> Noneparamselfparam_recordDeploymentRecordparam_clientKitaruClientReturns
None