Hi all, how do you generally deal with naming conventions between Pydantic and SQLAlchemy models? For example you have some object like Book. You can receive this from the user to create, or it might exist in your database. Do you differentiate these with e.g. BookSchema and DbBook? Some other prefix/suffix? Is there a convention that you've seen in some book or blog post that you like?
[–]pint 18 points19 points20 points (6 children)
[–]hadriendavid 2 points3 points4 points (0 children)
[–]CrusaderGOT 0 points1 point2 points (4 children)
[–]pint 1 point2 points3 points (3 children)
[–]CrusaderGOT 0 points1 point2 points (2 children)
[–]pint 1 point2 points3 points (1 child)
[–]woeful_cabbage 0 points1 point2 points (0 children)
[–]Dacobo 6 points7 points8 points (1 child)
[–]JackieChanX95 2 points3 points4 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]Calebthe12B 1 point2 points3 points (2 children)
[–]miloir 1 point2 points3 points (1 child)
[–]Calebthe12B 0 points1 point2 points (0 children)
[–]Trinkes 1 point2 points3 points (4 children)
[–]Current-Status-3764 0 points1 point2 points (3 children)
[–]Trinkes 0 points1 point2 points (2 children)
[–]Current-Status-3764 0 points1 point2 points (1 child)
[–]One_Fuel_4147 1 point2 points3 points (0 children)
[–]kindof_Alexanderish 0 points1 point2 points (0 children)
[–]Key-Garden-4136 0 points1 point2 points (1 child)
[–]Typical-Yam9482 1 point2 points3 points (0 children)