We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e12930 commit df6b2a9Copy full SHA for df6b2a9
src/ansys/systemcoupling/core/adaptor/impl/injected_commands.py
@@ -242,20 +242,6 @@ def _create_plot_spec(
242
return spec
243
244
245
-def _get_interface_name(
246
- session: SessionProtocol, interface_name: str | None = None
247
-) -> str:
248
- if interface_name is None:
249
- setup = session.setup
250
- interfaces = setup.coupling_interface.get_object_names()
251
- if len(interfaces) == 0:
252
- return
253
- if len(interfaces) > 1:
254
- raise RuntimeError("plots currently only support a single interface.")
255
- interface_name = interfaces[0]
256
- return interface_name
257
-
258
259
def _get_interface_and_transfer_names(
260
session: SessionProtocol, arg_dict: Dict[str, Any]
261
) -> dict[str, list]:
0 commit comments