File: Node.rst

package info (click to toggle)
ecflow 5.15.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,868 kB
  • sloc: cpp: 269,341; python: 22,756; sh: 3,609; perl: 770; xml: 333; f90: 204; ansic: 141; makefile: 70
file content (1399 lines) | stat: -rw-r--r-- 40,890 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
ecflow.Node
///////////


.. py:class:: Node
   :module: ecflow

   Bases: :py:class:`~Boost.Python.instance`

A Node class is the abstract base class for Suite, Family and Task

Every Node instance has a name, and a path relative to a suite


.. py:method:: Node.add
   :module: ecflow

object add(tuple args, dict kwds) :
    add(..) provides a way to append Nodes and attributes
    
    This is best illustrated with an example:
    
    .. code-block:: python
    
     defs = Defs().add(
         Suite('s1').add(
             Clock(1, 1, 2010, False),
             Autocancel(1, 10, True),
             Task('t1').add(
                 Edit({'a':'12', 'b':'bb'}, c='v',d='b'),
                 Edit(g='d'),
                 Edit(h=1),
                 Event(1),
                 Event(11,'event'),
                 Meter('meter',0,10,10),
                 Label('label','c'),
                 Trigger('1==1'),
                 Complete('1==1'),
                 Limit('limit',10),Limit('limit2',10),
                 InLimit('limitName','/limit',2),
                 Defstatus(DState.complete),
                 Today(0,30),Today('00:59'),Today('00:00 11:30 00:01'),
                 Time(0,30),Time('00:59'),Time('00:00 11:30 00:01'),
                 Day('sunday'),Day(Days.monday),
                 Date(1,1,0),Date(28,2,1960),
                 Autocancel(3)
                 ),
             [ Family('f{}'.format(i)) for i in range(1,6)]))
    
    We can also use '+=' with a list here are a few examples:
    
    .. code-block:: python
    
     defs = Defs();
     defs += [ Suite('s2'),Edit({ 'x1':'y', 'aa1':'bb'}, a='v',b='b') ]
    
    .. code-block:: python
    
     defs += [ Suite('s{}'.format(i)) for i in range(1,6) ]
    
    .. code-block:: python
    
     defs = Defs()
     defs += [ Suite('suite').add(
                  Task('x'),
                  Family('f').add( [ Task('t{}'.format(i)) for i in range(1,6)] ),
                  Task('y'),
                  [ Family('f{}'.format(i)) for i in range(1,6) ],
                  Edit(a='b'),
                  [ Task('t{}'.format(i)) for i in range(1,6) ],
                  )]
    
    It is also possible to use '+'
    
    .. code-block:: python
    
     defs = Defs() + Suite('s1')
     defs.s1 += Autocancel(1, 10, True)
     defs.s1 += Task('t1') + Edit({ 'e':1, 'f':'bb'}) +\ 
                Event(1) + Event(11,'event') + Meter('meter',0,10,10) + Label('label','c') + Trigger('1==1') +\ 
                Complete('1==1') + Limit('limit',10) + Limit('limit2',10) + InLimit('limitName','/limit',2) +\ 
                Defstatus(DState.complete) + Today(0,30) + Today('00:59') + Today('00:00 11:30 00:01') +\ 
                Time(0,30) + Time('00:59') + Time('00:00 11:30 00:01') + Day('sunday') + Day(Days.monday) +\ 
                Date(1,1,0) + Date(28,2,1960) + Autocancel(3)
    
    .. warning:: We can only use '+' when the left most object is a node, i.e Task('t1') in this case


.. py:method:: Node.add_autoarchive( (Node)arg1, (int)days [, (bool)idle=False]) -> Node :
   :module: ecflow

Add a `autoarchive` attribute. See :py:class:`ecflow.Autoarchive`
    
    Provides a way to automatically archive a suite/family which has completed.(i.e remove children)
    This is required when dealing with super large suite/families, they can be archived off, and then restored later.
    The node can be recovered using 'autorestore',begin,re-queue and manually via ecflow_client --restore.
    The archived node is written to disk, as ECF_HOME/<host>.<port>.ECF_NAME.check,
    where '/' is replaced with ':' in ECF_NAME.
    The removal may be delayed by an amount of time in hours and minutes or expressed as days
    Node removal is not immediate. The nodes are checked once a minute
    A Node may only have one autoarchive attribute
    
    Exception:
    
    - Throws a RuntimeError if more than one auto archive is added
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1')
      t1.add_autoarchive( Autoarchive(20,10,False) )  # hour,min, relative
      t2 = Task('t2')
      t2.add_autoarchive( 3 )                        # 3 days 
      t3 = Task('t3')
      t3.add_autoarchive( 20,10,True )               # hour,minutes,relative
      t4 = Task('t4')
      t4.add_autoarchive( TimeSlot(20,10),True )     # hour,minutes,relative
    
      # we can also create a Autoarchive in the Task constructor like any other attribute
      t2 = Task('t2',
                Autoarchive(20,10,False))
    

add_autoarchive( (Node)arg1, (int)hour, (int)min, (bool)relative [, (bool)idle=False]) -> Node

add_autoarchive( (Node)arg1, (TimeSlot)TimeSlot, (bool)relative [, (bool)idle=False]) -> Node

add_autoarchive( (Node)arg1, (Autoarchive)arg2) -> Node


.. py:method:: Node.add_autocancel( (Node)arg1, (int)arg2) -> Node :
   :module: ecflow

