Change all AlchemiscaleClient
methods to use retrieve_*
instead of get_*
if they return GufeTokenizable
s
#348
Milestone
It's currently the case that the
AlchemiscaleClient
has manyget_*
methods that either returnScopedKey
s,GufeTokenizable
s,list
s ordict
s of these, or primitive types (such asint
s forweight
s). However, those methods that returnGufeTokenizable
s are often slower due to the higher complexity of these objects, and these objects often cannot be used to refer to other objects in the server, asScopedKey
s can.To distinguish methods that return
GufeTokenizable
s from those that do not, we propose changing all such methods to start withretrieve_*
instead ofget_*
.This will enable us to distinguish between methods like
get_task_results
that should giveScopedKey
s forProtocolDAGResultRef
s, andretrieve_task_results
, which should returnProtocolDAGResult
s. The former method could be used for further introspection, such as retrieving execution logs, provenance, STDERR, STDOUT, or result files, while the latter would yield the result objects themselves.The text was updated successfully, but these errors were encountered: