You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
For a fanin operation, the arguments are always passed in as json.dumps. We already support loaders for artifacts to map them back to a data structure, would be nice if this could work for parameters too:
# would be nice if we could have@script(constructor="runner")deffan_in(*, responses: Annoted[list[Magic], Parameter(loader=Magic)]) ->None:
print(responses)
Describe alternatives you've considered
Keep using the transform objects in the first line of your script.
The text was updated successfully, but these errors were encountered:
Consolidating into #1166 - this will be the next feature to implement as the most requested over various issues. Thanks for the Parameter(loader=Magic) syntax suggestion, I think I'll be using it!
Is your feature request related to a problem? Please describe.
For a fanin operation, the arguments are always passed in as
json.dumps
. We already support loaders for artifacts to map them back to a data structure, would be nice if this could work for parameters too:Describe the solution you'd like
Describe alternatives you've considered
Keep using the transform objects in the first line of your script.
The text was updated successfully, but these errors were encountered: