app.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:schul_cloud_resources_server_tests 作者: schul-cloud 项目源码 文件源码
def get_resource_ids():
    """Return the list of current ids."""
    test_jsonapi_header()
    resources = get_resources()
    response.content_type = 'application/vnd.api+json'
    return response_object({"data": [{"type": "id", "id": _id} for _id in resources], 
                            "links": {"self": get_location_url("ids")}})
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号