Add a `autocancel` attribute. See :py:class:`ecflow.Autocancel`
    
    This will delete the node on completion. The deletion may be delayed by
    an amount of time in hours and minutes or expressed as days
    Node deletion is not immediate. The nodes are checked once a minute
    and expired auto cancel nodes are deleted
    A node may only have one auto cancel attribute
    
    Exception:
    
    - Throws a RuntimeError if more than one auto cancel is added
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1')
      t1.add_autocancel( Autocancel(20,10,False) )  # hour,min, relative
      t2 = Task('t2')
      t2.add_autocancel( 3 )                        # 3 days 
      t3 = Task('t3')
      t3.add_autocancel( 20,10,True )               # hour,minutes,relative
      t4 = Task('t4')
      t4.add_autocancel( TimeSlot(20,10),True )     # hour,minutes,relative
    
      # we can also create a Autocancel in the Task constructor like any other attribute
      t2 = Task('t2',
                Autocancel(20,10,False))
    

add_autocancel( (Node)arg1, (int)arg2, (int)arg3, (bool)arg4) -> Node

add_autocancel( (Node)arg1, (TimeSlot)arg2, (bool)arg3) -> Node

add_autocancel( (Node)arg1, (Autocancel)arg2) -> Node


.. py:method:: Node.add_autorestore( (Node)arg1, (Autorestore)arg2) -> Node :
   :module: ecflow

Add a `autorestore` attribute. See :py:class:`ecflow.Autorestore`
    
    Auto-restore is used to automatically restore a previously auto-archived node.
    The restore will fail if:
    
     - The node has not been archived
     - The node has children.
     - The file ECF_HOME/<host>.<port>.ECF_NAME.check does not exist
    
    Exception:
    
    - Throws a RuntimeError if more than one autorestore is added
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1')
      t1.add_autorestore( ['/s1/f1'] )   
      t2 = Task('t2')
      t2.add_autorestore( Autorestore(['/s2/f1','/s1/f2']) )  
      # we can also create a Autorestore in the Task constructor like any other attribute
      t2 = Task('t2', Autorestore(['/s2/f1','/s1/f2'] ))
    

add_autorestore( (Node)arg1, (list)arg2) -> Node


.. py:method:: Node.add_aviso( (Node)arg1, (AvisoAttr)arg2) -> Node :
   :module: ecflow

Adds an :term:`aviso` to a :term:`node`. See :py:class:`ecflow.Aviso`
    


.. py:method:: Node.add_complete( (Node)arg1, (str)arg2) -> Node :
   :module: ecflow

Add a :term:`trigger` or :term:`complete expression`.Also see :py:class:`ecflow.Trigger`
    
    This defines a dependency for a :term:`node`.
    There can only be one :term:`trigger` or :term:`complete expression` dependency per node.
    A :term:`node` with a trigger can only be activated when the trigger has expired.
    A trigger holds a node as long as the expression returns false.
    
    Exception:
    
    - Will throw RuntimeError if multiple trigger or complete expression are added
    - Will throw RuntimeError if first expression is added as 'AND' or 'OR' expression
      Like wise second and subsequent expression must have 'AND' or 'OR' booleans set
    
    Usage:
    
    Note we cannot make multiple add_trigger(..) calls on the same :term:`task`!
    to add a simple trigger:
    
    .. code-block:: python
    
      task1.add_trigger( 't2 == active' )
      task2.add_trigger( 't1 == complete or t4 == complete' )
      task3.add_trigger( 't5 == active' )
    
    Long expression can be broken up using add_part_trigger:
    
    .. code-block:: python
    
      task2.add_part_trigger( 't1 == complete or t4 == complete')
      task2.add_part_trigger( 't5 == active',True)  # True means  AND
      task2.add_part_trigger( 't7 == active',False) # False means OR
    
    The trigger for task2 is equivalent to:
    't1 == complete or t4 == complete and t5 == active or t7 == active'

add_complete( (Node)arg1, (Expression)arg2) -> Node


.. py:method:: Node.add_cron( (Node)arg1, (Cron)arg2) -> Node :
   :module: ecflow

Add a :term:`cron` time dependency. See :py:class:`ecflow.Cron`


Usage:

.. code-block:: python

  start = TimeSlot(0,0)
  finish = TimeSlot(23,0)
  incr = TimeSlot(0,30)
  time_series = TimeSeries( start, finish, incr, True)
  cron = Cron()
  cron.set_week_days( [0,1,2,3,4,5,6] )
  cron.set_days_of_month( [1,2,3,4,5,6] )
  cron.set_months( [1,2,3,4,5,6] )
  cron.set_time_series( time_series )
  t1 = Task('t1')
  t1.add_cron( cron )

  # we can also create a Cron in the Task constructor like any other attribute
  t2 = Task('t2',
            Cron('+00:00 23:00 00:30',days_of_week=[0,1,2,3,4,5,6],days_of_month=[1,2,3,4,5,6],months=[1,2,3,4,5,6]))


.. py:method:: Node.add_date( (Node)arg1, (int)arg2, (int)arg3, (int)arg4) -> Node :
   :module: ecflow

Add a :term:`date` time dependency. See :py:class:`ecflow.Date`
    
    A value of zero for day,month,year means every day, every month, every year
    
    Exception:
    
    - Throws RuntimeError if an invalid date is added
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1',
                Date('1.*.*'),
                Date(1,1,2010)))    # Create Date in place
    
      t1.add_date( Date(1,1,2010) ) # day,month,year
      t1.add_date( 2,1,2010)        # day,month,year
      t1.add_date( 1,0,0)           # day,month,year, the first of each month for every year
    

add_date( (Node)arg1, (Date)arg2) -> Node


.. py:method:: Node.add_day( (Node)arg1, (Days)arg2) -> Node :
   :module: ecflow

Add a :term:`day` time dependency. See :py:class:`ecflow.Day`
    
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1',
                Day('sunday'))  # Create Day on Task creation
    
      t1.add_day( Day(Days.sunday) )
      t1.add_day( Days.monday)
      t1.add_day( 'tuesday' )
    

add_day( (Node)arg1, (str)arg2) -> Node

add_day( (Node)arg1, (Day)arg2) -> Node


.. py:method:: Node.add_defstatus( (Node)arg1, (DState)arg2) -> Node :
   :module: ecflow

Set the default status( :term:`defstatus` ) of node at begin or re queue. See :py:class:`ecflow.Defstatus`
    
    A :term:`defstatus` is useful in preventing suites from running automatically
    once begun, or in setting Task's complete so they can be run selectively
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1') + Defstatus('complete')
      t2 = Task('t2').add_defstatus( DState.suspended )
    
      # we can also create a Defstatus in the Task constructor like any other attribute
      t2 = Task('t3',
                Defstatus('complete'))
    

add_defstatus( (Node)arg1, (Defstatus)arg2) -> Node :
    Set the default status( :term:`defstatus` ) of node at begin or re queue. See :py:class:`ecflow.Defstatus`
    
    A :term:`defstatus` is useful in preventing suites from running automatically
    once begun, or in setting Task's complete so they can be run selectively
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1') + Defstatus('complete')
      t2 = Task('t2').add_defstatus( DState.suspended )
    
      # we can also create a Defstatus in the Task constructor like any other attribute
      t2 = Task('t3',
                Defstatus('complete'))
    


.. py:method:: Node.add_event( (Node)arg1, (Event)arg2) -> Node :
   :module: ecflow

Add a :term:`event`. See :py:class:`ecflow.Event`
    Events can be referenced in :term:`trigger` and :term:`complete expression`\ s
    
    
    Exception:
    
    - Throws RuntimeError if a duplicate is added
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1',
                Event(12),
                Event(11,'eventx'))             # Create events on Task creation
    
      t1.add_event( Event(10) )                 # Create with function on Task
      t1.add_event( Event(11,'Eventname') )
      t1.add_event( 12 )
      t1.add_event( 13, 'name')
    
    To reference event 'flag' in a trigger:
    
    .. code-block:: python
    
      t1.add_event('flag')
      t2 = Task('t2',
                Trigger('t1:flag == set'))

add_event( (Node)arg1, (int)arg2) -> Node

add_event( (Node)arg1, (int)arg2, (str)arg3) -> Node

add_event( (Node)arg1, (str)arg2) -> Node


.. py:method:: Node.add_generic( (Node)arg1, (Generic)arg2) -> Node
   :module: ecflow

add_generic( (Node)arg1, (str)arg2, (list)arg3) -> Node


.. py:method:: Node.add_inlimit( (Node)arg1, (str)limit_name [, (str)path_to_node_containing_limit='' [, (int)tokens=1 [, (bool)limit_this_node_only=False]]]) -> Node :
   :module: ecflow

Adds a :term:`inlimit` to a :term:`node`. See :py:class:`ecflow.InLimit`
    
    InLimit reference a :term:`limit`/:py:class:`ecflow.Limit`. Duplicate InLimits are not allowed
    
    Exception:
    
    - Throws RuntimeError if a duplicate is added
    
    Usage:
    
    .. code-block:: python
    
      task2.add_inlimit( InLimit('limitName','/s1/f1',2) )
      task2.add_inlimit( 'limitName','/s1/f1',2 )
    

add_inlimit( (Node)arg1, (InLimit)arg2) -> Node


.. py:method:: Node.add_label( (Node)arg1, (str)arg2, (str)arg3) -> Node :
   :module: ecflow

Adds a :term:`label` to a :term:`node`. See :py:class:`ecflow.Label`
    
    Labels can be updated from the jobs files, via :term:`child command`
    
    Exception:
    
    - Throws RuntimeError if a duplicate label name is added
    
    Usage:
    
    .. code-block:: python
    
      task.add_label( Label('TEA','/me/'))
      task.add_label( 'Joe','/me/')
    
    The corresponding child command in the .ecf script file might be:
    
    .. code-block:: shell
    
      ecflow_client --label=TEA time
      ecflow_client --label=Joe ninety
    

add_label( (Node)arg1, (Label)arg2) -> Node


.. py:method:: Node.add_late( (Node)arg1, (Late)arg2) -> Node :
   :module: ecflow

Add a :term:`late` attribute. See :py:class:`ecflow.Late`


Exception:

- Throws a RuntimeError if more than one late is added

Usage:

.. code-block:: python

  late = Late()
  late.submitted( 20,10 )     # hour,minute
  late.active(    20,10 )     # hour,minute
  late.complete(  20,10,True) # hour,minute,relative
  t1 = Task('t1')
  t1.add_late( late )

  # we can also create a Late in the Task constructor like any other attribute
  t2 = Task('t2',
            Late(submitted='20:10',active='20:10',complete='+20:10'))


.. py:method:: Node.add_limit( (Node)arg1, (str)arg2, (int)arg3) -> Node :
   :module: ecflow

Adds a :term:`limit` to a :term:`node` for simple load management. See :py:class:`ecflow.Limit`
    
    Multiple limits can be added, however the limit name must be unique.
    For a node to be in a limit, a :term:`inlimit` must be used.
    
    Exception:
    
    - Throws RuntimeError if a duplicate limit name is added
    
    Usage:
    
    .. code-block:: python
    
      family.add_limit( Limit('load',12) )
      family.add_limit( 'load',12 )
    

add_limit( (Node)arg1, (Limit)arg2) -> Node


.. py:method:: Node.add_meter( (Node)arg1, (Meter)arg2) -> Node :
   :module: ecflow

Add a :term:`meter`. See :py:class:`ecflow.Meter`
    Meters can be referenced in :term:`trigger` and :term:`complete expression`\ s
    
    
    Exception:
    
    - Throws RuntimeError if a duplicate is added
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1',
                Meter('met',0,50))                   # create Meter on Task creation
      t1.add_meter( Meter('metername',0,100,50) )  # create Meter using function
      t1.add_meter( 'meter',0,200)
    
    To reference in a trigger:
    
    .. code-block:: python
    
      t2 = Task('t2')
      t2.add_trigger('t1:meter >= 10')
    

add_meter( (Node)arg1, (str)arg2, (int)arg3, (int)arg4 [, (int)arg5]) -> Node


.. py:method:: Node.add_mirror( (Node)arg1, (MirrorAttr)arg2) -> Node :
   :module: ecflow

Adds a :term:`mirror` to a :term:`node`. See :py:class:`ecflow.Mirror`
    


.. py:method:: Node.add_part_complete( (Node)arg1, (PartExpression)arg2) -> Node :
   :module: ecflow

Add a :term:`trigger` or :term:`complete expression`.Also see :py:class:`ecflow.Trigger`
    
    This defines a dependency for a :term:`node`.
    There can only be one :term:`trigger` or :term:`complete expression` dependency per node.
    A :term:`node` with a trigger can only be activated when the trigger has expired.
    A trigger holds a node as long as the expression returns false.
    
    Exception:
    
    - Will throw RuntimeError if multiple trigger or complete expression are added
    - Will throw RuntimeError if first expression is added as 'AND' or 'OR' expression
      Like wise second and subsequent expression must have 'AND' or 'OR' booleans set
    
    Usage:
    
    Note we cannot make multiple add_trigger(..) calls on the same :term:`task`!
    to add a simple trigger:
    
    .. code-block:: python
    
      task1.add_trigger( 't2 == active' )
      task2.add_trigger( 't1 == complete or t4 == complete' )
      task3.add_trigger( 't5 == active' )
    
    Long expression can be broken up using add_part_trigger:
    
    .. code-block:: python
    
      task2.add_part_trigger( 't1 == complete or t4 == complete')
      task2.add_part_trigger( 't5 == active',True)  # True means  AND
      task2.add_part_trigger( 't7 == active',False) # False means OR
    
    The trigger for task2 is equivalent to:
    't1 == complete or t4 == complete and t5 == active or t7 == active'

add_part_complete( (Node)arg1, (str)arg2) -> Node

add_part_complete( (Node)arg1, (str)arg2, (bool)arg3) -> Node


.. py:method:: Node.add_part_trigger( (Node)arg1, (PartExpression)arg2) -> Node :
   :module: ecflow

Add a :term:`trigger` or :term:`complete expression`.Also see :py:class:`ecflow.Trigger`
    
    This defines a dependency for a :term:`node`.
    There can only be one :term:`trigger` or :term:`complete expression` dependency per node.
    A :term:`node` with a trigger can only be activated when the trigger has expired.
    A trigger holds a node as long as the expression returns false.
    
    Exception:
    
    - Will throw RuntimeError if multiple trigger or complete expression are added
    - Will throw RuntimeError if first expression is added as 'AND' or 'OR' expression
      Like wise second and subsequent expression must have 'AND' or 'OR' booleans set
    
    Usage:
    
    Note we cannot make multiple add_trigger(..) calls on the same :term:`task`!
    to add a simple trigger:
    
    .. code-block:: python
    
      task1.add_trigger( 't2 == active' )
      task2.add_trigger( 't1 == complete or t4 == complete' )
      task3.add_trigger( 't5 == active' )
    
    Long expression can be broken up using add_part_trigger:
    
    .. code-block:: python
    
      task2.add_part_trigger( 't1 == complete or t4 == complete')
      task2.add_part_trigger( 't5 == active',True)  # True means  AND
      task2.add_part_trigger( 't7 == active',False) # False means OR
    
    The trigger for task2 is equivalent to:
    't1 == complete or t4 == complete and t5 == active or t7 == active'

add_part_trigger( (Node)arg1, (str)arg2) -> Node

add_part_trigger( (Node)arg1, (str)arg2, (bool)arg3) -> Node


.. py:method:: Node.add_queue( (Node)arg1, (Queue)arg2) -> Node
   :module: ecflow

add_queue( (Node)arg1, (str)arg2, (list)arg3) -> Node


.. py:method:: Node.add_repeat( (Node)arg1, (RepeatDate)arg2) -> Node :
   :module: ecflow

Add a RepeatDate attribute. See :py:class:`ecflow.RepeatDate`
    
    A node can only have one repeat
    Reference to a RepeatDate in a trigger will use date arithmetic in a sub expression. i.e.
    Here (/suite/family:YMD + 1) uses date arithmetic only, the result is still an integer
    
       trigger /suite/family:YMD + 1 > 20190101
    
    Exception:
    
    - Throws a RuntimeError if more than one repeat is added
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1')
      t1.add_repeat( RepeatDate('YMD',20100111,20100115) )
    
      # we can also create a repeat in Task constructor like any other attribute
      t2 = Task('t2',
                RepeatDate('YMD',20100111,20100115))
    

