Skip to content

Commit a1a84e7

Browse files
committed
Fixes AttributeError caused by running the list_models function in model_publish (#170)
1 parent 6a5a00a commit a1a84e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sasctl/_services/model_publish.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def _publish_name(name):
5252

5353
@classmethod
5454
def list_models(cls):
55-
return cls.get("/models").get("items", [])
55+
return cls.get("/models")
5656

5757
list_destinations, get_destination, update_destination, _ = Service._crud_funcs(
5858
"/destinations", "destination"

0 commit comments

Comments
 (0)