Skip to content

Commit c36be31

Browse files
fixing backward compat test
1 parent d84f5ea commit c36be31

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
from ..base.repair_tools import GRPCRepairToolsService
3131
from .conversions import (
3232
serialize_tracker_command_response,
33+
build_grpc_id,
3334
)
3435

3536

@@ -517,7 +518,9 @@ def inspect_geometry(self, **kwargs) -> dict: # noqa: D102
517518
from ansys.api.geometry.v0.repairtools_pb2 import InspectGeometryRequest
518519

519520
# Create the request - assumes all inputs are valid and of the proper type
520-
request = InspectGeometryRequest(bodies=kwargs.get("body_ids", []))
521+
request = InspectGeometryRequest(
522+
bodies=[build_grpc_id(id) for id in kwargs.get("body_ids", [])]
523+
)
521524

522525
# Call the gRPC service
523526
inspect_result_response = self.stub.InspectGeometry(request)

0 commit comments

Comments
 (0)