funcx-faas / funcx-web-service

14 stars 5 forks source link

Raw JSON inputs and outputs #114

Closed ryanchard closed 4 years ago

ryanchard commented 5 years ago

To accommodate several use cases (Automate, MERF, anything without the sdk) we need a mechanism to pass through and act on raw json inputs. The initial plan is to have a flag in the submission request to specify a serialization mechanism to use and have the web service append it to the task_header. The serializer will then use this to guide deserializtion and again when serializing the outputs.

ryanchard commented 4 years ago

Now supported. Retrieve results with serialize=True and funcX uses the serialization service to decode results before returning them.