Skip to content

Commit 4f1541b

Browse files
committed
Revert "Remove server version check"
This reverts commit 143aa6e.
1 parent 143aa6e commit 4f1541b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ansys/dpf/core/operator_specification.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,9 @@ def _fill_pins(self, binput, to_fill):
444444
)
445445
)
446446
pin_derived_class_type_name = ""
447-
if hasattr(self._api, "operator_specification_get_pin_derived_class_type_name"):
447+
if server_meet_version("7.0", self._server) and hasattr(
448+
self._api, "operator_specification_get_pin_derived_class_type_name"
449+
):
448450
pin_derived_class_type_name = (
449451
self._api.operator_specification_get_pin_derived_class_type_name(
450452
self, binput, i_pin

0 commit comments

Comments
 (0)