Skip to content

Commit 046fd87

Browse files
remove extraneous boolean id calls in v0
1 parent a2876b6 commit 046fd87

File tree

1 file changed

+4
-4
lines changed
  • src/ansys/geometry/core/_grpc/_services/v0

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -754,8 +754,8 @@ def boolean(self, **kwargs) -> dict: # noqa: D102
754754
for body2 in kwargs["other"]:
755755
tmp_resp = self.stub.Boolean(
756756
request=BooleanRequest(
757-
body1=kwargs["target"].id,
758-
body2=body2.id,
757+
body1=kwargs["target"],
758+
body2=body2,
759759
method=kwargs["method"],
760760
)
761761
).empty_result
@@ -766,8 +766,8 @@ def boolean(self, **kwargs) -> dict: # noqa: D102
766766
elif len(kwargs["other"]) == 1:
767767
resp = self.stub.Boolean(
768768
request=BooleanRequest(
769-
body1=kwargs["target"].id,
770-
body2=kwargs["other"][0].id,
769+
body1=kwargs["target"],
770+
body2=kwargs["other"][0],
771771
method=kwargs["method"],
772772
)
773773
)

0 commit comments

Comments
 (0)