This pull request was created to fix GitHub Actions on ebd2231.
Description
This pull request includes the following changes:
Added a new endpoint /jupyterlab-judge/get-example in jupyterlab_judge/handlers.py that returns a more meaningful response.
Added a new test case TestActivation in jupyterlab_judge/tests/test_activation.py to check if the jupyterlab-judge extension is activated.
Modified the JudgeModel constructor in src/model.ts to accept an optional options parameter and set the _collaborationEnabled property based on the value of options.collaborationEnabled.
Summary
Added a new endpoint /jupyterlab-judge/get-example in jupyterlab_judge/handlers.py.
Added a new test case TestActivation in jupyterlab_judge/tests/test_activation.py.
Modified the JudgeModel constructor in src/model.ts to accept an optional options parameter and set the _collaborationEnabled property.
This pull request was created to fix GitHub Actions on ebd2231.
Description
This pull request includes the following changes:
/jupyterlab-judge/get-example
injupyterlab_judge/handlers.py
that returns a more meaningful response.TestActivation
injupyterlab_judge/tests/test_activation.py
to check if thejupyterlab-judge
extension is activated.JudgeModel
constructor insrc/model.ts
to accept an optionaloptions
parameter and set the_collaborationEnabled
property based on the value ofoptions.collaborationEnabled
.Summary
/jupyterlab-judge/get-example
injupyterlab_judge/handlers.py
.TestActivation
injupyterlab_judge/tests/test_activation.py
.JudgeModel
constructor insrc/model.ts
to accept an optionaloptions
parameter and set the_collaborationEnabled
property.