Weaver: Workflow Execution Management Service (EMS); Application, Deployment and Execution Service (ADES); OGC API - Processes; WPS; CWL Application Package
When an OperationResult is obtained from weaver.cli.WeaverClient, the __str__ representation simply returns Operationresult, which is not intuitive for users. One must do print(repr(result)) to obtain the better representation implemented by __repr__.
The __str__ should probably do something similar to what __repr__ does, but could also potentially add more details, such as the returned JSON/XML/HTML/text body if applicable. Currently, a text-form representation of that body is defined in text property.
Description
When an
OperationResult
is obtained fromweaver.cli.WeaverClient
, the__str__
representation simply returnsOperationresult
, which is not intuitive for users. One must doprint(repr(result))
to obtain the better representation implemented by__repr__
.The
__str__
should probably do something similar to what__repr__
does, but could also potentially add more details, such as the returned JSON/XML/HTML/text body if applicable. Currently, a text-form representation of that body is defined intext
property.