add_repeat( (Node)arg1, (RepeatDateTime)arg2) -> Node :
    Add a RepeatDateTime attribute. See :py:class:`ecflow.RepeatDateTime`
    
    A node can only have one repeat.
    When a RepeatDateTime is used in a trigger expression, the arithmetic value of the Repeat decays to second.
    For example, the expression `/suite/family:DATETIME + 1` is evaluated as the number of seconds represented by `/suite/family:DT` (since the reference epoch, i.e. 19700101T000000) plus 1.The result is an integer.
    
       trigger /suite/family:DT + 1 > 123456
    
    Exception:
    
    - Throws a RuntimeError if more than one repeat is added
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1')
      t1.add_repeat(RepeatDateTime('DT', '20100111T120000', '20100115T000000', '12:00:00'))
    
      # we can also create a repeat in Task constructor like any other attribute
      t2 = Task('t2',
                RepeatDateTime('DT', '20100101T000000', '20100115T000000', '1:00:00'))
    

add_repeat( (Node)arg1, (RepeatDateList)arg2) -> Node :
    Add a RepeatDateList attribute. See :py:class:`ecflow.RepeatDateList`
    
    A node can only have one repeat
    Reference to a RepeatDateList in a trigger will use date arithmetic. i.e.
    Here (/suite/family:YMD + 1) uses date arithmetic only, the result is still an integer:
    
    .. code-block:: python
    
      trigger /suite/family:YMD + 1 > 20190101
    
    
    Exception:
    
    - Throws a RuntimeError if more than one repeat is added
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1')
      t1.add_repeat( RepeatDateList('YMD',[20100111,20100115]) )
    
      # we can also create a repeat in Task constructor like any other attribute
      t2 = Task('t2',
                RepeatDateList('YMD',[20100111,20100115]))
    

add_repeat( (Node)arg1, (RepeatInteger)arg2) -> Node :
    Add a RepeatInteger attribute. See :py:class:`ecflow.RepeatInteger`
    
    A node can only have one :term:`repeat`
    
    Exception:
    
    - Throws a RuntimeError if more than one repeat is added
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1')
      t1.add_repeat( RepeatInteger('testInteger',0,100,2) )
    
      # we can also create a repeat in Task constructor like any other attribute
      t2 = Task('t2',
                RepeatInteger('testInteger',0,100,2))
    

add_repeat( (Node)arg1, (RepeatString)arg2) -> Node :
    Add a RepeatString attribute. See :py:class:`ecflow.RepeatString`
    
    A node can only have one :term:`repeat`
    
    Exception:
    
    - Throws a RuntimeError if more than one repeat is added
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1')
      t1.add_repeat( RepeatString('test_string',['a', 'b', 'c' ] ) )
    
      # we can also create a repeat in Task constructor like any other attribute
      t2 = Task('t2',
                RepeatString('test_string',['a', 'b', 'c' ] ) )
    

add_repeat( (Node)arg1, (RepeatEnumerated)arg2) -> Node :
    Add a RepeatEnumerated attribute. See :py:class:`ecflow.RepeatEnumerated`
    
    A node can only have one :term:`repeat`
    
    Exception:
    
    - Throws a RuntimeError if more than one repeat is added
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1')
      t1.add_repeat( RepeatEnumerated('test_string', ['red', 'green', 'blue' ] ) )
    
      # we can also create a repeat in Task constructor like any other attribute
      t2 = Task('t2',
                RepeatEnumerated('test_string', ['red', 'green', 'blue' ] ) )
    

add_repeat( (Node)arg1, (RepeatDay)arg2) -> Node :
    Add a RepeatDay attribute. See :py:class:`ecflow.RepeatDay`
    
    A node can only have one :term:`repeat`
    
    Exception:
    
    - Throws a RuntimeError if more than one repeat is added
    
    Usage:
    
    .. code-block:: python
    
      t2 = Task('t2',
                RepeatDay(1))
    


.. py:method:: Node.add_time( (Node)arg1, (int)arg2, (int)arg3) -> Node :
   :module: ecflow

Add a :term:`time` dependency. See :py:class:`ecflow.Time`
    
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1', Time('+00:30 20:00 01:00')) # Create Time in Task constructor
      t1.add_time( '00:30' )
      t1.add_time( '+00:30' )
      t1.add_time( '+00:30 20:00 01:00' )
      t1.add_time( Time( 0,10 ))      # hour,min,relative =false
      t1.add_time( Time( 0,12,True )) # hour,min,relative
      t1.add_time( Time(TimeSlot(20,20),False))
      t1.add_time( 0,1 ))              # hour,min,relative=false
      t1.add_time( 0,3,False ))        # hour,min,relative=false
      start = TimeSlot(0,0)
      finish = TimeSlot(23,0)
      incr = TimeSlot(0,30)
      ts = TimeSeries( start, finish, incr, True)
      task2.add_time( Time(ts) )
    

add_time( (Node)arg1, (int)arg2, (int)arg3, (bool)arg4) -> Node

add_time( (Node)arg1, (str)arg2) -> Node

add_time( (Node)arg1, (Time)arg2) -> Node


.. py:method:: Node.add_today( (Node)arg1, (int)arg2, (int)arg3) -> Node :
   :module: ecflow

