receive GH objects

This commit is contained in:
KatKatKateryna
2024-09-29 20:20:26 +01:00
parent 6ec6725947
commit c84e81451d
+2 -2
View File
@@ -455,8 +455,8 @@ class SpeckleProvider(BaseProvider):
lambda x: [
item
for item in x.get_member_names()
if isinstance(getattr(x, item, None), list)
and (x.speckle_type.split(":")[-1] not in supported_types or isinstance(x, VectorLayer))
if (x.speckle_type.split(":")[-1] not in supported_types or isinstance(x, VectorLayer))
and (isinstance(getattr(x, item, None), list) or (item.startswith("@") and x.speckle_type == "Base") )
],
)
context_list = [x for x in GraphTraversal([rule]).traverse(commit_obj)]