temporalio.client.ActivityOptionsKey
class documentation

class ActivityOptionsKey(Generic[ActivityOptionValueType]): (source)

View In Hierarchy

Typed key for one updatable activity option.

Use the keys on ActivityOptionsKeys rather than constructing these directly.

Warning

This API is experimental.

def value_set(self, value: ActivityOptionValueType) -> ActivityOptionsUpdate[ActivityOptionValueType]: (source)

Create an update that sets this option to the given value.

def value_unset(self) -> ActivityOptionsUpdate[ActivityOptionValueType]: (source)

Create an update that clears this option server-side.

Field-mask path this key updates.