We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9000c34 commit a185a3eCopy full SHA for a185a3e
ads/aqua/extension/model_handler.py
@@ -100,8 +100,6 @@ class AquaModelLicenseHandler(AquaAPIhandler):
100
@handle_exceptions
101
def get(self, model_id):
102
"""Handle GET request."""
103
-
104
- model_id = model_id.split("/")[0]
105
return self.finish(AquaModelApp().load_license(model_id))
106
107
tests/unitary/with_extras/aqua/test_model_handler.py
@@ -75,7 +75,7 @@ def test_list(self, mock_list):
75
)
76
77
@patch("notebook.base.handlers.APIHandler.finish")
78
- @patch("ads.aqua.model.model.AquaModelApp.register")
+ @patch("ads.aqua.model.AquaModelApp.register")
79
def test_register(self, mock_register, mock_finish):
80
mock_register.return_value = AquaModel(
81
id="test_id",
0 commit comments