Can I have a class with property named "from"
zljubisic at gmail.com
zljubisic at gmail.com
Mon Jun 8 15:53:08 EDT 2020
Well the problem that I am facing with is, that I have to establish interface between python and outer system.
Original question was about creation of input object (data that I have received from outer system). If I accept recommendation to use "from_" instead of "from", it could work, for processing input, because processing is under my control.
However, my process will create output object that I should json serialize and return back to outer system as a response to the input. If I will have "from_" object property instead of "from", I believe that I should write a custom object to json serializer in order to support changing names from "from_" to "from".
More information about the Python-list
mailing list