From a47f568f69fa0d65ef03a8f4995e7c0b9a2c2d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20Jedlicska?= Date: Tue, 27 May 2025 15:34:59 +0200 Subject: [PATCH] chore: comment cleanup --- src/speckle_automate/automation_context.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/speckle_automate/automation_context.py b/src/speckle_automate/automation_context.py index 507ec50..f2b2b09 100644 --- a/src/speckle_automate/automation_context.py +++ b/src/speckle_automate/automation_context.py @@ -460,7 +460,6 @@ class AutomationContext: metadata: User provided metadata key value pairs visual_overrides: Case specific 3D visual overrides. """ - # validate that the Base.id is not None. If its a None, throw an Exception if isinstance(affected_objects, list): if len(affected_objects) < 1: raise ValueError( @@ -472,7 +471,7 @@ class AutomationContext: ids: Dict[str, Optional[str]] = {} for o in object_list: - # TODO: check if the object_id is in the closure of the root commit object + # validate that the Base.id is not None. If its a None, throw an Exception if not o.id: raise Exception( f"You can only attach {level} results to objects with an id."