Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to deal with multiple input args? #16

Open
IvoMerchiers opened this issue Dec 18, 2019 · 2 comments
Open

How to deal with multiple input args? #16

IvoMerchiers opened this issue Dec 18, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@IvoMerchiers
Copy link

Is it possible to provide multiple input args to a function?
So something similar to

@input_schema('foo', StandardPythonParameterType('foo))
@input_schema('bar', StandardPythonParameterType('bar'))
@output_schema( StandardPythonParameterType(True))
def run(foo, bar):
    ...

The examples don't mention this, and I haven't been able to get it to work by myself.

@trangevi
Copy link
Member

trangevi commented Jan 2, 2020

It should support stacking as you have it in your example, I believe. What's the issue you're running into when trying that?

@dashesy
Copy link

dashesy commented Apr 28, 2020

Yeah I cannot get this to work either.
Actually it works in local service, but not on the deployed Aci service. I do not know what is the difference, same code behaves differently

@trangevi trangevi added the bug Something isn't working label Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants