code: def _dict2schema(dct):
      
      attrs = dct.copy()
      if MARSHMALLOW_VERSION_INFO[0] < 3:
  
          class Meta(object):
              strict = True
  
          attrs["Meta"] = Meta
      return type(str(""), (ma.Schema,), attrs)
docs: Generate a `marshmallow.Schema` class given a dictionary of
      `Fields <marshmallow.fields.Field>`.