We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0bab11 commit a10e216Copy full SHA for a10e216
src/ansys/fluent/core/workflow.py
@@ -1037,16 +1037,16 @@ def python_name(self) -> str:
1037
return self._python_name
1038
1039
def _get_python_names_for_compound_child(self):
1040
- py_name = (
1041
- self._command_source._parent_of_compound_child
1042
- + "_child_"
1043
- + str(
1044
- self._command_source._compound_child_map[
1045
1046
- ]
+ if self._command_source._parent_of_compound_child:
+ return (
+ self._command_source._parent_of_compound_child
+ + "_child_"
+ + str(
+ self._command_source._compound_child_map[
1047
+ ]
1048
+ )
1049
)
- )
- return py_name
1050
1051
1052
class CompositeTask(BaseTask):
0 commit comments