Skip to content

Commit a565a82

Browse files
chore: auto fixes from pre-commit hooks
1 parent b1bebfd commit a565a82

File tree

1 file changed

+5
-2
lines changed
  • src/ansys/geometry/core/designer

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@ def get_collision(self, body: "Body") -> CollisionType: # noqa: D102
12611261

12621262
def copy(self, parent: "Component", name: str = None) -> "Body": # noqa: D102
12631263
raise NotImplementedError(
1264-
'Copy method is not implemented on the MasterBody. Call this method on a body instead.'
1264+
"Copy method is not implemented on the MasterBody. Call this method on a body instead."
12651265
)
12661266

12671267
def get_raw_tessellation( # noqa: D102
@@ -1845,7 +1845,10 @@ def copy(self, parent: "Component", name: str = None) -> "Body": # noqa: D102
18451845

18461846
# Assign the new body to its specified parent (and return the new body)
18471847
tb = MasterBody(
1848-
response.get("master_id"), copy_name, self._template._grpc_client, is_surface=self.is_surface
1848+
response.get("master_id"),
1849+
copy_name,
1850+
self._template._grpc_client,
1851+
is_surface=self.is_surface,
18491852
)
18501853
parent._master_component.part.bodies.append(tb)
18511854
parent._clear_cached_bodies()

0 commit comments

Comments
 (0)