Skip to content

Commit

Permalink
Updated aerie_client based on PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
joshhaug committed Mar 27, 2024
1 parent 811f75a commit 2c4e3e2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/aerie_cli/aerie_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1490,6 +1490,13 @@ def get_scheduling_goals_by_specification(self, spec_id):
}){
goal_metadata {
id
name
description
public
owner
updated_by
created_at
updated_at
}
}
}
Expand All @@ -1500,11 +1507,7 @@ def get_scheduling_goals_by_specification(self, spec_id):

def upload_scheduling_goal(self, model_id, name, definition):
obj = dict()
#obj["metadata"] = {"data": {"name": name, "models_using": {"data": {"model_id": model_id}}}}
#obj["name"] = name
#obj["model_id"] = model_id
obj["definition"] = definition

return self.upload_scheduling_goals([obj])


Expand Down

0 comments on commit 2c4e3e2

Please sign in to comment.