temporalio.workflow.ReadOnlyContextError

exception documentation

class ReadOnlyContextError(temporalio.exceptions.TemporalError): (source)

Constructor: ReadOnlyContextError(message)

View In Hierarchy

Error thrown when trying to do mutable workflow calls in a read-only context like a query or update validator.

Method __init__ Initialize a read-only context error.
Instance Variable message Undocumented

Inherited from TemporalError:

Property cause Cause of the exception.

def __init__(self, message: str): (source)

Initialize a read-only context error.

Undocumented