Add a :term:`today` time dependency. See :py:class:`ecflow.Today`
    
    
    Usage:
    
    .. code-block:: python
    
      t1 = Task('t1',
                Today('+00:30 20:00 01:00')) # Create Today in Task constructor
    
      t1.add_today( '00:30' )
      t1.add_today( '+00:30' )
      t1.add_today( '+00:30 20:00 01:00' )
      t1.add_today( Today( 0,10 ))      # hour,min,relative =false
      t1.add_today( Today( 0,12,True )) # hour,min,relative
      t1.add_today( Today(TimeSlot(20,20),False))
      t1.add_today( 0,1 ))              # hour,min,relative=false
      t1.add_today( 0,3,False ))        # hour,min,relative=false
      start = TimeSlot(0,0)
      finish = TimeSlot(23,0)
      incr = TimeSlot(0,30)
      ts = TimeSeries( start, finish, incr, True)
      task2.add_today( Today(ts) )
    

add_today( (Node)arg1, (int)arg2, (int)arg3, (bool)arg4) -> Node

add_today( (Node)arg1, (str)arg2) -> Node

add_today( (Node)arg1, (Today)arg2) -> Node


.. py:method:: Node.add_trigger( (Node)arg1, (str)arg2) -> Node :
   :module: ecflow

Add a :term:`trigger` or :term:`complete expression`.Also see :py:class:`ecflow.Trigger`
    
    This defines a dependency for a :term:`node`.
    There can only be one :term:`trigger` or :term:`complete expression` dependency per node.
    A :term:`node` with a trigger can only be activated when the trigger has expired.
    A trigger holds a node as long as the expression returns false.
    
    Exception:
    
    - Will throw RuntimeError if multiple trigger or complete expression are added
    - Will throw RuntimeError if first expression is added as 'AND' or 'OR' expression
      Like wise second and subsequent expression must have 'AND' or 'OR' booleans set
    
    Usage:
    
    Note we cannot make multiple add_trigger(..) calls on the same :term:`task`!
    to add a simple trigger:
    
    .. code-block:: python
    
      task1.add_trigger( 't2 == active' )
      task2.add_trigger( 't1 == complete or t4 == complete' )
      task3.add_trigger( 't5 == active' )
    
    Long expression can be broken up using add_part_trigger:
    
    .. code-block:: python
    
      task2.add_part_trigger( 't1 == complete or t4 == complete')
      task2.add_part_trigger( 't5 == active',True)  # True means  AND
      task2.add_part_trigger( 't7 == active',False) # False means OR
    
    The trigger for task2 is equivalent to:
    't1 == complete or t4 == complete and t5 == active or t7 == active'

add_trigger( (Node)arg1, (Expression)arg2) -> Node


.. py:method:: Node.add_variable( (Node)arg1, (str)arg2, (str)arg3) -> Node :
   :module: ecflow

Adds a name value :term:`variable`. Also see :py:class:`ecflow.Edit`
    
    This defines a variable for use in :term:`variable substitution` in a :term:`ecf script` file.
    There can be any number of variables. The variables are names inside a pair of
    '%' characters in an :term:`ecf script`. The name are case sensitive.
    Special character in the value, must be placed inside single quotes if misinterpretation
    is to be avoided.
    The value of the variable replaces the variable name in the :term:`ecf script` at `job creation` time.
    The variable names for any given node must be unique. If duplicates are added then the
    the last value added is kept.
    
    Exception:
    
    - Writes warning to standard output, if a duplicate variable name is added
    
    Usage:
    
    .. code-block:: python
    
      task.add_variable( Variable('ECF_HOME','/tmp/'))
      task.add_variable( 'TMPDIR','/tmp/')
      task.add_variable( 'COUNT',2)
      a_dict = { 'name':'value', 'name2':'value2', 'name3':'value3' }
      task.add_variable(a_dict)
    

add_variable( (Node)arg1, (str)arg2, (int)arg3) -> Node

add_variable( (Node)arg1, (Variable)arg2) -> Node

add_variable( (Node)arg1, (dict)arg2) -> Node


.. py:method:: Node.add_verify( (Node)arg1, (Verify)arg2) -> None :
   :module: ecflow

Add a Verify attribute.

Used in python simulation used to assert that a particular state was reached.  t2 = Task('t2',
             Verify(State.complete, 6)) # verify task completes 6 times during simulation


.. py:method:: Node.add_zombie( (Node)arg1, (ZombieAttr)arg2) -> Node :
   :module: ecflow

The :term:`zombie` attribute defines how a :term:`zombie` should be handled in an automated fashion

Very careful consideration should be taken before this attribute is added
as it may hide a genuine problem.
It can be added to any :term:`node`. But is best defined at the :term:`suite` or :term:`family` level.
If there is no zombie attribute the default behaviour is to block the init,complete,abort :term:`child command`.
and *fob* the event,label,and meter :term:`child command`
This attribute allows the server to make a automated response.
Please see: :py:class:`ecflow.ZombieType`, :py:class:`ecflow.ChildCmdType`, :py:class:`ecflow.ZombieUserActionType`

Constructor::

   ZombieAttr(ZombieType,ChildCmdTypes, ZombieUserActionType, lifetime)
      ZombieType            : Must be one of ZombieType.ecf, ZombieType.path, ZombieType.user
      ChildCmdType          : A list(ChildCmdType) of Child commands. Can be left empty in
                              which case the action affect all child commands
      ZombieUserActionType  : One of [ fob, fail, block, remove, adopt ]
      int lifetime<optional>: Defines the life time in seconds of the zombie in the server.
                              On expiration, zombie is removed automatically

