Hydrospheredata / hydro-serving

MLOps Platform
http://docs.hydrosphere.io
Apache License 2.0
271 stars 42 forks source link

call an application from within a different application #250

Closed albertnanda closed 5 years ago

albertnanda commented 5 years ago

Hi,

How can I call an application from within a different application? For example: Let's say I have a service called factorial(n) and I want to create a new application called calculator. How can I call factorial from the calculators func_main.py

Thanks, AN

albertnanda commented 5 years ago

@tidylobster Is this possible?

tidylobster commented 5 years ago

No, we don't cover this particular case. You can build a multi-staged application which will pass predictions from one model to another, but you can't call other applications from it.

albertnanda commented 5 years ago

I manged to make it work via grpc.