Skip to content

Commit cd2a834

Browse files
comment fix pt 2
1 parent 951bd99 commit cd2a834

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

src/ansys/geometry/core/_grpc/_services/v0/bodies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ def boolean(self, **kwargs) -> dict: # noqa: D102
763763
return {}
764764

765765
@protect_grpc
766-
def split_body(self, **kwargs): # noqa: D102
766+
def split_body(self, **kwargs) -> dict: # noqa: D102
767767
from ansys.api.dbu.v0.dbumodels_pb2 import EntityIdentifier
768768
from ansys.api.geometry.v0.commands_pb2 import SplitBodyRequest
769769

src/ansys/geometry/core/_grpc/_services/v1/bodies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,5 +193,5 @@ def boolean(self, **kwargs) -> dict: # noqa: D102
193193
raise NotImplementedError
194194

195195
@protect_grpc
196-
def split_body(self, **kwargs): # noqa: D102
196+
def split_body(self, **kwargs) -> dict: # noqa: D102
197197
raise NotImplementedError

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,6 @@ def create_body_from_surface(self, name: str, trimmed_surface: TrimmedSurface) -
10611061
)
10621062
return self.__build_body_from_response(response)
10631063

1064-
@protect_grpc
10651064
@min_backend_version(25, 2, 0)
10661065
def create_surface_from_trimmed_curves(
10671066
self, name: str, trimmed_curves: list[TrimmedCurve]
@@ -1159,7 +1158,6 @@ def translate_bodies(
11591158
distance=distance,
11601159
)
11611160

1162-
@protect_grpc
11631161
@check_input_types
11641162
@ensure_design_is_active
11651163
def create_beams(
@@ -1451,7 +1449,6 @@ def add_design_points(
14511449
# Finally return the list of created DesignPoint objects
14521450
return self._design_points[-n_design_points:]
14531451

1454-
@protect_grpc
14551452
@check_input_types
14561453
@ensure_design_is_active
14571454
def delete_beam(self, beam: Beam | str) -> None:

0 commit comments

Comments
 (0)