class HeaderSchema(m.Schema): user_id = compat.set_data_key(field=m.fields.String(required=True), key="X-UserId")
class HeadersSchema(m.Schema): name = set_data_key(field=m.fields.String(load_from="x-name", required=True), key="x-name")
class HeadersModel(mo.Model): name = set_data_key(field=mo.fields.String(load_from="x-name", required=True), key="x-name")
class HeaderModel(mo.Model): user_id = compat.set_data_key(field=m.fields.String(required=True), key="X-UserId")