Skip to content

Commit 251dca0

Browse files
chore: auto fixes from pre-commit hooks
1 parent 9a35567 commit 251dca0

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

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

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
from .conversions import (
3535
serialize_tracker_command_response,
3636
)
37-
from .conversions import build_grpc_id
37+
3838

3939
class GRPCRepairToolsServiceV0(GRPCRepairToolsService): # noqa: D102
4040
"""Repair tools service for gRPC communication with the Geometry server.
@@ -469,7 +469,7 @@ def find_and_fix_simplify(self, **kwargs) -> dict: # noqa: D102
469469
"modified_bodies_monikers": [],
470470
"complete_command_response": serialized_tracker_response,
471471
}
472-
472+
473473
@protect_grpc
474474
def find_and_fix_stitch_faces(self, **kwargs) -> dict: # noqa: D102
475475
from ansys.api.geometry.v0.repairtools_pb2 import FindStitchFacesRequest
@@ -506,8 +506,8 @@ def find_and_fix_stitch_faces(self, **kwargs) -> dict: # noqa: D102
506506
"found": response.found,
507507
"repaired": response.repaired,
508508
"complete_command_response": serialized_tracker_response,
509-
}
510-
509+
}
510+
511511
@protect_grpc
512512
def inspect_geometry(self, **kwargs) -> dict: # noqa: D102
513513
from ansys.api.geometry.v0.repairtools_pb2 import InspectGeometryRequest
@@ -549,14 +549,15 @@ def fix_duplicate_faces(self, **kwargs) -> dict: # noqa: D102
549549
response = self.stub.FixDuplicateFaces(request)
550550

551551
serialized_tracker_response = serialize_tracker_command_response(
552-
response=response.result.complete_command_response)
553-
552+
response=response.result.complete_command_response
553+
)
554+
554555
# Return the response - formatted as a dictionary
555556
return {
556557
"tracker_response": serialized_tracker_response,
557558
"repair_tracker_response": self.__serialize_message_response(response),
558-
}
559-
559+
}
560+
560561
@protect_grpc
561562
def fix_missing_faces(self, **kwargs) -> dict: # noqa: D102
562563
from ansys.api.geometry.v0.repairtools_pb2 import FixMissingFacesRequest
@@ -754,7 +755,7 @@ def fix_interference(self, **kwargs) -> dict: # noqa: D102
754755
"tracker_response": serialized_tracker_response,
755756
"repair_tracker_response": self.__serialize_message_response(response),
756757
}
757-
758+
758759
def __serialize_inspect_result_response(self, response) -> dict: # noqa: D102
759760
def serialize_body(body):
760761
return {
@@ -807,7 +808,7 @@ def serialize_issue(issue):
807808
}
808809
for body_issues in response.issues_by_body
809810
]
810-
}
811+
}
811812

812813
def __serialize_message_response(self, response):
813814
return {

0 commit comments

Comments
 (0)