Skip to content

Commit 917d18f

Browse files
bumping api package version
adding docstring
1 parent 151eabe commit 917d18f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ classifiers = [
2424
]
2525

2626
dependencies = [
27-
"ansys-api-geometry==0.4.46",
27+
"ansys-api-geometry==0.4.47",
2828
"ansys-tools-path>=0.3,<1",
2929
"attrs!=24.3.0",
3030
"beartype>=0.11.0,<0.20",

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,10 @@ def name(self, value: str):
274274
@protect_grpc
275275
@check_input_types
276276
@min_backend_version(25, 2, 0)
277-
def set_name( # noqa: D102
277+
def set_name(
278278
self, name: str
279279
) -> None:
280+
"""Set the name of the component."""
280281
self._grpc_client.log.debug(f"Renaming component {self.id} from '{self.name}' to '{name}'.")
281282
self._component_stub.SetName(
282283
SetObjectNameRequest(id=self._grpc_id, name=name)

0 commit comments

Comments
 (0)