Kitaru
Python SDK_interface_deployments

Deployment

SDK-facing deployment facade with convenience operations.

Attributes

attributedeployment_idstr

Backend snapshot/deployment identifier.

attributeflowstr

Flow name.

attributeversionint

Deployment version.

attributetagsdict[str, bool]

Public deployment tags mapped to exclusivity flags.

attributecommit_shastr | None

Best-effort source commit SHA.

attributecommit_dirtybool | None

Best-effort source dirty flag.

attributeimage_digeststr | None

Best-effort image digest.

attributecreated_atdatetime | None

Creation timestamp when provided by the backend.

attributeschemadict[str, Any] | None

Best-effort deployment input schema.

attributestackstr | None

Stack name or ID associated with the deployment snapshot.

Functions

funcinvoke(self, **flow_inputs) -> FlowHandle

Invoke this pinned deployment version.

paramself
paramflow_inputsAny
= {}

Returns

kitaru.flow.FlowHandle
funcadd_tag(self, tag, *, exclusive=False) -> Deployment

Attach a public tag to this deployment version.

paramself
paramtagstr
paramexclusivebool
= False

Returns

kitaru._interface_deployments.Deployment
funcremove_tag(self, tag) -> Deployment

Remove a public tag from this deployment version.

paramself
paramtagstr

Returns

kitaru._interface_deployments.Deployment
funcdelete(self) -> None

Delete this deployment version if no exclusive tag protects it.

paramself

Returns

None
func__init__(self, _record, _client) -> None
paramself
param_recordDeploymentRecord
param_clientKitaruClient

Returns

None

On this page