Usage:

.. code-block:: python

   # Add a zombie attribute so that child commands(i.e ecflow_client --init)
   # will fail the job if it is a zombie process.
   s1 = Suite('s1')
   child_list = [ ChildCmdType.init, ChildCmdType.complete, ChildCmdType.abort ]
   s1.add_zombie( ZombieAttr(ZombieType.ecf, child_list, ZombieUserActionType.fob))

   # create the zombie as part of the node constructor
   s1 = Suite('s1',
              ZombieAttr(ZombieType.ecf, child_list, ZombieUserActionType.fail))


.. py:property:: Node.avisos
   :module: ecflow

Returns a list of :term:`aviso`\ s


.. py:method:: Node.change_complete( (Node)arg1, (str)arg2) -> None
   :module: ecflow


.. py:method:: Node.change_trigger( (Node)arg1, (str)arg2) -> None
   :module: ecflow


.. py:property:: Node.crons
   :module: ecflow

Returns a list of :term:`cron`\ s


.. py:property:: Node.dates
   :module: ecflow

Returns a list of :term:`date`\ s


.. py:property:: Node.days
   :module: ecflow

Returns a list of :term:`day`\ s


.. py:method:: Node.delete_complete( (Node)arg1) -> None
   :module: ecflow


.. py:method:: Node.delete_cron( (Node)arg1, (str)arg2) -> None
   :module: ecflow

delete_cron( (Node)arg1, (Cron)arg2) -> None


.. py:method:: Node.delete_date( (Node)arg1, (str)arg2) -> None
   :module: ecflow

delete_date( (Node)arg1, (Date)arg2) -> None


.. py:method:: Node.delete_day( (Node)arg1, (str)arg2) -> None
   :module: ecflow

delete_day( (Node)arg1, (Day)arg2) -> None


.. py:method:: Node.delete_event( (Node)arg1, (str)arg2) -> None
   :module: ecflow


.. py:method:: Node.delete_generic( (Node)arg1, (str)arg2) -> None
   :module: ecflow


.. py:method:: Node.delete_inlimit( (Node)arg1, (str)arg2) -> None
   :module: ecflow


.. py:method:: Node.delete_label( (Node)arg1, (str)arg2) -> None
   :module: ecflow


.. py:method:: Node.delete_limit( (Node)arg1, (str)arg2) -> None
   :module: ecflow


.. py:method:: Node.delete_meter( (Node)arg1, (str)arg2) -> None
   :module: ecflow


.. py:method:: Node.delete_queue( (Node)arg1, (str)arg2) -> None
   :module: ecflow


.. py:method:: Node.delete_repeat( (Node)arg1) -> None
   :module: ecflow


.. py:method:: Node.delete_time( (Node)arg1, (str)arg2) -> None
   :module: ecflow

delete_time( (Node)arg1, (Time)arg2) -> None


.. py:method:: Node.delete_today( (Node)arg1, (str)arg2) -> None
   :module: ecflow

delete_today( (Node)arg1, (Today)arg2) -> None


.. py:method:: Node.delete_trigger( (Node)arg1) -> None
   :module: ecflow


.. py:method:: Node.delete_variable( (Node)arg1, (str)arg2) -> None
   :module: ecflow


.. py:method:: Node.delete_zombie( (Node)arg1, (str)arg2) -> None
   :module: ecflow

delete_zombie( (Node)arg1, (ZombieType)arg2) -> None


.. py:method:: Node.evaluate_complete( (Node)arg1) -> bool :
   :module: ecflow

evaluate complete expression


.. py:method:: Node.evaluate_trigger( (Node)arg1) -> bool :
   :module: ecflow

evaluate trigger expression


.. py:property:: Node.events
   :module: ecflow

Returns a list of :term:`event`\ s


.. py:method:: Node.find_event( (Node)arg1, (str)arg2) -> Event :
   :module: ecflow

Find the :term:`event` on the node only. Returns a object


.. py:method:: Node.find_gen_variable( (Node)arg1, (str)arg2) -> Variable :
   :module: ecflow

Find generated variable on the node only. Returns an object


.. py:method:: Node.find_generic( (Node)arg1, (str)arg2) -> Generic :
   :module: ecflow

Find the :term:`generic` on the node only. Returns a Generic object


.. py:method:: Node.find_label( (Node)arg1, (str)arg2) -> Label :
   :module: ecflow

Find the :term:`label` on the node only. Returns a object


.. py:method:: Node.find_limit( (Node)arg1, (str)arg2) -> Limit :
   :module: ecflow

Find the :term:`limit` on the node only. returns a limit ptr


.. py:method:: Node.find_meter( (Node)arg1, (str)arg2) -> Meter :
   :module: ecflow

Find the :term:`meter` on the node only. Returns an object


.. py:method:: Node.find_node_up_the_tree( (Node)arg1, (str)arg2) -> Node :
   :module: ecflow

Search immediate node, then up the node hierarchy


.. py:method:: Node.find_parent_variable( (Node)arg1, (str)arg2) -> Variable :
   :module: ecflow

Find user variable variable up the parent hierarchy. Returns an object


.. py:method:: Node.find_parent_variable_sub_value( (Node)arg1, (str)arg2) -> str :
   :module: ecflow

Find user variable *up* node tree, then variable substitute the value, otherwise return empty string


