Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
sbiewald2303328dJust something: As Python has a package system: Make use of it. It manages all dependencies and will ease up the installation of your package.
CDNievas103328d@sbiewald I know it buy I have problems with it, you must use a folder with a specific name in the project because is the unique form to get access to the developer defined model class. Python doesn't have annotations like java to do this. Its have a module to instropect code but it open the .py file and parses it so it's not an elegant solution.
sbiewald2303328dI looked a bit over the code and noticed something: I would suggest to write the hole example in English
-- What is an "usuario" and a "Direccion"?
But maybe the dump could be improved: Iterate over all attributes of an object. If it is not callable and not starts with an underline and can be.concerted to JSON, put it into the dictionary. This may allow more lax class definitions.
Btw.: Cool logo.
mclayoz37324dCan you translate the spanish variable names into english ?
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job