Skip to content

Commit f858388

Browse files
authored
fixed bug (#566)
1 parent b64cfad commit f858388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/aqua/extension/model_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def read(self, model_id):
3232
@exception_handler
3333
def list(self):
3434
"""List Aqua models."""
35-
compartment_id = self.get_argument("compartment_id")
35+
compartment_id = self.get_argument("compartment_id", default=None)
3636
# project_id is no needed.
3737
project_id = self.get_argument("project_id", default=None)
3838
return self.finish(AquaModelApp().list(compartment_id, project_id))

0 commit comments

Comments
 (0)