Skip to main content

dynattrs

artifact_value​

def artifact_value(
) -> DynamicAttrType

Artifact to use the contents of in this dynamic action. Accepts an OutputArtifact.

The impl function receives an ArtifactValue.


dict​

def dict(
key: type,
value: DynamicAttrType,
/,
) -> DynamicAttrType

Takes a dict of values and gives it to the impl function.


dynamic_value​

def dynamic_value(
) -> DynamicAttrType

Dynamic value generated by another dynamic action, which is resolved before calling the dynamic action. Accepts a DynamicValue.

The impl function receives a ResolvedDynamicValue.


list​

def list(
ty: DynamicAttrType,
/,
) -> DynamicAttrType

Takes a list of values and gives a list to the impl function.


option​

def option(
ty: DynamicAttrType,
/,
) -> DynamicAttrType

Takes either a value or None and gives it to the impl function.


output​

def output(
) -> DynamicAttrType

Unbound output to be bound by this dynamic action. Accepts an OutputArtifact.

The impl function receives an OutputArtifact value.


tuple​

def tuple(
*args: DynamicAttrType,
) -> DynamicAttrType

Takes a tuple and gives it to the impl function.


value​

def value(
ty: type,
/,
) -> DynamicAttrType

Plain value of a given type.