.. py:method:: Node.find_queue( (Node)arg1, (str)arg2) -> Queue :
   :module: ecflow

Find the queue on the node only. Returns a queue object


.. py:method:: Node.find_variable( (Node)arg1, (str)arg2) -> Variable :
   :module: ecflow

Find user variable on the node only. Returns an object


.. py:property:: Node.generics
   :module: ecflow

Returns a list of :term:`generic`\ s


.. py:method:: Node.get_abs_node_path( (Node)arg1) -> str :
   :module: ecflow

returns a string which holds the path to the node
    
    


.. py:method:: Node.get_all_nodes( (Node)arg1) -> NodeVec :
   :module: ecflow

Returns all the child nodes


.. py:method:: Node.get_autoarchive( (Node)arg1) -> Autoarchive
   :module: ecflow


.. py:method:: Node.get_autocancel( (Node)arg1) -> Autocancel
   :module: ecflow


.. py:method:: Node.get_autorestore( (Node)arg1) -> Autorestore
   :module: ecflow


.. py:method:: Node.get_complete( (Node)arg1) -> Expression
   :module: ecflow


.. py:method:: Node.get_defs( (Node)arg1) -> Defs
   :module: ecflow


.. py:method:: Node.get_defstatus( (Node)arg1) -> DState
   :module: ecflow


.. py:method:: Node.get_dstate( (Node)arg1) -> DState :
   :module: ecflow

Returns the state of node. This will include suspended state


.. py:method:: Node.get_flag( (Node)arg1) -> Flag :
   :module: ecflow

Return additional state associated with a node.


.. py:method:: Node.get_generated_variables( (Node)arg1) -> list :
   :module: ecflow

Returns the list of generated variables.

get_generated_variables( (Node)arg1, (VariableList)arg2) -> None :
    Retrieves the list of generated variables. Pass in ecflow.VariableList as argument to hold variables.


.. py:method:: Node.get_late( (Node)arg1) -> Late
   :module: ecflow


.. py:method:: Node.get_parent( (Node)arg1) -> Node
   :module: ecflow


.. py:method:: Node.get_repeat( (Node)arg1) -> Repeat
   :module: ecflow


.. py:method:: Node.get_state( (Node)arg1) -> State :
   :module: ecflow

Returns the state of the node. This excludes the suspended state


.. py:method:: Node.get_state_change_time( (Node)arg1 [, (str)format='iso_extended']) -> str :
   :module: ecflow

Returns the time of the last state change as a string. Default format is iso_extended, (iso_extended, iso, simple)


.. py:method:: Node.get_trigger( (Node)arg1) -> Expression
   :module: ecflow


.. py:method:: Node.has_time_dependencies( (Node)arg1) -> bool
   :module: ecflow


.. py:property:: Node.inlimits
   :module: ecflow

Returns a list of :term:`inlimit`\ s


.. py:method:: Node.is_suspended( (Node)arg1) -> bool :
   :module: ecflow

Returns true if the :term:`node` is in a :term:`suspended` state


.. py:property:: Node.labels
   :module: ecflow

Returns a list of :term:`label`\ s


.. py:property:: Node.limits
   :module: ecflow

Returns a list of :term:`limit`\ s


.. py:property:: Node.meters
   :module: ecflow

Returns a list of :term:`meter`\ s


.. py:property:: Node.mirrors
   :module: ecflow

Returns a list of :term:`mirror`\ s


.. py:method:: Node.name( (Node)arg1) -> str
   :module: ecflow


.. py:property:: Node.queues
   :module: ecflow

Returns a list of :term:`queue`\ s


.. py:method:: Node.remove( (Node)arg1) -> Node :
   :module: ecflow

Remove the node from its parent. and returns it


.. py:method:: Node.replace_on_server( (Node)arg1 [, (bool)suspend_node_first=True [, (bool)force=True]]) -> None :
   :module: ecflow

replace node on the server.

replace_on_server( (Node)arg1, (str)arg2, (str)arg3 [, (bool)suspend_node_first=True [, (bool)force=True]]) -> None :
    replace node on the server.

replace_on_server( (Node)arg1, (str)arg2 [, (bool)suspend_node_first=True [, (bool)force=True]]) -> None :
    replace node on the server.

replace_on_server( (Node)arg1, (Client)arg2 [, (bool)suspend_node_first=True [, (bool)force=True]]) -> None :
    replace node on the server.


.. py:method:: Node.sort_attributes( (Node)arg1, (AttrType)arg2) -> None
   :module: ecflow

sort_attributes( (Node)arg1, (AttrType)arg2, (bool)arg3) -> None

sort_attributes( (Node)arg1, (AttrType)arg2, (bool)arg3, (list)arg4) -> None

sort_attributes( (Node)arg1, (str)attribute_type [, (bool)recursive=True [, (list)no_sort=[]]]) -> None

sort_attributes( (Node)arg1, (AttrType)arg2, (bool)attribute_type [, (object)recursive=True]) -> None


.. py:property:: Node.times
   :module: ecflow

Returns a list of :term:`time`\ s


.. py:property:: Node.todays
   :module: ecflow

Returns a list of :term:`today`\ s


.. py:method:: Node.update_generated_variables( (Node)arg1) -> None
   :module: ecflow


.. py:property:: Node.variables
   :module: ecflow

Returns a list of user defined :term:`variable`\ s


.. py:property:: Node.verifies
   :module: ecflow

Returns a list of Verify's


.. py:property:: Node.zombies
   :module: ecflow

Returns a list of :term:`zombie`\ s