The check at
|
assert ctx.is_workflow(), "send() must be called from within a workflow" |
seems to block the use of
DBOS.send and its async variant from within workflow steps. As the method can be called from outside the DBOS application anyways using a client, what is the purpose of this limitation?