Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e194177a98 | |||
| 3f5880156b |
@@ -17,7 +17,7 @@ jobs:
|
|||||||
|
|
||||||
# Step 2: Set up Python
|
# Step 2: Set up Python
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
|
|||||||
@@ -335,9 +335,12 @@ def apply_rules_to_objects(
|
|||||||
):
|
):
|
||||||
speckle_print(f"Rule {rule_id_str} Skipped")
|
speckle_print(f"Rule {rule_id_str} Skipped")
|
||||||
|
|
||||||
|
newBase = Base()
|
||||||
|
newBase.id = "123"
|
||||||
|
|
||||||
automate_context.attach_info_to_objects(
|
automate_context.attach_info_to_objects(
|
||||||
category=f"Rule {rule_id_str} Skipped",
|
category=f"Rule {rule_id_str} Skipped",
|
||||||
affected_objects=[Base()],
|
affected_objects=[newBase],
|
||||||
# This is a hack to get a rule to report with no valid objects
|
# This is a hack to get a rule to report with no valid objects
|
||||||
message=f"No objects found for rule {rule_id_str}",
|
message=f"No objects found for rule {rule_id_str}",
|
||||||
metadata={},
|
metadata={},
|
||||||
|
|||||||
Reference in New Issue
Block a user