I have a pretty regular schema class like:
class TestSchema(db_schema.SQLAlchemyAutoSchema):
xxx = fields.Str()
name = fields.Str(validate=validate.Length(min=1), required=True, error_messages={"required": "The name is required."})
class Meta:
fields = ('id', 'name', 'description')
model = TestModel
And I would like to analyze the class itself to be able to form some metainformation for the frontend. But I can't access xxx nor name like:
schema_instance = TestSchema()
schema_instance.xxx ???AttributeError: 'TestSchema' object has no attribute 'xxx'