ansys-fluent-core 0.33.dev0__py3-none-any.whl → 0.33.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ansys-fluent-core might be problematic. Click here for more details.
- ansys/fluent/core/__init__.py +11 -4
- ansys/fluent/core/codegen/builtin_settingsgen.py +17 -9
- ansys/fluent/core/codegen/datamodelgen.py +2 -2
- ansys/fluent/core/codegen/print_fluent_version.py +4 -4
- ansys/fluent/core/codegen/settingsgen.py +1 -2
- ansys/fluent/core/exceptions.py +0 -1
- ansys/fluent/core/file_session.py +9 -9
- ansys/fluent/core/filereader/case_file.py +2 -2
- ansys/fluent/core/fluent_connection.py +5 -5
- ansys/fluent/core/generated/api_tree/api_objects.json +1 -1
- ansys/fluent/core/generated/datamodel_231/flicing.py +40 -40
- ansys/fluent/core/generated/datamodel_231/meshing.py +182 -182
- ansys/fluent/core/generated/datamodel_232/flicing.py +55 -55
- ansys/fluent/core/generated/datamodel_232/meshing.py +174 -174
- ansys/fluent/core/generated/datamodel_241/flicing.py +20 -20
- ansys/fluent/core/generated/datamodel_241/meshing.py +283 -283
- ansys/fluent/core/generated/datamodel_242/flicing.py +40 -40
- ansys/fluent/core/generated/datamodel_242/meshing.py +308 -308
- ansys/fluent/core/generated/datamodel_251/flicing.py +35 -35
- ansys/fluent/core/generated/datamodel_251/meshing.py +295 -295
- ansys/fluent/core/generated/datamodel_251/part_management.py +6 -6
- ansys/fluent/core/generated/datamodel_252/flicing.py +25 -25
- ansys/fluent/core/generated/datamodel_252/meshing.py +424 -424
- ansys/fluent/core/generated/datamodel_252/part_management.py +5 -5
- ansys/fluent/core/generated/datamodel_261/flicing.py +40 -40
- ansys/fluent/core/generated/datamodel_261/meshing.py +443 -425
- ansys/fluent/core/generated/datamodel_261/meshing_utilities.py +296 -616
- ansys/fluent/core/generated/datamodel_261/part_management.py +10 -10
- ansys/fluent/core/generated/datamodel_261/preferences.py +7 -0
- ansys/fluent/core/generated/datamodel_261/solver_workflow.py +7 -0
- ansys/fluent/core/generated/fluent_version_252.py +1 -1
- ansys/fluent/core/generated/fluent_version_261.py +3 -3
- ansys/fluent/core/generated/meshing/tui_261.py +1137 -1177
- ansys/fluent/core/generated/solver/settings_252.py +55 -55
- ansys/fluent/core/generated/solver/settings_261.py +4147 -4698
- ansys/fluent/core/generated/solver/settings_261.pyi +3467 -5578
- ansys/fluent/core/generated/solver/settings_builtin.py +57 -1
- ansys/fluent/core/generated/solver/settings_builtin.pyi +79 -0
- ansys/fluent/core/generated/solver/tui_261.py +2625 -2771
- ansys/fluent/core/launcher/container_launcher.py +7 -9
- ansys/fluent/core/launcher/fluent_container.py +107 -75
- ansys/fluent/core/launcher/launch_options.py +22 -1
- ansys/fluent/core/launcher/launcher.py +5 -4
- ansys/fluent/core/launcher/slurm_launcher.py +1 -0
- ansys/fluent/core/pyfluent_warnings.py +13 -0
- ansys/fluent/core/search.py +170 -83
- ansys/fluent/core/services/app_utilities.py +52 -32
- ansys/fluent/core/services/datamodel_se.py +6 -3
- ansys/fluent/core/services/scheme_eval.py +2 -0
- ansys/fluent/core/services/solution_variables.py +64 -49
- ansys/fluent/core/session.py +36 -30
- ansys/fluent/core/session_base_meshing.py +2 -24
- ansys/fluent/core/session_shared.py +5 -2
- ansys/fluent/core/session_solver.py +15 -9
- ansys/fluent/core/solver/__init__.py +1 -1
- ansys/fluent/core/solver/flobject.py +62 -64
- ansys/fluent/core/solver/settings_builtin_bases.py +14 -7
- ansys/fluent/core/solver/settings_builtin_data.py +121 -540
- ansys/fluent/core/utils/context_managers.py +0 -17
- ansys/fluent/core/utils/fluent_version.py +173 -0
- {ansys_fluent_core-0.33.dev0.dist-info → ansys_fluent_core-0.33.1.dist-info}/METADATA +8 -8
- {ansys_fluent_core-0.33.dev0.dist-info → ansys_fluent_core-0.33.1.dist-info}/RECORD +64 -82
- {ansys_fluent_core-0.33.dev0.dist-info → ansys_fluent_core-0.33.1.dist-info}/WHEEL +1 -1
- ansys/fluent/core/generated/datamodel_222/meshing.py +0 -6332
- ansys/fluent/core/generated/datamodel_222/part_management.py +0 -2072
- ansys/fluent/core/generated/datamodel_222/pm_file_management.py +0 -290
- ansys/fluent/core/generated/datamodel_222/preferences.py +0 -2449
- ansys/fluent/core/generated/datamodel_222/workflow.py +0 -651
- ansys/fluent/core/generated/fluent_version_222.py +0 -5
- ansys/fluent/core/generated/meshing/tui_222.py +0 -9649
- ansys/fluent/core/generated/solver/settings_222.py +0 -29473
- ansys/fluent/core/generated/solver/settings_222.pyi +0 -19590
- ansys/fluent/core/generated/solver/tui_222.py +0 -43451
- ansys/fluent/core/post_objects/__init__.py +0 -21
- ansys/fluent/core/post_objects/check_in_notebook.py +0 -35
- ansys/fluent/core/post_objects/meta.py +0 -926
- ansys/fluent/core/post_objects/post_helper.py +0 -178
- ansys/fluent/core/post_objects/post_object_definitions.py +0 -693
- ansys/fluent/core/post_objects/post_objects_container.py +0 -248
- ansys/fluent/core/post_objects/singleton_meta.py +0 -42
- ansys/fluent/core/post_objects/timing_decorator.py +0 -38
- {ansys_fluent_core-0.33.dev0.dist-info → ansys_fluent_core-0.33.1.dist-info/licenses}/LICENSE +0 -0
|
@@ -1,651 +0,0 @@
|
|
|
1
|
-
#
|
|
2
|
-
# This is an auto-generated file. DO NOT EDIT!
|
|
3
|
-
#
|
|
4
|
-
# pylint: disable=line-too-long
|
|
5
|
-
|
|
6
|
-
from ansys.fluent.core.services.datamodel_se import (
|
|
7
|
-
PyMenu,
|
|
8
|
-
PyParameter,
|
|
9
|
-
PyTextual,
|
|
10
|
-
PyNumerical,
|
|
11
|
-
PyDictionary,
|
|
12
|
-
PyNamedObjectContainer,
|
|
13
|
-
PyCommand,
|
|
14
|
-
PyQuery,
|
|
15
|
-
PyCommandArguments,
|
|
16
|
-
PyTextualCommandArgumentsSubItem,
|
|
17
|
-
PyNumericalCommandArgumentsSubItem,
|
|
18
|
-
PyDictionaryCommandArgumentsSubItem,
|
|
19
|
-
PyParameterCommandArgumentsSubItem,
|
|
20
|
-
PySingletonCommandArgumentsSubItem
|
|
21
|
-
)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
class Root(PyMenu):
|
|
25
|
-
"""
|
|
26
|
-
Singleton Root.
|
|
27
|
-
"""
|
|
28
|
-
def __init__(self, service, rules, path):
|
|
29
|
-
self.TaskObject = self.__class__.TaskObject(service, rules, path + [("TaskObject", "")])
|
|
30
|
-
self.Workflow = self.__class__.Workflow(service, rules, path + [("Workflow", "")])
|
|
31
|
-
self.CreateCompositeTask = self.__class__.CreateCompositeTask(service, rules, "CreateCompositeTask", path)
|
|
32
|
-
self.CreateNewWorkflow = self.__class__.CreateNewWorkflow(service, rules, "CreateNewWorkflow", path)
|
|
33
|
-
self.DeleteTasks = self.__class__.DeleteTasks(service, rules, "DeleteTasks", path)
|
|
34
|
-
self.InitializeWorkflow = self.__class__.InitializeWorkflow(service, rules, "InitializeWorkflow", path)
|
|
35
|
-
self.InsertNewTask = self.__class__.InsertNewTask(service, rules, "InsertNewTask", path)
|
|
36
|
-
self.LoadState = self.__class__.LoadState(service, rules, "LoadState", path)
|
|
37
|
-
self.LoadWorkflow = self.__class__.LoadWorkflow(service, rules, "LoadWorkflow", path)
|
|
38
|
-
self.ResetWorkflow = self.__class__.ResetWorkflow(service, rules, "ResetWorkflow", path)
|
|
39
|
-
self.SaveWorkflow = self.__class__.SaveWorkflow(service, rules, "SaveWorkflow", path)
|
|
40
|
-
super().__init__(service, rules, path)
|
|
41
|
-
|
|
42
|
-
class TaskObject(PyNamedObjectContainer):
|
|
43
|
-
"""
|
|
44
|
-
.
|
|
45
|
-
"""
|
|
46
|
-
class _TaskObject(PyMenu):
|
|
47
|
-
"""
|
|
48
|
-
Singleton _TaskObject.
|
|
49
|
-
"""
|
|
50
|
-
def __init__(self, service, rules, path):
|
|
51
|
-
self.Arguments = self.__class__.Arguments(service, rules, path + [("Arguments", "")])
|
|
52
|
-
self.CommandName = self.__class__.CommandName(service, rules, path + [("CommandName", "")])
|
|
53
|
-
self.Errors = self.__class__.Errors(service, rules, path + [("Errors", "")])
|
|
54
|
-
self.InactiveTaskList = self.__class__.InactiveTaskList(service, rules, path + [("InactiveTaskList", "")])
|
|
55
|
-
self.ObjectPath = self.__class__.ObjectPath(service, rules, path + [("ObjectPath", "")])
|
|
56
|
-
self.State = self.__class__.State(service, rules, path + [("State", "")])
|
|
57
|
-
self.TaskList = self.__class__.TaskList(service, rules, path + [("TaskList", "")])
|
|
58
|
-
self.TaskType = self.__class__.TaskType(service, rules, path + [("TaskType", "")])
|
|
59
|
-
self.Warnings = self.__class__.Warnings(service, rules, path + [("Warnings", "")])
|
|
60
|
-
self._name_ = self.__class__._name_(service, rules, path + [("_name_", "")])
|
|
61
|
-
self.AddChildToTask = self.__class__.AddChildToTask(service, rules, "AddChildToTask", path)
|
|
62
|
-
self.Execute = self.__class__.Execute(service, rules, "Execute", path)
|
|
63
|
-
self.ExecuteUpstreamNonExecutedAndThisTask = self.__class__.ExecuteUpstreamNonExecutedAndThisTask(service, rules, "ExecuteUpstreamNonExecutedAndThisTask", path)
|
|
64
|
-
self.ForceUptoDate = self.__class__.ForceUptoDate(service, rules, "ForceUptoDate", path)
|
|
65
|
-
self.GetNextPossibleTasks = self.__class__.GetNextPossibleTasks(service, rules, "GetNextPossibleTasks", path)
|
|
66
|
-
self.InsertCompositeChildTask = self.__class__.InsertCompositeChildTask(service, rules, "InsertCompositeChildTask", path)
|
|
67
|
-
self.InsertCompoundChildTask = self.__class__.InsertCompoundChildTask(service, rules, "InsertCompoundChildTask", path)
|
|
68
|
-
self.InsertNextTask = self.__class__.InsertNextTask(service, rules, "InsertNextTask", path)
|
|
69
|
-
self.Rename = self.__class__.Rename(service, rules, "Rename", path)
|
|
70
|
-
self.Revert = self.__class__.Revert(service, rules, "Revert", path)
|
|
71
|
-
self.SetAsCurrent = self.__class__.SetAsCurrent(service, rules, "SetAsCurrent", path)
|
|
72
|
-
self.UpdateChildTasks = self.__class__.UpdateChildTasks(service, rules, "UpdateChildTasks", path)
|
|
73
|
-
super().__init__(service, rules, path)
|
|
74
|
-
|
|
75
|
-
class Arguments(PyDictionary):
|
|
76
|
-
"""
|
|
77
|
-
Parameter Arguments of value type dict[str, Any].
|
|
78
|
-
"""
|
|
79
|
-
pass
|
|
80
|
-
|
|
81
|
-
class CommandName(PyTextual):
|
|
82
|
-
"""
|
|
83
|
-
Parameter CommandName of value type str.
|
|
84
|
-
"""
|
|
85
|
-
pass
|
|
86
|
-
|
|
87
|
-
class Errors(PyTextual):
|
|
88
|
-
"""
|
|
89
|
-
Parameter Errors of value type list[str].
|
|
90
|
-
"""
|
|
91
|
-
pass
|
|
92
|
-
|
|
93
|
-
class InactiveTaskList(PyTextual):
|
|
94
|
-
"""
|
|
95
|
-
Parameter InactiveTaskList of value type list[str].
|
|
96
|
-
"""
|
|
97
|
-
pass
|
|
98
|
-
|
|
99
|
-
class ObjectPath(PyTextual):
|
|
100
|
-
"""
|
|
101
|
-
Parameter ObjectPath of value type str.
|
|
102
|
-
"""
|
|
103
|
-
pass
|
|
104
|
-
|
|
105
|
-
class State(PyTextual):
|
|
106
|
-
"""
|
|
107
|
-
Parameter State of value type str.
|
|
108
|
-
"""
|
|
109
|
-
pass
|
|
110
|
-
|
|
111
|
-
class TaskList(PyTextual):
|
|
112
|
-
"""
|
|
113
|
-
Parameter TaskList of value type list[str].
|
|
114
|
-
"""
|
|
115
|
-
pass
|
|
116
|
-
|
|
117
|
-
class TaskType(PyTextual):
|
|
118
|
-
"""
|
|
119
|
-
Parameter TaskType of value type str.
|
|
120
|
-
"""
|
|
121
|
-
pass
|
|
122
|
-
|
|
123
|
-
class Warnings(PyTextual):
|
|
124
|
-
"""
|
|
125
|
-
Parameter Warnings of value type list[str].
|
|
126
|
-
"""
|
|
127
|
-
pass
|
|
128
|
-
|
|
129
|
-
class _name_(PyTextual):
|
|
130
|
-
"""
|
|
131
|
-
Parameter _name_ of value type str.
|
|
132
|
-
"""
|
|
133
|
-
pass
|
|
134
|
-
|
|
135
|
-
class AddChildToTask(PyCommand):
|
|
136
|
-
"""
|
|
137
|
-
Command AddChildToTask.
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
Returns
|
|
141
|
-
-------
|
|
142
|
-
bool
|
|
143
|
-
"""
|
|
144
|
-
class _AddChildToTaskCommandArguments(PyCommandArguments):
|
|
145
|
-
def __init__(self, service, rules, command, path, id):
|
|
146
|
-
super().__init__(service, rules, command, path, id)
|
|
147
|
-
|
|
148
|
-
def create_instance(self) -> _AddChildToTaskCommandArguments:
|
|
149
|
-
args = self._get_create_instance_args()
|
|
150
|
-
if args is not None:
|
|
151
|
-
return self._AddChildToTaskCommandArguments(*args)
|
|
152
|
-
|
|
153
|
-
class Execute(PyCommand):
|
|
154
|
-
"""
|
|
155
|
-
Command Execute.
|
|
156
|
-
|
|
157
|
-
Parameters
|
|
158
|
-
----------
|
|
159
|
-
Force : bool
|
|
160
|
-
|
|
161
|
-
Returns
|
|
162
|
-
-------
|
|
163
|
-
bool
|
|
164
|
-
"""
|
|
165
|
-
class _ExecuteCommandArguments(PyCommandArguments):
|
|
166
|
-
def __init__(self, service, rules, command, path, id):
|
|
167
|
-
super().__init__(service, rules, command, path, id)
|
|
168
|
-
self.Force = self._Force(self, "Force", service, rules, path)
|
|
169
|
-
|
|
170
|
-
class _Force(PyParameterCommandArgumentsSubItem):
|
|
171
|
-
"""
|
|
172
|
-
Argument Force.
|
|
173
|
-
"""
|
|
174
|
-
|
|
175
|
-
def create_instance(self) -> _ExecuteCommandArguments:
|
|
176
|
-
args = self._get_create_instance_args()
|
|
177
|
-
if args is not None:
|
|
178
|
-
return self._ExecuteCommandArguments(*args)
|
|
179
|
-
|
|
180
|
-
class ExecuteUpstreamNonExecutedAndThisTask(PyCommand):
|
|
181
|
-
"""
|
|
182
|
-
Command ExecuteUpstreamNonExecutedAndThisTask.
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
Returns
|
|
186
|
-
-------
|
|
187
|
-
bool
|
|
188
|
-
"""
|
|
189
|
-
class _ExecuteUpstreamNonExecutedAndThisTaskCommandArguments(PyCommandArguments):
|
|
190
|
-
def __init__(self, service, rules, command, path, id):
|
|
191
|
-
super().__init__(service, rules, command, path, id)
|
|
192
|
-
|
|
193
|
-
def create_instance(self) -> _ExecuteUpstreamNonExecutedAndThisTaskCommandArguments:
|
|
194
|
-
args = self._get_create_instance_args()
|
|
195
|
-
if args is not None:
|
|
196
|
-
return self._ExecuteUpstreamNonExecutedAndThisTaskCommandArguments(*args)
|
|
197
|
-
|
|
198
|
-
class ForceUptoDate(PyCommand):
|
|
199
|
-
"""
|
|
200
|
-
Command ForceUptoDate.
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
Returns
|
|
204
|
-
-------
|
|
205
|
-
bool
|
|
206
|
-
"""
|
|
207
|
-
class _ForceUptoDateCommandArguments(PyCommandArguments):
|
|
208
|
-
def __init__(self, service, rules, command, path, id):
|
|
209
|
-
super().__init__(service, rules, command, path, id)
|
|
210
|
-
|
|
211
|
-
def create_instance(self) -> _ForceUptoDateCommandArguments:
|
|
212
|
-
args = self._get_create_instance_args()
|
|
213
|
-
if args is not None:
|
|
214
|
-
return self._ForceUptoDateCommandArguments(*args)
|
|
215
|
-
|
|
216
|
-
class GetNextPossibleTasks(PyCommand):
|
|
217
|
-
"""
|
|
218
|
-
Command GetNextPossibleTasks.
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
Returns
|
|
222
|
-
-------
|
|
223
|
-
bool
|
|
224
|
-
"""
|
|
225
|
-
class _GetNextPossibleTasksCommandArguments(PyCommandArguments):
|
|
226
|
-
def __init__(self, service, rules, command, path, id):
|
|
227
|
-
super().__init__(service, rules, command, path, id)
|
|
228
|
-
|
|
229
|
-
def create_instance(self) -> _GetNextPossibleTasksCommandArguments:
|
|
230
|
-
args = self._get_create_instance_args()
|
|
231
|
-
if args is not None:
|
|
232
|
-
return self._GetNextPossibleTasksCommandArguments(*args)
|
|
233
|
-
|
|
234
|
-
class InsertCompositeChildTask(PyCommand):
|
|
235
|
-
"""
|
|
236
|
-
Command InsertCompositeChildTask.
|
|
237
|
-
|
|
238
|
-
Parameters
|
|
239
|
-
----------
|
|
240
|
-
CommandName : str
|
|
241
|
-
|
|
242
|
-
Returns
|
|
243
|
-
-------
|
|
244
|
-
bool
|
|
245
|
-
"""
|
|
246
|
-
class _InsertCompositeChildTaskCommandArguments(PyCommandArguments):
|
|
247
|
-
def __init__(self, service, rules, command, path, id):
|
|
248
|
-
super().__init__(service, rules, command, path, id)
|
|
249
|
-
self.CommandName = self._CommandName(self, "CommandName", service, rules, path)
|
|
250
|
-
|
|
251
|
-
class _CommandName(PyTextualCommandArgumentsSubItem):
|
|
252
|
-
"""
|
|
253
|
-
Argument CommandName.
|
|
254
|
-
"""
|
|
255
|
-
|
|
256
|
-
def create_instance(self) -> _InsertCompositeChildTaskCommandArguments:
|
|
257
|
-
args = self._get_create_instance_args()
|
|
258
|
-
if args is not None:
|
|
259
|
-
return self._InsertCompositeChildTaskCommandArguments(*args)
|
|
260
|
-
|
|
261
|
-
class InsertCompoundChildTask(PyCommand):
|
|
262
|
-
"""
|
|
263
|
-
Command InsertCompoundChildTask.
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
Returns
|
|
267
|
-
-------
|
|
268
|
-
bool
|
|
269
|
-
"""
|
|
270
|
-
class _InsertCompoundChildTaskCommandArguments(PyCommandArguments):
|
|
271
|
-
def __init__(self, service, rules, command, path, id):
|
|
272
|
-
super().__init__(service, rules, command, path, id)
|
|
273
|
-
|
|
274
|
-
def create_instance(self) -> _InsertCompoundChildTaskCommandArguments:
|
|
275
|
-
args = self._get_create_instance_args()
|
|
276
|
-
if args is not None:
|
|
277
|
-
return self._InsertCompoundChildTaskCommandArguments(*args)
|
|
278
|
-
|
|
279
|
-
class InsertNextTask(PyCommand):
|
|
280
|
-
"""
|
|
281
|
-
Command InsertNextTask.
|
|
282
|
-
|
|
283
|
-
Parameters
|
|
284
|
-
----------
|
|
285
|
-
CommandName : str
|
|
286
|
-
Select : bool
|
|
287
|
-
|
|
288
|
-
Returns
|
|
289
|
-
-------
|
|
290
|
-
bool
|
|
291
|
-
"""
|
|
292
|
-
class _InsertNextTaskCommandArguments(PyCommandArguments):
|
|
293
|
-
def __init__(self, service, rules, command, path, id):
|
|
294
|
-
super().__init__(service, rules, command, path, id)
|
|
295
|
-
self.CommandName = self._CommandName(self, "CommandName", service, rules, path)
|
|
296
|
-
self.Select = self._Select(self, "Select", service, rules, path)
|
|
297
|
-
|
|
298
|
-
class _CommandName(PyTextualCommandArgumentsSubItem):
|
|
299
|
-
"""
|
|
300
|
-
Argument CommandName.
|
|
301
|
-
"""
|
|
302
|
-
|
|
303
|
-
class _Select(PyParameterCommandArgumentsSubItem):
|
|
304
|
-
"""
|
|
305
|
-
Argument Select.
|
|
306
|
-
"""
|
|
307
|
-
|
|
308
|
-
def create_instance(self) -> _InsertNextTaskCommandArguments:
|
|
309
|
-
args = self._get_create_instance_args()
|
|
310
|
-
if args is not None:
|
|
311
|
-
return self._InsertNextTaskCommandArguments(*args)
|
|
312
|
-
|
|
313
|
-
class Rename(PyCommand):
|
|
314
|
-
"""
|
|
315
|
-
Command Rename.
|
|
316
|
-
|
|
317
|
-
Parameters
|
|
318
|
-
----------
|
|
319
|
-
NewName : str
|
|
320
|
-
|
|
321
|
-
Returns
|
|
322
|
-
-------
|
|
323
|
-
bool
|
|
324
|
-
"""
|
|
325
|
-
class _RenameCommandArguments(PyCommandArguments):
|
|
326
|
-
def __init__(self, service, rules, command, path, id):
|
|
327
|
-
super().__init__(service, rules, command, path, id)
|
|
328
|
-
self.NewName = self._NewName(self, "NewName", service, rules, path)
|
|
329
|
-
|
|
330
|
-
class _NewName(PyTextualCommandArgumentsSubItem):
|
|
331
|
-
"""
|
|
332
|
-
Argument NewName.
|
|
333
|
-
"""
|
|
334
|
-
|
|
335
|
-
def create_instance(self) -> _RenameCommandArguments:
|
|
336
|
-
args = self._get_create_instance_args()
|
|
337
|
-
if args is not None:
|
|
338
|
-
return self._RenameCommandArguments(*args)
|
|
339
|
-
|
|
340
|
-
class Revert(PyCommand):
|
|
341
|
-
"""
|
|
342
|
-
Command Revert.
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
Returns
|
|
346
|
-
-------
|
|
347
|
-
bool
|
|
348
|
-
"""
|
|
349
|
-
class _RevertCommandArguments(PyCommandArguments):
|
|
350
|
-
def __init__(self, service, rules, command, path, id):
|
|
351
|
-
super().__init__(service, rules, command, path, id)
|
|
352
|
-
|
|
353
|
-
def create_instance(self) -> _RevertCommandArguments:
|
|
354
|
-
args = self._get_create_instance_args()
|
|
355
|
-
if args is not None:
|
|
356
|
-
return self._RevertCommandArguments(*args)
|
|
357
|
-
|
|
358
|
-
class SetAsCurrent(PyCommand):
|
|
359
|
-
"""
|
|
360
|
-
Command SetAsCurrent.
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
Returns
|
|
364
|
-
-------
|
|
365
|
-
bool
|
|
366
|
-
"""
|
|
367
|
-
class _SetAsCurrentCommandArguments(PyCommandArguments):
|
|
368
|
-
def __init__(self, service, rules, command, path, id):
|
|
369
|
-
super().__init__(service, rules, command, path, id)
|
|
370
|
-
|
|
371
|
-
def create_instance(self) -> _SetAsCurrentCommandArguments:
|
|
372
|
-
args = self._get_create_instance_args()
|
|
373
|
-
if args is not None:
|
|
374
|
-
return self._SetAsCurrentCommandArguments(*args)
|
|
375
|
-
|
|
376
|
-
class UpdateChildTasks(PyCommand):
|
|
377
|
-
"""
|
|
378
|
-
Command UpdateChildTasks.
|
|
379
|
-
|
|
380
|
-
Parameters
|
|
381
|
-
----------
|
|
382
|
-
SetupTypeChanged : bool
|
|
383
|
-
|
|
384
|
-
Returns
|
|
385
|
-
-------
|
|
386
|
-
bool
|
|
387
|
-
"""
|
|
388
|
-
class _UpdateChildTasksCommandArguments(PyCommandArguments):
|
|
389
|
-
def __init__(self, service, rules, command, path, id):
|
|
390
|
-
super().__init__(service, rules, command, path, id)
|
|
391
|
-
self.SetupTypeChanged = self._SetupTypeChanged(self, "SetupTypeChanged", service, rules, path)
|
|
392
|
-
|
|
393
|
-
class _SetupTypeChanged(PyParameterCommandArgumentsSubItem):
|
|
394
|
-
"""
|
|
395
|
-
Argument SetupTypeChanged.
|
|
396
|
-
"""
|
|
397
|
-
|
|
398
|
-
def create_instance(self) -> _UpdateChildTasksCommandArguments:
|
|
399
|
-
args = self._get_create_instance_args()
|
|
400
|
-
if args is not None:
|
|
401
|
-
return self._UpdateChildTasksCommandArguments(*args)
|
|
402
|
-
|
|
403
|
-
def __getitem__(self, key: str) -> _TaskObject:
|
|
404
|
-
return super().__getitem__(key)
|
|
405
|
-
|
|
406
|
-
class Workflow(PyMenu):
|
|
407
|
-
"""
|
|
408
|
-
Singleton Workflow.
|
|
409
|
-
"""
|
|
410
|
-
def __init__(self, service, rules, path):
|
|
411
|
-
self.CurrentTask = self.__class__.CurrentTask(service, rules, path + [("CurrentTask", "")])
|
|
412
|
-
self.TaskList = self.__class__.TaskList(service, rules, path + [("TaskList", "")])
|
|
413
|
-
super().__init__(service, rules, path)
|
|
414
|
-
|
|
415
|
-
class CurrentTask(PyTextual):
|
|
416
|
-
"""
|
|
417
|
-
Parameter CurrentTask of value type str.
|
|
418
|
-
"""
|
|
419
|
-
pass
|
|
420
|
-
|
|
421
|
-
class TaskList(PyTextual):
|
|
422
|
-
"""
|
|
423
|
-
Parameter TaskList of value type list[str].
|
|
424
|
-
"""
|
|
425
|
-
pass
|
|
426
|
-
|
|
427
|
-
class CreateCompositeTask(PyCommand):
|
|
428
|
-
"""
|
|
429
|
-
Command CreateCompositeTask.
|
|
430
|
-
|
|
431
|
-
Parameters
|
|
432
|
-
----------
|
|
433
|
-
ListOfTasks : list[str]
|
|
434
|
-
|
|
435
|
-
Returns
|
|
436
|
-
-------
|
|
437
|
-
bool
|
|
438
|
-
"""
|
|
439
|
-
class _CreateCompositeTaskCommandArguments(PyCommandArguments):
|
|
440
|
-
def __init__(self, service, rules, command, path, id):
|
|
441
|
-
super().__init__(service, rules, command, path, id)
|
|
442
|
-
self.ListOfTasks = self._ListOfTasks(self, "ListOfTasks", service, rules, path)
|
|
443
|
-
|
|
444
|
-
class _ListOfTasks(PyTextualCommandArgumentsSubItem):
|
|
445
|
-
"""
|
|
446
|
-
Argument ListOfTasks.
|
|
447
|
-
"""
|
|
448
|
-
|
|
449
|
-
def create_instance(self) -> _CreateCompositeTaskCommandArguments:
|
|
450
|
-
args = self._get_create_instance_args()
|
|
451
|
-
if args is not None:
|
|
452
|
-
return self._CreateCompositeTaskCommandArguments(*args)
|
|
453
|
-
|
|
454
|
-
class CreateNewWorkflow(PyCommand):
|
|
455
|
-
"""
|
|
456
|
-
Command CreateNewWorkflow.
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
Returns
|
|
460
|
-
-------
|
|
461
|
-
bool
|
|
462
|
-
"""
|
|
463
|
-
class _CreateNewWorkflowCommandArguments(PyCommandArguments):
|
|
464
|
-
def __init__(self, service, rules, command, path, id):
|
|
465
|
-
super().__init__(service, rules, command, path, id)
|
|
466
|
-
|
|
467
|
-
def create_instance(self) -> _CreateNewWorkflowCommandArguments:
|
|
468
|
-
args = self._get_create_instance_args()
|
|
469
|
-
if args is not None:
|
|
470
|
-
return self._CreateNewWorkflowCommandArguments(*args)
|
|
471
|
-
|
|
472
|
-
class DeleteTasks(PyCommand):
|
|
473
|
-
"""
|
|
474
|
-
Command DeleteTasks.
|
|
475
|
-
|
|
476
|
-
Parameters
|
|
477
|
-
----------
|
|
478
|
-
ListOfTasks : list[str]
|
|
479
|
-
|
|
480
|
-
Returns
|
|
481
|
-
-------
|
|
482
|
-
bool
|
|
483
|
-
"""
|
|
484
|
-
class _DeleteTasksCommandArguments(PyCommandArguments):
|
|
485
|
-
def __init__(self, service, rules, command, path, id):
|
|
486
|
-
super().__init__(service, rules, command, path, id)
|
|
487
|
-
self.ListOfTasks = self._ListOfTasks(self, "ListOfTasks", service, rules, path)
|
|
488
|
-
|
|
489
|
-
class _ListOfTasks(PyTextualCommandArgumentsSubItem):
|
|
490
|
-
"""
|
|
491
|
-
Argument ListOfTasks.
|
|
492
|
-
"""
|
|
493
|
-
|
|
494
|
-
def create_instance(self) -> _DeleteTasksCommandArguments:
|
|
495
|
-
args = self._get_create_instance_args()
|
|
496
|
-
if args is not None:
|
|
497
|
-
return self._DeleteTasksCommandArguments(*args)
|
|
498
|
-
|
|
499
|
-
class InitializeWorkflow(PyCommand):
|
|
500
|
-
"""
|
|
501
|
-
Command InitializeWorkflow.
|
|
502
|
-
|
|
503
|
-
Parameters
|
|
504
|
-
----------
|
|
505
|
-
WorkflowType : str
|
|
506
|
-
|
|
507
|
-
Returns
|
|
508
|
-
-------
|
|
509
|
-
bool
|
|
510
|
-
"""
|
|
511
|
-
class _InitializeWorkflowCommandArguments(PyCommandArguments):
|
|
512
|
-
def __init__(self, service, rules, command, path, id):
|
|
513
|
-
super().__init__(service, rules, command, path, id)
|
|
514
|
-
self.WorkflowType = self._WorkflowType(self, "WorkflowType", service, rules, path)
|
|
515
|
-
|
|
516
|
-
class _WorkflowType(PyTextualCommandArgumentsSubItem):
|
|
517
|
-
"""
|
|
518
|
-
Argument WorkflowType.
|
|
519
|
-
"""
|
|
520
|
-
|
|
521
|
-
def create_instance(self) -> _InitializeWorkflowCommandArguments:
|
|
522
|
-
args = self._get_create_instance_args()
|
|
523
|
-
if args is not None:
|
|
524
|
-
return self._InitializeWorkflowCommandArguments(*args)
|
|
525
|
-
|
|
526
|
-
class InsertNewTask(PyCommand):
|
|
527
|
-
"""
|
|
528
|
-
Command InsertNewTask.
|
|
529
|
-
|
|
530
|
-
Parameters
|
|
531
|
-
----------
|
|
532
|
-
CommandName : str
|
|
533
|
-
|
|
534
|
-
Returns
|
|
535
|
-
-------
|
|
536
|
-
bool
|
|
537
|
-
"""
|
|
538
|
-
class _InsertNewTaskCommandArguments(PyCommandArguments):
|
|
539
|
-
def __init__(self, service, rules, command, path, id):
|
|
540
|
-
super().__init__(service, rules, command, path, id)
|
|
541
|
-
self.CommandName = self._CommandName(self, "CommandName", service, rules, path)
|
|
542
|
-
|
|
543
|
-
class _CommandName(PyTextualCommandArgumentsSubItem):
|
|
544
|
-
"""
|
|
545
|
-
Argument CommandName.
|
|
546
|
-
"""
|
|
547
|
-
|
|
548
|
-
def create_instance(self) -> _InsertNewTaskCommandArguments:
|
|
549
|
-
args = self._get_create_instance_args()
|
|
550
|
-
if args is not None:
|
|
551
|
-
return self._InsertNewTaskCommandArguments(*args)
|
|
552
|
-
|
|
553
|
-
class LoadState(PyCommand):
|
|
554
|
-
"""
|
|
555
|
-
Command LoadState.
|
|
556
|
-
|
|
557
|
-
Parameters
|
|
558
|
-
----------
|
|
559
|
-
ListOfRoots : list[str]
|
|
560
|
-
|
|
561
|
-
Returns
|
|
562
|
-
-------
|
|
563
|
-
bool
|
|
564
|
-
"""
|
|
565
|
-
class _LoadStateCommandArguments(PyCommandArguments):
|
|
566
|
-
def __init__(self, service, rules, command, path, id):
|
|
567
|
-
super().__init__(service, rules, command, path, id)
|
|
568
|
-
self.ListOfRoots = self._ListOfRoots(self, "ListOfRoots", service, rules, path)
|
|
569
|
-
|
|
570
|
-
class _ListOfRoots(PyTextualCommandArgumentsSubItem):
|
|
571
|
-
"""
|
|
572
|
-
Argument ListOfRoots.
|
|
573
|
-
"""
|
|
574
|
-
|
|
575
|
-
def create_instance(self) -> _LoadStateCommandArguments:
|
|
576
|
-
args = self._get_create_instance_args()
|
|
577
|
-
if args is not None:
|
|
578
|
-
return self._LoadStateCommandArguments(*args)
|
|
579
|
-
|
|
580
|
-
class LoadWorkflow(PyCommand):
|
|
581
|
-
"""
|
|
582
|
-
Command LoadWorkflow.
|
|
583
|
-
|
|
584
|
-
Parameters
|
|
585
|
-
----------
|
|
586
|
-
FilePath : str
|
|
587
|
-
|
|
588
|
-
Returns
|
|
589
|
-
-------
|
|
590
|
-
bool
|
|
591
|
-
"""
|
|
592
|
-
class _LoadWorkflowCommandArguments(PyCommandArguments):
|
|
593
|
-
def __init__(self, service, rules, command, path, id):
|
|
594
|
-
super().__init__(service, rules, command, path, id)
|
|
595
|
-
self.FilePath = self._FilePath(self, "FilePath", service, rules, path)
|
|
596
|
-
|
|
597
|
-
class _FilePath(PyTextualCommandArgumentsSubItem):
|
|
598
|
-
"""
|
|
599
|
-
Argument FilePath.
|
|
600
|
-
"""
|
|
601
|
-
|
|
602
|
-
def create_instance(self) -> _LoadWorkflowCommandArguments:
|
|
603
|
-
args = self._get_create_instance_args()
|
|
604
|
-
if args is not None:
|
|
605
|
-
return self._LoadWorkflowCommandArguments(*args)
|
|
606
|
-
|
|
607
|
-
class ResetWorkflow(PyCommand):
|
|
608
|
-
"""
|
|
609
|
-
Command ResetWorkflow.
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
Returns
|
|
613
|
-
-------
|
|
614
|
-
bool
|
|
615
|
-
"""
|
|
616
|
-
class _ResetWorkflowCommandArguments(PyCommandArguments):
|
|
617
|
-
def __init__(self, service, rules, command, path, id):
|
|
618
|
-
super().__init__(service, rules, command, path, id)
|
|
619
|
-
|
|
620
|
-
def create_instance(self) -> _ResetWorkflowCommandArguments:
|
|
621
|
-
args = self._get_create_instance_args()
|
|
622
|
-
if args is not None:
|
|
623
|
-
return self._ResetWorkflowCommandArguments(*args)
|
|
624
|
-
|
|
625
|
-
class SaveWorkflow(PyCommand):
|
|
626
|
-
"""
|
|
627
|
-
Command SaveWorkflow.
|
|
628
|
-
|
|
629
|
-
Parameters
|
|
630
|
-
----------
|
|
631
|
-
FilePath : str
|
|
632
|
-
|
|
633
|
-
Returns
|
|
634
|
-
-------
|
|
635
|
-
bool
|
|
636
|
-
"""
|
|
637
|
-
class _SaveWorkflowCommandArguments(PyCommandArguments):
|
|
638
|
-
def __init__(self, service, rules, command, path, id):
|
|
639
|
-
super().__init__(service, rules, command, path, id)
|
|
640
|
-
self.FilePath = self._FilePath(self, "FilePath", service, rules, path)
|
|
641
|
-
|
|
642
|
-
class _FilePath(PyTextualCommandArgumentsSubItem):
|
|
643
|
-
"""
|
|
644
|
-
Argument FilePath.
|
|
645
|
-
"""
|
|
646
|
-
|
|
647
|
-
def create_instance(self) -> _SaveWorkflowCommandArguments:
|
|
648
|
-
args = self._get_create_instance_args()
|
|
649
|
-
if args is not None:
|
|
650
|
-
return self._SaveWorkflowCommandArguments(*args)
|
|
651
|
-
|