Session errors
MaHDiaLaGaB opened this issue · 0 comments
MaHDiaLaGaB commented
This is not the only error I had from the database model:
Parent instance <Organization at 0xffffa99dcd40> is not bound to a Session; lazy load operation of attribute 'projects' cannot proceed
this is one of almost five errors when I tried to create a project for Org or read a project by Org id.
The reason for this error is the ModelBase structure and not using any linting tools, the all-class needs to be restructured
this class 👇
Line 44 in 2f10510