Skip to content

Commit d73f2e4

Browse files
chore: auto fixes from pre-commit hooks
1 parent 864a537 commit d73f2e4

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,16 @@
2121
# SOFTWARE.
2222
"""Module containing the Prepare Tools service implementation for v0."""
2323

24-
import grpc
25-
24+
from ansys.api.geometry.v0.models_pb2 import Body
2625
from ansys.api.geometry.v0.preparetools_pb2 import (
2726
CreateEnclosureBoxRequest,
2827
CreateEnclosureCylinderRequest,
2928
CreateEnclosureSphereRequest,
29+
EnclosureOptions as GRPCEnclosureOptions,
3030
)
31-
from ansys.api.geometry.v0.models_pb2 import Body
32-
from ansys.api.geometry.v0.preparetools_pb2 import EnclosureOptions as GRPCEnclosureOptions
31+
import grpc
3332

3433
from ansys.geometry.core.errors import protect_grpc
35-
from ansys.geometry.core.tools.prepare_tools import EnclosureOptions
3634

3735
from ..base.conversions import from_measurement_to_server_length
3836
from ..base.prepare_tools import GRPCPrepareToolsService
@@ -385,7 +383,7 @@ def create_sphere_enclosure(self, **kwargs) -> dict: # noqa: D102
385383
bodies=[Body(id=body.id) for body in kwargs["bodies"]],
386384
radial_distance=kwargs["radial_distance"],
387385
enclosure_options=grpc_enclosure_options,
388-
)
386+
)
389387

390388
# Call the gRPC service
391389
response = self.stub.CreateEnclosureSphere(request)

0 commit comments

Comments
 (0)