Here is an example. I do my development in jupyter notebook
fr = c3.ServicePoint.fetch().toJson() for obj in fr["objs"]: pass
In order for this code to work in the server, I need to remove .toJson()
fr = c3.ServicePoint.fetch() for obj in fr["objs"]: pass
This is annoying because my python functions (nested with many fetch calls) work fine in python, but a direct copy paste of them would fail in server. I have to do a global remove of “.toJson()”
This is even more annoying when I want to debug some python code from the server. After copy-pasting to jupyter notebook, I have to add .toJson() to every fetch call manually.
Can’t we hide/automate this in c3remote?