def get_oauth2_config(self):
    data = swagger_settings.OAUTH2_CONFIG
    assert isinstance(data, dict), 'OAUTH2_CONFIG must be a dict'
    return data
def get_oauth2_config(self):
    data = swagger_settings.OAUTH2_CONFIG
    assert isinstance(data, dict), 'OAUTH2_CONFIG must be a dict'
    return data