def mediatypes(self):
        return [h for h, q in sorted(request.accept_mimetypes,
                                     key=operator.itemgetter(1), reverse=True)]
Helper function for building the Default AssumeRole Policy
dataset/ETHPy150Open flask-restful/flask-restful/flask_restful/__init__.py/Api.mediatypes--crossover with--dataset/ETHPy150Open cloudtools/awacs/awacs/helpers/trust.py/get_default_assumerole_policy