NotCompleted
The sentinel type for failed computations that propagates through pipelines without raising exceptions.
scinexus.composable.NotCompleted
Bases: int
results that failed to complete
__new__(type_, origin, message, source=None)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
type_
|
NotCompletedType | str
|
the category of failure, e.g. NotCompletedType.ERROR |
required |
origin
|
Any
|
where the instance was created, can be an instance |
required |
message
|
str
|
descriptive message, succinct traceback |
required |
source
|
Any
|
the data operated on that led to this result. May be a string
or an instance with |
None
|
to_json()
returns json string
to_rich_dict()
returns components for to_json
scinexus.composable.NotCompletedType
Bases: Enum