schedule.py 文件源码

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

项目:suite 作者: Staffjoy 项目源码 文件源码
def get(self, org_id, location_id, role_id, schedule_id):

        response = {
            API_ENVELOPE: {},
            "resources":
            ["preferences", "shifts", "timeclocks", "timeoffrequests"],
        }

        schedule = Schedule2.query.get_or_404(schedule_id)
        schedule = marshal(schedule, schedule_fields)

        response[API_ENVELOPE] = schedule

        return response
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号