We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently only values are allowed as return types. But we could expand that to cover anything that can be converted into a param type.
dripline-python/dripline/core/endpoint.py
Line 51 in c0e1e1c
Let's allow an_attribute to be anything convertible to param.
And perhaps if it's not convertible to param we try to convert it to a string representation. That should cover most cases.
Effectively:
try: converToParam(attribute) catch [maybe RuntimeError? or did we create a custom translator for scarab::error?] convertUsingRepr(attribute)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently only values are allowed as return types. But we could expand that to cover anything that can be converted into a param type.
dripline-python/dripline/core/endpoint.py
Line 51 in c0e1e1c
Let's allow an_attribute to be anything convertible to param.
And perhaps if it's not convertible to param we try to convert it to a string representation. That should cover most cases.
Effectively:
The text was updated successfully, but these errors were encountered: