ResponseMessage Class
ResponseMessage.
Specifies the response of an entity, as processed by the durable-extension.
Instantiate a ResponseMessage.
Specifies the response of an entity, as processed by the durable-extension.
Constructor
ResponseMessage(result: str, is_exception: bool = False)
Parameters
| Name | Description |
|---|---|
|
result
Required
|
The result provided by the entity |
|
is_exception
|
Default value: False
|
Methods
| from_dict |
Instantiate a ResponseMessage from a dict of the JSON-response by the extension. |
from_dict
Instantiate a ResponseMessage from a dict of the JSON-response by the extension.
from_dict(d: Dict[str, Any]) -> ResponseMessage
Parameters
| Name | Description |
|---|---|
|
d
Required
|
The dictionary parsed from the JSON-response by the durable-extension |
Returns
| Type | Description |
|---|---|
|
The ResponseMessage built from the provided dictionary |