[v0.2.2] Redefining multiple parameters fails
kenxu95 opened this issue · 0 comments
kenxu95 commented
Description
Running an operator with multiple input parameters twice appears to fail.
Steps to reproduce the behavior
In my jupyter notebook, this happens if I run the following block of code twice:
@aq.op
def test(p1, p2):
return p1 + p2
test(1, 2).get()
I hit AssertionError: Implicit parameters can only be consumed by a single operator.
Expected behavior
No error.
Screenshots/Logs
Configuration Details
- OS: MacOS
- Browser: N/A
- Aqueduct Version 0.2.2