Skip to content

Commit 505985b

Browse files
Update config and fix model cache delete method (#967)
2 parents d713ada + 0e7f148 commit 505985b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ads/aqua/config/evaluation/evaluation_service_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ def search_shapes(
224224

225225
class Config:
226226
extra = "ignore"
227+
protected_namespaces = ()
227228

228229

229230
class EvaluationServiceConfig(Serializable):

ads/aqua/extension/model_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def read(self, model_id):
6767
return self.finish(AquaModelApp().get(model_id))
6868

6969
@handle_exceptions
70-
def delete(self):
70+
def delete(self, id=""):
7171
"""Handles DELETE request for clearing cache"""
7272
url_parse = urlparse(self.request.path)
7373
paths = url_parse.path.strip("/")

0 commit comments

Comments
 (0)