File: dags.rst

package info (click to toggle)
condor 23.9.6%2Bdfsg-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 60,012 kB
  • sloc: cpp: 528,272; perl: 87,066; python: 42,650; ansic: 29,558; sh: 11,271; javascript: 3,479; ada: 2,319; java: 619; makefile: 615; xml: 613; awk: 268; yacc: 78; fortran: 54; csh: 24
file content (120 lines) | stat: -rw-r--r-- 1,828 bytes parent folder | download
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
:mod:`htcondor.dags` API Reference
==================================

.. module:: htcondor.dags

.. py:currentmodule:: htcondor.dags

.. attention::
    This is not documentation for DAGMan itself! If you run into DAGMan jargon
    that isn't explained here, see :ref:`dagman-workflows`.


Creating DAGs
-------------

.. autoclass:: DAG
   :members:
   :noindex:

.. autoclass:: WalkOrder
   :members:
   :noindex:

   .. autoattribute:: BREADTH_FIRST
      :noindex:
   .. autoattribute:: DEPTH_FIRST
      :noindex:


Nodes and Node-likes
++++++++++++++++++++

.. autoclass:: BaseNode
   :members:
   :noindex:

.. autoclass:: NodeLayer
   :show-inheritance:
   :members:
   :noindex:

.. autoclass:: SubDAG
   :show-inheritance:
   :members:
   :noindex:

.. autoclass:: FinalNode
   :show-inheritance:
   :members:
   :noindex:

.. autoclass:: Nodes
   :members:
   :noindex:


Edges
+++++

.. autoclass:: BaseEdge
   :members:
   :noindex:

.. autoclass:: OneToOne
   :noindex:
.. autoclass:: ManyToMany
   :noindex:
.. autoclass:: Grouper
   :noindex:
.. autoclass:: Slicer
   :noindex:


Node Configuration
++++++++++++++++++

.. autoclass:: Script
   :noindex:

.. autoclass:: DAGAbortCondition
   :noindex:


Writing a DAG to Disk
+++++++++++++++++++++

.. autofunction:: write_dag
   :noindex:

.. autoclass:: NodeNameFormatter
   :members:
   :noindex:

.. autoclass:: SimpleFormatter
   :noindex:


DAG Configuration
-----------------

.. autoclass:: DotConfig
   :noindex:

.. autoclass:: NodeStatusFile
   :noindex:


Rescue DAGs
-----------

:mod:`htcondor.dags` can read information from a DAGMan rescue file and apply
it to your DAG as it is being constructed.

See :ref:`Rescue DAG` for more information on Rescue DAGs.

.. autofunction:: rescue
   :noindex:

.. autofunction:: find_rescue_file
   :noindex: