What I'm trying to do is to get all of its Column () value from the SqlAlchemy entity definition, determine their types and restrictions so that they can pre-validate, convert data and display user forms for the user.
How do I understand that?
Example:
class Person(Base): ''' Represents Person ''' __tablename__ = 'person'
I want to get this identifier, title, date of birth, determine their limitations (for example, the name is a string, and the maximum length is 512 or the date of birth is a date, etc.).
thanks
source share