Closed angelcaru closed 2 months ago
Total disaster when converting Python >--< Radon objects! Every trial is crashing!
Can you give it a try?
Yeah, sure
Thanks!
Not done yet, but I'm getting somewhere...
I think we need two functions, which will map all nested objects and convert to Radon to Python and Python to Radon.
That's exactly what I'm doing!
Great! Hopefully this will work.
I got it working, but one of the test cases is failing :( Hopefully I'll be able to fix it
I fixed it :)
Is your feature request related to a problem? Please describe. When using
pyapi()
, often the only way to get what you want is using string interpolation. But this is very error-prone.Describe the solution you'd like The second (optional) argument to
pyapi()
would be a namespace where to execute the code. This would also get rid of the uglyoutput
variable. Example:Describe alternatives you've considered I also considered making the second argument be anything, which you could access through a magical
input
variable (similar tooutput
). But you would often end up with the same pattern of passing a List or HashMap and pulling the values out. It's just better to do that directly