Version Control#
- class GenerateHandler(*args, **kwargs)[source]#
Tornado Handler class for http requests to /lectures/{lecture_id}/assignments/{assignment_id}/generate.
- class GitLogHandler(*args, **kwargs)[source]#
Tornado Handler class for http requests to /lectures/{lecture_id}/assignments/{assignment_id}/log/{repo}.
- class GitRemoteStatusHandler(*args, **kwargs)[source]#
Tornado Handler class for http requests to /lectures/{lecture_id}/assignments/{assignment_id}/remote_status/{repo}.
- class NotebookAccessHandler(*args, **kwargs)[source]#
Tornado Handler class for http requests to /lectures/{lecture_id}/assignments/{assignment_id}/{notebook_name}.
- class PullHandler(*args, **kwargs)[source]#
Tornado Handler class for http requests to /lectures/{lecture_id}/assignments/{assignment_id}/pull/{repo}.
- class PushHandler(*args, **kwargs)[source]#
Tornado Handler class for http requests to /lectures/{lecture_id}/assignments/{assignment_id}/push/{repo}.
- async put(lecture_id: int, assignment_id: int, repo: str)[source]#
- Pushes from the local repositories to remote
If the repo type is release, it also generate the release files and updates the assignment properties in the grader service
- Parameters
lecture_id (int) – id of the lecture
assignment_id (int) – id of the assignment
repo (str) – type of the repository