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
Expected behavior
The simplest improvement would be if endpoints raised an exception when such collisions occur. This way there would be a better error message at evaluation time rather than a less clear exception when the endpoint is called.
Really though, apiron should be restructured so that kwargs passed into an endpoint aren't intermingled with those passed to apiron.client.call.
Describe the bug
If an endpoint argument is given the same name as an argument to
apiron.client.call
, it will not be passed through to the formatter.To Reproduce
Expected behavior
The simplest improvement would be if endpoints raised an exception when such collisions occur. This way there would be a better error message at evaluation time rather than a less clear exception when the endpoint is called.
Really though, apiron should be restructured so that kwargs passed into an endpoint aren't intermingled with those passed to
apiron.client.call
.Environment:
apiron
version 7d1d059The text was updated successfully, but these errors were encountered: