def mediatypes_method(self):
        return lambda resource_cls: self.mediatypes() + [self.default_mediatype]
Return a method that returns a list of mediatypes
dataset/ETHPy150Open flask-restful/flask-restful/flask_restful/__init__.py/Api.mediatypes_method