Skip to content

Commit 0a87b24

Browse files
committed
allow decorator on body by adding grpc client
1 parent e967918 commit 0a87b24

File tree

1 file changed

+1
-0
lines changed
  • src/ansys/geometry/core/designer

1 file changed

+1
-0
lines changed

src/ansys/geometry/core/designer/body.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,6 +1544,7 @@ def __init__(self, id, name, parent_component: "Component", template: MasterBody
15441544
self._name = name
15451545
self._parent_component = parent_component
15461546
self._template = template
1547+
self._grpc_client = template._grpc_client
15471548

15481549
def reset_tessellation_cache(func): # noqa: N805
15491550
"""Decorate ``Body`` methods that require a tessellation cache update.

0 commit comments

Comments
 (0)