Skip to content

Commit

Permalink
last tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-Morgan committed Feb 18, 2025
1 parent a620a35 commit 37e9c23
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/speckle_automate/automation_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@ def create_new_model_in_project(
return self.speckle_client.model.create(input)

def get_model(self, model_id: str) -> Model:
"""Gets the model that the automation was triggered on"""
"""
Args:
model_id (str): The id of the model to get
"""
return self.speckle_client.model.get(
model_id, self.automation_run_data.project_id
)
Expand Down

0 comments on commit 37e9c23

Please sign in to comment.