From 6710af6d136f234b236d75cef2f53b11bb2aee61 Mon Sep 17 00:00:00 2001 From: David Ormsbee Date: Thu, 5 Oct 2023 10:21:32 -0400 Subject: [PATCH] feat!: remove Matlab key from Studio Problem settings The Matlab-specific code is coupled with XQueue in places, making its removal a little tricky. But we at least want to hide this now-useless field from end-users before we cut the Quince release. https://github.com/openedx/public-engineering/issues/192 --- xmodule/capa_block.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xmodule/capa_block.py b/xmodule/capa_block.py index 67d5fd58c2..7b58b5aa9a 100644 --- a/xmodule/capa_block.py +++ b/xmodule/capa_block.py @@ -504,6 +504,11 @@ class ProblemBlock( ProblemBlock.markdown, ProblemBlock.use_latex_compiler, ProblemBlock.show_correctness, + + # Temporarily remove the ability to see MATLAB API key in Studio, as + # a pre-cursor to removing it altogether. + # https://github.com/openedx/public-engineering/issues/192 + ProblemBlock.matlab_api_key, ]) return non_editable_fields