Compare commits

..

2 Commits

Author SHA1 Message Date
Jonathon Broughton 5fb871d76f Renames object_ids to affected_objects
Updates the parameter name in `attach_info_to_objects`
to accurately reflect its purpose.
2025-06-05 15:18:57 +01:00
Jonathon Broughton af8352933b v3 2025-06-05 14:02:44 +01:00
2 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
# Step 2: Set up Python
- name: Setup Python
uses: actions/setup-python@v6
uses: actions/setup-python@v5
with:
python-version: '3.11'
+1 -4
View File
@@ -335,12 +335,9 @@ def apply_rules_to_objects(
):
speckle_print(f"Rule {rule_id_str} Skipped")
newBase = Base()
newBase.id = "123"
automate_context.attach_info_to_objects(
category=f"Rule {rule_id_str} Skipped",
affected_objects=[newBase],
affected_objects=[Base()],
# This is a hack to get a rule to report with no valid objects
message=f"No objects found for rule {rule_id_str}",
metadata={},