http://git-wip-us.apache.org/repos/asf/incubator-airflow-site/blob/9c75ee9e/_static/js/theme.js ---------------------------------------------------------------------- diff --git a/_static/js/theme.js b/_static/js/theme.js index 48a9f06..af661a9 100644 --- a/_static/js/theme.js +++ b/_static/js/theme.js @@ -13,33 +13,36 @@ function ThemeNav () { winPosition: 0, winHeight: null, docHeight: null, - isRunning: null + isRunning: false }; nav.enable = function () { var self = this; - jQuery(function ($) { - self.init($); - - self.reset(); - self.win.on('hashchange', self.reset); - - // Set scroll monitor - self.win.on('scroll', function () { - if (!self.linkScroll) { - self.winScroll = true; - } - }); - setInterval(function () { if (self.winScroll) self.onScroll(); }, 25); - - // Set resize monitor - self.win.on('resize', function () { - self.winResize = true; + if (!self.isRunning) { + self.isRunning = true; + jQuery(function ($) { + self.init($); + + self.reset(); + self.win.on('hashchange', self.reset); + + // Set scroll monitor + self.win.on('scroll', function () { + if (!self.linkScroll) { + self.winScroll = true; + } + }); + setInterval(function () { if (self.winScroll) self.onScroll(); }, 25); + + // Set resize monitor + self.win.on('resize', function () { + self.winResize = true; + }); + setInterval(function () { if (self.winResize) self.onResize(); }, 25); + self.onResize(); }); - setInterval(function () { if (self.winResize) self.onResize(); }, 25); - self.onResize(); - }); + }; }; nav.init = function ($) { @@ -95,6 +98,19 @@ function ThemeNav () { try { var link = $('.wy-menu-vertical') .find('[href="' + anchor + '"]'); + // If we didn't find a link, it may be because we clicked on + // something that is not in the sidebar (eg: when using + // sphinxcontrib.httpdomain it generates headerlinks but those + // aren't picked up and placed in the toctree). So let's find + // the closest header in the document and try with that one. + if (link.length === 0) { + var doc_link = $('.document a[href="' + anchor + '"]'); + var closest_section = doc_link.closest('div.section'); + // Try again with the closest section entry. + link = $('.wy-menu-vertical') + .find('[href="#' + closest_section.attr("id") + '"]'); + + } $('.wy-menu-vertical li.toctree-l1 li.current') .removeClass('current'); link.closest('li.toctree-l2').addClass('current');
http://git-wip-us.apache.org/repos/asf/incubator-airflow-site/blob/9c75ee9e/_static/minus.png ---------------------------------------------------------------------- diff --git a/_static/minus.png b/_static/minus.png index 0f22b16..d96755f 100644 Binary files a/_static/minus.png and b/_static/minus.png differ http://git-wip-us.apache.org/repos/asf/incubator-airflow-site/blob/9c75ee9e/_static/plus.png ---------------------------------------------------------------------- diff --git a/_static/plus.png b/_static/plus.png index 0cfe084..7107cec 100644 Binary files a/_static/plus.png and b/_static/plus.png differ http://git-wip-us.apache.org/repos/asf/incubator-airflow-site/blob/9c75ee9e/_static/searchtools.js ---------------------------------------------------------------------- diff --git a/_static/searchtools.js b/_static/searchtools.js index 066857c..bbfb3ac 100644 --- a/_static/searchtools.js +++ b/_static/searchtools.js @@ -226,6 +226,106 @@ var Scorer = { }; + + + +var splitChars = (function() { + var result = {}; + var singles = [96, 180, 187, 191, 215, 247, 749, 885, 903, 907, 909, 930, 1014, 1648, + 1748, 1809, 2416, 2473, 2481, 2526, 2601, 2609, 2612, 2615, 2653, 2702, + 2706, 2729, 2737, 2740, 2857, 2865, 2868, 2910, 2928, 2948, 2961, 2971, + 2973, 3085, 3089, 3113, 3124, 3213, 3217, 3241, 3252, 3295, 3341, 3345, + 3369, 3506, 3516, 3633, 3715, 3721, 3736, 3744, 3748, 3750, 3756, 3761, + 3781, 3912, 4239, 4347, 4681, 4695, 4697, 4745, 4785, 4799, 4801, 4823, + 4881, 5760, 5901, 5997, 6313, 7405, 8024, 8026, 8028, 8030, 8117, 8125, + 8133, 8181, 8468, 8485, 8487, 8489, 8494, 8527, 11311, 11359, 11687, 11695, + 11703, 11711, 11719, 11727, 11735, 12448, 12539, 43010, 43014, 43019, 43587, + 43696, 43713, 64286, 64297, 64311, 64317, 64319, 64322, 64325, 65141]; + var i, j, start, end; + for (i = 0; i < singles.length; i++) { + result[singles[i]] = true; + } + var ranges = [[0, 47], [58, 64], [91, 94], [123, 169], [171, 177], [182, 184], [706, 709], + [722, 735], [741, 747], [751, 879], [888, 889], [894, 901], [1154, 1161], + [1318, 1328], [1367, 1368], [1370, 1376], [1416, 1487], [1515, 1519], [1523, 1568], + [1611, 1631], [1642, 1645], [1750, 1764], [1767, 1773], [1789, 1790], [1792, 1807], + [1840, 1868], [1958, 1968], [1970, 1983], [2027, 2035], [2038, 2041], [2043, 2047], + [2070, 2073], [2075, 2083], [2085, 2087], [2089, 2307], [2362, 2364], [2366, 2383], + [2385, 2391], [2402, 2405], [2419, 2424], [2432, 2436], [2445, 2446], [2449, 2450], + [2483, 2485], [2490, 2492], [2494, 2509], [2511, 2523], [2530, 2533], [2546, 2547], + [2554, 2564], [2571, 2574], [2577, 2578], [2618, 2648], [2655, 2661], [2672, 2673], + [2677, 2692], [2746, 2748], [2750, 2767], [2769, 2783], [2786, 2789], [2800, 2820], + [2829, 2830], [2833, 2834], [2874, 2876], [2878, 2907], [2914, 2917], [2930, 2946], + [2955, 2957], [2966, 2968], [2976, 2978], [2981, 2983], [2987, 2989], [3002, 3023], + [3025, 3045], [3059, 3076], [3130, 3132], [3134, 3159], [3162, 3167], [3170, 3173], + [3184, 3191], [3199, 3204], [3258, 3260], [3262, 3293], [3298, 3301], [3312, 3332], + [3386, 3388], [3390, 3423], [3426, 3429], [3446, 3449], [3456, 3460], [3479, 3481], + [3518, 3519], [3527, 3584], [3636, 3647], [3655, 3663], [3674, 3712], [3717, 3718], + [3723, 3724], [3726, 3731], [3752, 3753], [3764, 3772], [3774, 3775], [3783, 3791], + [3802, 3803], [3806, 3839], [3841, 3871], [3892, 3903], [3949, 3975], [3980, 4095], + [4139, 4158], [4170, 4175], [4182, 4185], [4190, 4192], [4194, 4196], [4199, 4205], + [4209, 4212], [4226, 4237], [4250, 4255], [4294, 4303], [4349, 4351], [4686, 4687], + [4702, 4703], [4750, 4751], [4790, 4791], [4806, 4807], [4886, 4887], [4955, 4968], + [4989, 4991], [5008, 5023], [5109, 5120], [5741, 5742], [5787, 5791], [5867, 5869], + [5873, 5887], [5906, 5919], [5938, 5951], [5970, 5983], [6001, 6015], [6068, 6102], + [6104, 6107], [6109, 6111], [6122, 6127], [6138, 6159], [6170, 6175], [6264, 6271], + [6315, 6319], [6390, 6399], [6429, 6469], [6510, 6511], [6517, 6527], [6572, 6592], + [6600, 6607], [6619, 6655], [6679, 6687], [6741, 6783], [6794, 6799], [6810, 6822], + [6824, 6916], [6964, 6980], [6988, 6991], [7002, 7042], [7073, 7085], [7098, 7167], + [7204, 7231], [7242, 7244], [7294, 7400], [7410, 7423], [7616, 7679], [7958, 7959], + [7966, 7967], [8006, 8007], [8014, 8015], [8062, 8063], [8127, 8129], [8141, 8143], + [8148, 8149], [8156, 8159], [8173, 8177], [8189, 8303], [8306, 8307], [8314, 8318], + [8330, 8335], [8341, 8449], [8451, 8454], [8456, 8457], [8470, 8472], [8478, 8483], + [8506, 8507], [8512, 8516], [8522, 8525], [8586, 9311], [9372, 9449], [9472, 10101], + [10132, 11263], [11493, 11498], [11503, 11516], [11518, 11519], [11558, 11567], + [11622, 11630], [11632, 11647], [11671, 11679], [11743, 11822], [11824, 12292], + [12296, 12320], [12330, 12336], [12342, 12343], [12349, 12352], [12439, 12444], + [12544, 12548], [12590, 12592], [12687, 12689], [12694, 12703], [12728, 12783], + [12800, 12831], [12842, 12880], [12896, 12927], [12938, 12976], [12992, 13311], + [19894, 19967], [40908, 40959], [42125, 42191], [42238, 42239], [42509, 42511], + [42540, 42559], [42592, 42593], [42607, 42622], [42648, 42655], [42736, 42774], + [42784, 42785], [42889, 42890], [42893, 43002], [43043, 43055], [43062, 43071], + [43124, 43137], [43188, 43215], [43226, 43249], [43256, 43258], [43260, 43263], + [43302, 43311], [43335, 43359], [43389, 43395], [43443, 43470], [43482, 43519], + [43561, 43583], [43596, 43599], [43610, 43615], [43639, 43641], [43643, 43647], + [43698, 43700], [43703, 43704], [43710, 43711], [43715, 43738], [43742, 43967], + [44003, 44015], [44026, 44031], [55204, 55215], [55239, 55242], [55292, 55295], + [57344, 63743], [64046, 64047], [64110, 64111], [64218, 64255], [64263, 64274], + [64280, 64284], [64434, 64466], [64830, 64847], [64912, 64913], [64968, 65007], + [65020, 65135], [65277, 65295], [65306, 65312], [65339, 65344], [65371, 65381], + [65471, 65473], [65480, 65481], [65488, 65489], [65496, 65497]]; + for (i = 0; i < ranges.length; i++) { + start = ranges[i][0]; + end = ranges[i][1]; + for (j = start; j <= end; j++) { + result[j] = true; + } + } + return result; +})(); + +function splitQuery(query) { + var result = []; + var start = -1; + for (var i = 0; i < query.length; i++) { + if (splitChars[query.charCodeAt(i)]) { + if (start !== -1) { + result.push(query.slice(start, i)); + start = -1; + } + } else if (start === -1) { + start = i; + } + } + if (start !== -1) { + result.push(query.slice(start)); + } + return result; +} + + + + /** * Search Module */ @@ -324,7 +424,7 @@ var Search = { var searchterms = []; var excluded = []; var hlterms = []; - var tmp = query.split(/\s+/); + var tmp = splitQuery(query); var objectterms = []; for (i = 0; i < tmp.length; i++) { if (tmp[i] !== "") { @@ -338,6 +438,10 @@ var Search = { } // stem the word var word = stemmer.stemWord(tmp[i].toLowerCase()); + // prevent stemmer from cutting word smaller than two chars + if(word.length < 3 && tmp[i].length >= 3) { + word = tmp[i]; + } var toAppend; // select the correct list if (word[0] == '-') { @@ -435,7 +539,8 @@ var Search = { displayNextItem(); }); } else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) { - $.ajax({url: DOCUMENTATION_OPTIONS.URL_ROOT + '_sources/' + item[0] + '.txt', + var suffix = DOCUMENTATION_OPTIONS.SOURCELINK_SUFFIX; + $.ajax({url: DOCUMENTATION_OPTIONS.URL_ROOT + '_sources/' + item[5] + (item[5].slice(-suffix.length) === suffix ? '' : suffix), dataType: "text", complete: function(jqxhr, textstatus) { var data = jqxhr.responseText; @@ -474,6 +579,7 @@ var Search = { */ performObjectSearch : function(object, otherterms) { var filenames = this._index.filenames; + var docnames = this._index.docnames; var objects = this._index.objects; var objnames = this._index.objnames; var titles = this._index.titles; @@ -527,7 +633,7 @@ var Search = { } else { score += Scorer.objPrioDefault; } - results.push([filenames[match[0]], fullname, '#'+anchor, descr, score]); + results.push([docnames[match[0]], fullname, '#'+anchor, descr, score, filenames[match[0]]]); } } } @@ -539,6 +645,7 @@ var Search = { * search for full-text terms in the index */ performTermsSearch : function(searchterms, excluded, terms, titleterms) { + var docnames = this._index.docnames; var filenames = this._index.filenames; var titles = this._index.titles; @@ -613,7 +720,7 @@ var Search = { // select one (max) score for the file. // for better ranking, we should calculate ranking by using words statistics like basic tf-idf... var score = $u.max($u.map(fileMap[file], function(w){return scoreMap[file][w]})); - results.push([filenames[file], titles[file], '', null, score]); + results.push([docnames[file], titles[file], '', null, score, filenames[file]]); } } return results; http://git-wip-us.apache.org/repos/asf/incubator-airflow-site/blob/9c75ee9e/_static/up-pressed.png ---------------------------------------------------------------------- diff --git a/_static/up-pressed.png b/_static/up-pressed.png index 99e7210..acee3b6 100644 Binary files a/_static/up-pressed.png and b/_static/up-pressed.png differ http://git-wip-us.apache.org/repos/asf/incubator-airflow-site/blob/9c75ee9e/_static/up.png ---------------------------------------------------------------------- diff --git a/_static/up.png b/_static/up.png index 26de002..2a940a7 100644 Binary files a/_static/up.png and b/_static/up.png differ http://git-wip-us.apache.org/repos/asf/incubator-airflow-site/blob/9c75ee9e/cli.html ---------------------------------------------------------------------- diff --git a/cli.html b/cli.html index 71ebad4..60008af 100644 --- a/cli.html +++ b/cli.html @@ -30,6 +30,9 @@ + <link rel="index" title="Index" + href="genindex.html"/> + <link rel="search" title="Search" href="search.html"/> <link rel="top" title="Airflow Documentation" href="index.html"/> <link rel="next" title="Scheduling & Triggers" href="scheduler.html"/> <link rel="prev" title="Data Profiling" href="profiling.html"/> @@ -41,6 +44,7 @@ <body class="wy-body-for-nav" role="document"> + <div class="wy-grid-for-nav"> @@ -91,6 +95,8 @@ <li class="toctree-l1"><a class="reference internal" href="scheduler.html">Scheduling & Triggers</a></li> <li class="toctree-l1"><a class="reference internal" href="plugins.html">Plugins</a></li> <li class="toctree-l1"><a class="reference internal" href="security.html">Security</a></li> +<li class="toctree-l1"><a class="reference internal" href="api.html">Experimental Rest API</a></li> +<li class="toctree-l1"><a class="reference internal" href="integration.html">Integration</a></li> <li class="toctree-l1"><a class="reference internal" href="faq.html">FAQ</a></li> <li class="toctree-l1"><a class="reference internal" href="code.html">API Reference</a></li> </ul> @@ -105,8 +111,10 @@ <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> - <i data-toggle="wy-nav-top" class="fa fa-bars"></i> - <a href="index.html">Airflow</a> + + <i data-toggle="wy-nav-top" class="fa fa-bars"></i> + <a href="index.html">Airflow</a> + </nav> @@ -115,23 +123,40 @@ <div class="rst-content"> - + + + + + + + + + + + <div role="navigation" aria-label="breadcrumbs navigation"> + <ul class="wy-breadcrumbs"> - <li><a href="index.html">Docs</a> »</li> - - <li>Command Line Interface</li> + + <li><a href="index.html">Docs</a> »</li> + + <li>Command Line Interface</li> + + <li class="wy-breadcrumbs-aside"> - - <a href="_sources/cli.txt" rel="nofollow"> View page source</a> + + <a href="_sources/cli.rst.txt" rel="nofollow"> View page source</a> </li> + </ul> + + <hr/> </div> <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> @@ -143,11 +168,24 @@ many types of operation on a DAG, starting services, and supporting development and testing.</p> <div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">usage</span><span class="p">:</span> <span class="n">airflow</span> <span class="p">[</span><span class="o">-</span><span class="n">h</span><span class="p">]</span> - <span class="p">{</span><span class="n">resetdb</span><span class="p">,</span><span class="n">render</span><span class="p">,</span><span class="n">variables</span><span class="p">,</span><span class="n">pause</span><span class="p">,</span><span class="n">version</span><span class="p">,</span><span class="n">initdb</span><span class="p">,</span><span class="n">test</span><span class="p">,</span><span class="n">unpause</span><span class="p">,</span><span class="n">dag_state</span><span class="p">,</span><span class="n">run</span><span class="p">,</span><span class="n">list_tasks</span><span class="p">,</span><span class="n">backfill</span><span class="p">,</span><span class="n">list_dags</span><span class="p">,</span><span class="n">kerberos</span><span class="p">,</span><span class="n">worker</span><span class="p">,</span><span class="n">webserver</span><span class="p">,</span><span class="n">flower</span><span class="p">,</span><span class="n">scheduler</span><span cl ass="p">,</span><span class="n">task_state</span><span class="p">,</span><span class="n">trigger_dag</span><span class="p">,</span><span class="n">serve_logs</span><span class="p">,</span><span class="n">clear</span><span class="p">,</span><span class="n">upgradedb</span><span class="p">}</span> + <span class="p">{</span><span class="n">resetdb</span><span class="p">,</span><span class="n">render</span><span class="p">,</span><span class="n">variables</span><span class="p">,</span><span class="n">connections</span><span class="p">,</span><span class="n">pause</span><span class="p">,</span><span class="n">task_failed_deps</span><span class="p">,</span><span class="n">version</span><span class="p">,</span><span class="n">trigger_dag</span><span class="p">,</span><span class="n">initdb</span><span class="p">,</span><span class="n">test</span><span class="p">,</span><span class="n">unpause</span><span class="p">,</span><span class="n">dag_state</span><span class="p">,</span><span class="n">run</span><span class="p">,</span><span class="n">list_tasks</span><span class="p">,</span><span class="n">backfill</span><span class="p">,</span><span class="n">list_dags</span><span class="p">,</span><span class="n">kerberos</span><span class="p">,</span><span class="n">worker< /span><span class="p">,</span><span class="n">webserver</span><span class="p">,</span><span class="n">flower</span><span class="p">,</span><span class="n">scheduler</span><span class="p">,</span><span class="n">task_state</span><span class="p">,</span><span class="n">pool</span><span class="p">,</span><span class="n">serve_logs</span><span class="p">,</span><span class="n">clear</span><span class="p">,</span><span class="n">upgradedb</span><span class="p">}</span> <span class="o">...</span> </pre></div> </div> <dl class="docutils"> +<dt>Required Arguments</dt> +<dd><table class="first last docutils option-list" frame="void" rules="none"> +<col class="option" /> +<col class="description" /> +<tbody valign="top"> +<tr><td class="option-group"> +<kbd><span class="option">subcommand</span></kbd></td> +<td><p class="first">sub-command help</p> +<p class="last">Possible choices: resetdb, render, variables, connections, pause, task_failed_deps, version, trigger_dag, initdb, test, unpause, dag_state, run, list_tasks, backfill, list_dags, kerberos, worker, webserver, flower, scheduler, task_state, pool, serve_logs, clear, upgradedb</p> +</td></tr> +</tbody> +</table> +</dd> <dt>Sub-commands:</dt> <dd><dl class="first last docutils"> <dt><strong>resetdb</strong></dt> @@ -156,7 +194,7 @@ development and testing.</p> </pre></div> </div> <dl class="last docutils"> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -164,7 +202,7 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-y=False</span>, <span class="option">--yes=False</span></kbd></td> </tr> -<tr><td> </td><td>Do not prompt to confirm reset. Use with care!</td></tr> +<tr><td> </td><td>Do not prompt to confirm reset. Use with care!</td></tr> </tbody> </table> </dd> @@ -176,24 +214,24 @@ development and testing.</p> </pre></div> </div> <dl class="last docutils"> -<dt>Positional arguments:</dt> +<dt>Required Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> <tbody valign="top"> <tr><td class="option-group"> -<kbd>dag_id</kbd></td> +<kbd><span class="option">dag_id</span></kbd></td> <td>The id of the dag</td></tr> <tr><td class="option-group"> -<kbd>task_id</kbd></td> +<kbd><span class="option">task_id</span></kbd></td> <td>The id of the task</td></tr> <tr><td class="option-group"> -<kbd>execution_date</kbd></td> +<kbd><span class="option">execution_date</span></kbd></td> <td>The execution date of the DAG</td></tr> </tbody> </table> </dd> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -201,20 +239,20 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-sd=/Users/maxime_beauchemin/dags</span>, <span class="option">--subdir=/Users/maxime_beauchemin/dags</span></kbd></td> </tr> -<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> +<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> </tbody> </table> </dd> </dl> </dd> <dt><strong>variables</strong></dt> -<dd><p class="first">List all variables</p> +<dd><p class="first">CRUD operations on variables</p> <div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">usage</span><span class="p">:</span> <span class="n">airflow</span> <span class="n">variables</span> <span class="p">[</span><span class="o">-</span><span class="n">h</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">s</span> <span class="n">KEY</span> <span class="n">VAL</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">g</span> <span class="n">KEY</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">j</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">d</span> <span class="n">VAL</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">i</span> <span class="n">FILEPATH</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">e</span> <span class="n">FILEPATH</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">x</span> <span class="n">KEY</span><span class="p">]</span> </pre></div> </div> <dl class="last docutils"> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -228,7 +266,7 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-j=False</span>, <span class="option">--json=False</span></kbd></td> </tr> -<tr><td> </td><td>Deserialize JSON variable</td></tr> +<tr><td> </td><td>Deserialize JSON variable</td></tr> <tr><td class="option-group"> <kbd><span class="option">-d</span>, <span class="option">--default</span></kbd></td> <td>Default value returned if variable does not exist</td></tr> @@ -246,24 +284,100 @@ development and testing.</p> </dd> </dl> </dd> +<dt><strong>connections</strong></dt> +<dd><p class="first">List/Add/Delete connections</p> +<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">usage</span><span class="p">:</span> <span class="n">airflow</span> <span class="n">connections</span> <span class="p">[</span><span class="o">-</span><span class="n">h</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">l</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">a</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">d</span><span class="p">]</span> <span class="p">[</span><span class="o">--</span><span class="n">conn_id</span> <span class="n">CONN_ID</span><span class="p">]</span> + <span class="p">[</span><span class="o">--</span><span class="n">conn_uri</span> <span class="n">CONN_URI</span><span class="p">]</span> <span class="p">[</span><span class="o">--</span><span class="n">conn_extra</span> <span class="n">CONN_EXTRA</span><span class="p">]</span> +</pre></div> +</div> +<dl class="last docutils"> +<dt>Optional Arguments</dt> +<dd><table class="first last docutils option-list" frame="void" rules="none"> +<col class="option" /> +<col class="description" /> +<tbody valign="top"> +<tr><td class="option-group" colspan="2"> +<kbd><span class="option">-l=False</span>, <span class="option">--list=False</span></kbd></td> +</tr> +<tr><td> </td><td>List all connections</td></tr> +<tr><td class="option-group" colspan="2"> +<kbd><span class="option">-a=False</span>, <span class="option">--add=False</span></kbd></td> +</tr> +<tr><td> </td><td>Add a connection</td></tr> +<tr><td class="option-group" colspan="2"> +<kbd><span class="option">-d=False</span>, <span class="option">--delete=False</span></kbd></td> +</tr> +<tr><td> </td><td>Delete a connection</td></tr> +<tr><td class="option-group"> +<kbd><span class="option">--conn_id</span></kbd></td> +<td>Connection id, required to add/delete a connection</td></tr> +<tr><td class="option-group"> +<kbd><span class="option">--conn_uri</span></kbd></td> +<td>Connection URI, required to add a connection</td></tr> +<tr><td class="option-group"> +<kbd><span class="option">--conn_extra</span></kbd></td> +<td>Connection `Extra` field, optional when adding a connection</td></tr> +</tbody> +</table> +</dd> +</dl> +</dd> <dt><strong>pause</strong></dt> <dd><p class="first">Pause a DAG</p> <div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">usage</span><span class="p">:</span> <span class="n">airflow</span> <span class="n">pause</span> <span class="p">[</span><span class="o">-</span><span class="n">h</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">sd</span> <span class="n">SUBDIR</span><span class="p">]</span> <span class="n">dag_id</span> </pre></div> </div> <dl class="last docutils"> -<dt>Positional arguments:</dt> +<dt>Required Arguments</dt> +<dd><table class="first last docutils option-list" frame="void" rules="none"> +<col class="option" /> +<col class="description" /> +<tbody valign="top"> +<tr><td class="option-group"> +<kbd><span class="option">dag_id</span></kbd></td> +<td>The id of the dag</td></tr> +</tbody> +</table> +</dd> +<dt>Optional Arguments</dt> +<dd><table class="first last docutils option-list" frame="void" rules="none"> +<col class="option" /> +<col class="description" /> +<tbody valign="top"> +<tr><td class="option-group" colspan="2"> +<kbd><span class="option">-sd=/Users/maxime_beauchemin/dags</span>, <span class="option">--subdir=/Users/maxime_beauchemin/dags</span></kbd></td> +</tr> +<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> +</tbody> +</table> +</dd> +</dl> +</dd> +<dt><strong>task_failed_deps</strong></dt> +<dd><p class="first">Returns the unmet dependencies for a task instance from the perspective of the scheduler. In other words, why a task instance doesn’t get scheduled and then queued by the scheduler, and then run by an executor).</p> +<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">usage</span><span class="p">:</span> <span class="n">airflow</span> <span class="n">task_failed_deps</span> <span class="p">[</span><span class="o">-</span><span class="n">h</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">sd</span> <span class="n">SUBDIR</span><span class="p">]</span> + <span class="n">dag_id</span> <span class="n">task_id</span> <span class="n">execution_date</span> +</pre></div> +</div> +<dl class="last docutils"> +<dt>Required Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> <tbody valign="top"> <tr><td class="option-group"> -<kbd>dag_id</kbd></td> +<kbd><span class="option">dag_id</span></kbd></td> <td>The id of the dag</td></tr> +<tr><td class="option-group"> +<kbd><span class="option">task_id</span></kbd></td> +<td>The id of the task</td></tr> +<tr><td class="option-group"> +<kbd><span class="option">execution_date</span></kbd></td> +<td>The execution date of the DAG</td></tr> </tbody> </table> </dd> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -271,7 +385,7 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-sd=/Users/maxime_beauchemin/dags</span>, <span class="option">--subdir=/Users/maxime_beauchemin/dags</span></kbd></td> </tr> -<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> +<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> </tbody> </table> </dd> @@ -285,6 +399,49 @@ development and testing.</p> <dl class="last docutils"> </dl> </dd> +<dt><strong>trigger_dag</strong></dt> +<dd><p class="first">Trigger a DAG run</p> +<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">usage</span><span class="p">:</span> <span class="n">airflow</span> <span class="n">trigger_dag</span> <span class="p">[</span><span class="o">-</span><span class="n">h</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">sd</span> <span class="n">SUBDIR</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">r</span> <span class="n">RUN_ID</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">c</span> <span class="n">CONF</span><span class="p">]</span> + <span class="p">[</span><span class="o">-</span><span class="n">e</span> <span class="n">EXEC_DATE</span><span class="p">]</span> + <span class="n">dag_id</span> +</pre></div> +</div> +<dl class="last docutils"> +<dt>Required Arguments</dt> +<dd><table class="first last docutils option-list" frame="void" rules="none"> +<col class="option" /> +<col class="description" /> +<tbody valign="top"> +<tr><td class="option-group"> +<kbd><span class="option">dag_id</span></kbd></td> +<td>The id of the dag</td></tr> +</tbody> +</table> +</dd> +<dt>Optional Arguments</dt> +<dd><table class="first last docutils option-list" frame="void" rules="none"> +<col class="option" /> +<col class="description" /> +<tbody valign="top"> +<tr><td class="option-group" colspan="2"> +<kbd><span class="option">-sd=/Users/maxime_beauchemin/dags</span>, <span class="option">--subdir=/Users/maxime_beauchemin/dags</span></kbd></td> +</tr> +<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> +<tr><td class="option-group"> +<kbd><span class="option">-r</span>, <span class="option">--run_id</span></kbd></td> +<td>Helps to identify this run</td></tr> +<tr><td class="option-group"> +<kbd><span class="option">-c</span>, <span class="option">--conf</span></kbd></td> +<td>JSON string that gets pickled into the DagRun’s conf attribute</td></tr> +<tr><td class="option-group" colspan="2"> +<kbd><span class="option">-e</span>, <span class="option">--exec_date</span></kbd></td> +</tr> +<tr><td> </td><td>The execution date of the DAG</td></tr> +</tbody> +</table> +</dd> +</dl> +</dd> <dt><strong>initdb</strong></dt> <dd><p class="first">Initialize the metadata database</p> <div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">usage</span><span class="p">:</span> <span class="n">airflow</span> <span class="n">initdb</span> <span class="p">[</span><span class="o">-</span><span class="n">h</span><span class="p">]</span> @@ -300,24 +457,24 @@ development and testing.</p> </pre></div> </div> <dl class="last docutils"> -<dt>Positional arguments:</dt> +<dt>Required Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> <tbody valign="top"> <tr><td class="option-group"> -<kbd>dag_id</kbd></td> +<kbd><span class="option">dag_id</span></kbd></td> <td>The id of the dag</td></tr> <tr><td class="option-group"> -<kbd>task_id</kbd></td> +<kbd><span class="option">task_id</span></kbd></td> <td>The id of the task</td></tr> <tr><td class="option-group"> -<kbd>execution_date</kbd></td> +<kbd><span class="option">execution_date</span></kbd></td> <td>The execution date of the DAG</td></tr> </tbody> </table> </dd> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -325,15 +482,15 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-sd=/Users/maxime_beauchemin/dags</span>, <span class="option">--subdir=/Users/maxime_beauchemin/dags</span></kbd></td> </tr> -<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> +<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-dr=False</span>, <span class="option">--dry_run=False</span></kbd></td> </tr> -<tr><td> </td><td>Perform a dry run</td></tr> +<tr><td> </td><td>Perform a dry run</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-tp</span>, <span class="option">--task_params</span></kbd></td> </tr> -<tr><td> </td><td>Sends a JSON params dict to the task</td></tr> +<tr><td> </td><td>Sends a JSON params dict to the task</td></tr> </tbody> </table> </dd> @@ -345,18 +502,18 @@ development and testing.</p> </pre></div> </div> <dl class="last docutils"> -<dt>Positional arguments:</dt> +<dt>Required Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> <tbody valign="top"> <tr><td class="option-group"> -<kbd>dag_id</kbd></td> +<kbd><span class="option">dag_id</span></kbd></td> <td>The id of the dag</td></tr> </tbody> </table> </dd> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -364,7 +521,7 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-sd=/Users/maxime_beauchemin/dags</span>, <span class="option">--subdir=/Users/maxime_beauchemin/dags</span></kbd></td> </tr> -<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> +<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> </tbody> </table> </dd> @@ -376,21 +533,21 @@ development and testing.</p> </pre></div> </div> <dl class="last docutils"> -<dt>Positional arguments:</dt> +<dt>Required Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> <tbody valign="top"> <tr><td class="option-group"> -<kbd>dag_id</kbd></td> +<kbd><span class="option">dag_id</span></kbd></td> <td>The id of the dag</td></tr> <tr><td class="option-group"> -<kbd>execution_date</kbd></td> +<kbd><span class="option">execution_date</span></kbd></td> <td>The execution date of the DAG</td></tr> </tbody> </table> </dd> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -398,7 +555,7 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-sd=/Users/maxime_beauchemin/dags</span>, <span class="option">--subdir=/Users/maxime_beauchemin/dags</span></kbd></td> </tr> -<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> +<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> </tbody> </table> </dd> @@ -406,30 +563,31 @@ development and testing.</p> </dd> <dt><strong>run</strong></dt> <dd><p class="first">Run a single task instance</p> -<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">usage</span><span class="p">:</span> <span class="n">airflow</span> <span class="n">run</span> <span class="p">[</span><span class="o">-</span><span class="n">h</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">sd</span> <span class="n">SUBDIR</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">m</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">f</span><span class="p">]</span> <span class="p">[</span><span class="o">--</span><span class="n">pool</span> <span class="n">POOL</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">l</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">i</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">I</span> <span class="p">]</span> - <span class="p">[</span><span class="o">--</span><span class="n">ship_dag</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">p</span> <span class="n">PICKLE</span><span class="p">]</span> +<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">usage</span><span class="p">:</span> <span class="n">airflow</span> <span class="n">run</span> <span class="p">[</span><span class="o">-</span><span class="n">h</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">sd</span> <span class="n">SUBDIR</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">m</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">f</span><span class="p">]</span> <span class="p">[</span><span class="o">--</span><span class="n">pool</span> <span class="n">POOL</span><span class="p">]</span> + <span class="p">[</span><span class="o">--</span><span class="n">cfg_path</span> <span class="n">CFG_PATH</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">l</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">A</span> <span class="n">IGNORE_ALL_DEPENDENCIES</span><span class="p">]</span> + <span class="p">[</span><span class="o">-</span><span class="n">i</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">I</span><span class="p">]</span> <span class="p">[</span><span class="o">--</span><span class="n">ship_dag</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">p</span> <span class="n">PICKLE</span><span class="p">]</span> <span class="n">dag_id</span> <span class="n">task_id</span> <span class="n">execution_date</span> </pre></div> </div> <dl class="last docutils"> -<dt>Positional arguments:</dt> +<dt>Required Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> <tbody valign="top"> <tr><td class="option-group"> -<kbd>dag_id</kbd></td> +<kbd><span class="option">dag_id</span></kbd></td> <td>The id of the dag</td></tr> <tr><td class="option-group"> -<kbd>task_id</kbd></td> +<kbd><span class="option">task_id</span></kbd></td> <td>The id of the task</td></tr> <tr><td class="option-group"> -<kbd>execution_date</kbd></td> +<kbd><span class="option">execution_date</span></kbd></td> <td>The execution date of the DAG</td></tr> </tbody> </table> </dd> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -437,34 +595,41 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-sd=/Users/maxime_beauchemin/dags</span>, <span class="option">--subdir=/Users/maxime_beauchemin/dags</span></kbd></td> </tr> -<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> +<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-m=False</span>, <span class="option">--mark_success=False</span></kbd></td> </tr> -<tr><td> </td><td>Mark jobs as succeeded without running them</td></tr> +<tr><td> </td><td>Mark jobs as succeeded without running them</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-f=False</span>, <span class="option">--force=False</span></kbd></td> </tr> -<tr><td> </td><td>Force a run regardless of previous success</td></tr> +<tr><td> </td><td>Ignore previous task instance state, rerun regardless if task already succeeded/failed</td></tr> <tr><td class="option-group"> <kbd><span class="option">--pool</span></kbd></td> <td>Resource pool to use</td></tr> +<tr><td class="option-group"> +<kbd><span class="option">--cfg_path</span></kbd></td> +<td>Path to config file to use instead of airflow.cfg</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-l=False</span>, <span class="option">--local=False</span></kbd></td> </tr> -<tr><td> </td><td>Run the task using the LocalExecutor</td></tr> +<tr><td> </td><td>Run the task using the LocalExecutor</td></tr> +<tr><td class="option-group" colspan="2"> +<kbd><span class="option">-A</span>, <span class="option">--ignore_all_dependencies</span></kbd></td> +</tr> +<tr><td> </td><td>Ignores all non-critical dependencies, including ignore_ti_state and ignore_task_depsstore_true</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-i=False</span>, <span class="option">--ignore_dependencies=False</span></kbd></td> </tr> -<tr><td> </td><td>Ignore upstream and depends_on_past dependencies</td></tr> +<tr><td> </td><td>Ignore task-specific dependencies, e.g. upstream, depends_on_past, and retry delay dependencies</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-I=False</span>, <span class="option">--ignore_depends_on_past=False</span></kbd></td> </tr> -<tr><td> </td><td>Ignore depends_on_past dependencies (but respect upstream dependencies)</td></tr> +<tr><td> </td><td>Ignore depends_on_past dependencies (but respect upstream dependencies)</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">--ship_dag=False</span></kbd></td> </tr> -<tr><td> </td><td>Pickles (serializes) the DAG and ships it to the worker</td></tr> +<tr><td> </td><td>Pickles (serializes) the DAG and ships it to the worker</td></tr> <tr><td class="option-group"> <kbd><span class="option">-p</span>, <span class="option">--pickle</span></kbd></td> <td>Serialized pickle object of the entire dag (used internally)</td></tr> @@ -479,18 +644,18 @@ development and testing.</p> </pre></div> </div> <dl class="last docutils"> -<dt>Positional arguments:</dt> +<dt>Required Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> <tbody valign="top"> <tr><td class="option-group"> -<kbd>dag_id</kbd></td> +<kbd><span class="option">dag_id</span></kbd></td> <td>The id of the dag</td></tr> </tbody> </table> </dd> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -498,11 +663,11 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-t=False</span>, <span class="option">--tree=False</span></kbd></td> </tr> -<tr><td> </td><td>Tree view</td></tr> +<tr><td> </td><td>Tree view</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-sd=/Users/maxime_beauchemin/dags</span>, <span class="option">--subdir=/Users/maxime_beauchemin/dags</span></kbd></td> </tr> -<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> +<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> </tbody> </table> </dd> @@ -517,18 +682,18 @@ development and testing.</p> </pre></div> </div> <dl class="last docutils"> -<dt>Positional arguments:</dt> +<dt>Required Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> <tbody valign="top"> <tr><td class="option-group"> -<kbd>dag_id</kbd></td> +<kbd><span class="option">dag_id</span></kbd></td> <td>The id of the dag</td></tr> </tbody> </table> </dd> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -536,49 +701,49 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-t</span>, <span class="option">--task_regex</span></kbd></td> </tr> -<tr><td> </td><td>The regex to filter specific task_ids to backfill (optional)</td></tr> +<tr><td> </td><td>The regex to filter specific task_ids to backfill (optional)</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-s</span>, <span class="option">--start_date</span></kbd></td> </tr> -<tr><td> </td><td>Override start_date YYYY-MM-DD</td></tr> +<tr><td> </td><td>Override start_date YYYY-MM-DD</td></tr> <tr><td class="option-group"> <kbd><span class="option">-e</span>, <span class="option">--end_date</span></kbd></td> <td>Override end_date YYYY-MM-DD</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-m=False</span>, <span class="option">--mark_success=False</span></kbd></td> </tr> -<tr><td> </td><td>Mark jobs as succeeded without running them</td></tr> +<tr><td> </td><td>Mark jobs as succeeded without running them</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-l=False</span>, <span class="option">--local=False</span></kbd></td> </tr> -<tr><td> </td><td>Run the task using the LocalExecutor</td></tr> +<tr><td> </td><td>Run the task using the LocalExecutor</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-x=False</span>, <span class="option">--donot_pickle=False</span></kbd></td> </tr> -<tr><td> </td><td>Do not attempt to pickle the DAG object to send over to the workers, just tell the workers to run their version of the code.</td></tr> +<tr><td> </td><td>Do not attempt to pickle the DAG object to send over to the workers, just tell the workers to run their version of the code.</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-a=False</span>, <span class="option">--include_adhoc=False</span></kbd></td> </tr> -<tr><td> </td><td>Include dags with the adhoc parameter.</td></tr> +<tr><td> </td><td>Include dags with the adhoc parameter.</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-i=False</span>, <span class="option">--ignore_dependencies=False</span></kbd></td> </tr> -<tr><td> </td><td>Skip upstream tasks, run only the tasks matching the regexp. Only works in conjunction with task_regex</td></tr> +<tr><td> </td><td>Skip upstream tasks, run only the tasks matching the regexp. Only works in conjunction with task_regex</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-I=False</span>, <span class="option">--ignore_first_depends_on_past=False</span></kbd></td> </tr> -<tr><td> </td><td>Ignores depends_on_past dependencies for the first set of tasks only (subsequent executions in the backfill DO respect depends_on_past).</td></tr> +<tr><td> </td><td>Ignores depends_on_past dependencies for the first set of tasks only (subsequent executions in the backfill DO respect depends_on_past).</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-sd=/Users/maxime_beauchemin/dags</span>, <span class="option">--subdir=/Users/maxime_beauchemin/dags</span></kbd></td> </tr> -<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> +<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> <tr><td class="option-group"> <kbd><span class="option">--pool</span></kbd></td> <td>Resource pool to use</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-dr=False</span>, <span class="option">--dry_run=False</span></kbd></td> </tr> -<tr><td> </td><td>Perform a dry run</td></tr> +<tr><td> </td><td>Perform a dry run</td></tr> </tbody> </table> </dd> @@ -590,7 +755,7 @@ development and testing.</p> </pre></div> </div> <dl class="last docutils"> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -598,11 +763,11 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-sd=/Users/maxime_beauchemin/dags</span>, <span class="option">--subdir=/Users/maxime_beauchemin/dags</span></kbd></td> </tr> -<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> +<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-r=False</span>, <span class="option">--report=False</span></kbd></td> </tr> -<tr><td> </td><td>Show DagBag loading report</td></tr> +<tr><td> </td><td>Show DagBag loading report</td></tr> </tbody> </table> </dd> @@ -616,18 +781,19 @@ development and testing.</p> </pre></div> </div> <dl class="last docutils"> -<dt>Positional arguments:</dt> +<dt>Required Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> <tbody valign="top"> -<tr><td class="option-group"> -<kbd>principal</kbd></td> -<td>kerberos principal</td></tr> +<tr><td class="option-group" colspan="2"> +<kbd><span class="option">principal=airflow</span></kbd></td> +</tr> +<tr><td> </td><td>kerberos principal</td></tr> </tbody> </table> </dd> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -635,14 +801,14 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-kt=airflow.keytab</span>, <span class="option">--keytab=airflow.keytab</span></kbd></td> </tr> -<tr><td> </td><td>keytab</td></tr> +<tr><td> </td><td>keytab</td></tr> <tr><td class="option-group"> <kbd><span class="option">--pid</span></kbd></td> <td>PID file location</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-D=False</span>, <span class="option">--daemon=False</span></kbd></td> </tr> -<tr><td> </td><td>Daemonize instead of running in the foreground</td></tr> +<tr><td> </td><td>Daemonize instead of running in the foreground</td></tr> <tr><td class="option-group"> <kbd><span class="option">--stdout</span></kbd></td> <td>Redirect stdout to this file</td></tr> @@ -664,7 +830,7 @@ development and testing.</p> </pre></div> </div> <dl class="last docutils"> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -672,22 +838,22 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-p=False</span>, <span class="option">--do_pickle=False</span></kbd></td> </tr> -<tr><td> </td><td>Attempt to pickle the DAG object to send over to the workers, instead of letting workers run their version of the code.</td></tr> +<tr><td> </td><td>Attempt to pickle the DAG object to send over to the workers, instead of letting workers run their version of the code.</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-q=default</span>, <span class="option">--queues=default</span></kbd></td> </tr> -<tr><td> </td><td>Comma delimited list of queues to serve</td></tr> +<tr><td> </td><td>Comma delimited list of queues to serve</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-c=16</span>, <span class="option">--concurrency=16</span></kbd></td> </tr> -<tr><td> </td><td>The number of worker processes</td></tr> +<tr><td> </td><td>The number of worker processes</td></tr> <tr><td class="option-group"> <kbd><span class="option">--pid</span></kbd></td> <td>PID file location</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-D=False</span>, <span class="option">--daemon=False</span></kbd></td> </tr> -<tr><td> </td><td>Daemonize instead of running in the foreground</td></tr> +<tr><td> </td><td>Daemonize instead of running in the foreground</td></tr> <tr><td class="option-group"> <kbd><span class="option">--stdout</span></kbd></td> <td>Redirect stdout to this file</td></tr> @@ -709,11 +875,11 @@ development and testing.</p> <span class="p">[</span><span class="o">-</span><span class="n">t</span> <span class="n">WORKER_TIMEOUT</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">hn</span> <span class="n">HOSTNAME</span><span class="p">]</span> <span class="p">[</span><span class="o">--</span><span class="n">pid</span> <span class="p">[</span><span class="n">PID</span><span class="p">]]</span> <span class="p">[</span><span class="o">-</span><span class="n">D</span><span class="p">]</span> <span class="p">[</span><span class="o">--</span><span class="n">stdout</span> <span class="n">STDOUT</span><span class="p">]</span> <span class="p">[</span><span class="o">--</span><span class="n">stderr</span> <span class="n">STDERR</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">A</span> <span class="n">ACCESS_LOGFILE</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">E</span> <span class="n">ERROR_LOGFILE</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">l</span> <span class="n">LOG_FILE</span><span class="p">]</span> - <span class="p">[</span><span class="o">-</span><span class="n">d</span><span class="p">]</span> + <span class="p">[</span><span class="o">--</span><span class="n">ssl_cert</span> <span class="n">SSL_CERT</span><span class="p">]</span> <span class="p">[</span><span class="o">--</span><span class="n">ssl_key</span> <span class="n">SSL_KEY</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">d</span><span class="p">]</span> </pre></div> </div> <dl class="last docutils"> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -721,32 +887,32 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-p=8080</span>, <span class="option">--port=8080</span></kbd></td> </tr> -<tr><td> </td><td>The port on which to run the server</td></tr> +<tr><td> </td><td>The port on which to run the server</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-w=4</span>, <span class="option">--workers=4</span></kbd></td> </tr> -<tr><td> </td><td>Number of workers to run the webserver on</td></tr> +<tr><td> </td><td>Number of workers to run the webserver on</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-k=sync</span>, <span class="option">--workerclass=sync</span></kbd></td> </tr> -<tr><td> </td><td><p class="first">The worker class to use for Gunicorn</p> +<tr><td> </td><td><p class="first">The worker class to use for Gunicorn</p> <p class="last">Possible choices: sync, eventlet, gevent, tornado</p> </td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-t=120</span>, <span class="option">--worker_timeout=120</span></kbd></td> </tr> -<tr><td> </td><td>The timeout for waiting on webserver workers</td></tr> +<tr><td> </td><td>The timeout for waiting on webserver workers</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-hn=0.0.0.0</span>, <span class="option">--hostname=0.0.0.0</span></kbd></td> </tr> -<tr><td> </td><td>Set the hostname on which to run the web server</td></tr> +<tr><td> </td><td>Set the hostname on which to run the web server</td></tr> <tr><td class="option-group"> <kbd><span class="option">--pid</span></kbd></td> <td>PID file location</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-D=False</span>, <span class="option">--daemon=False</span></kbd></td> </tr> -<tr><td> </td><td>Daemonize instead of running in the foreground</td></tr> +<tr><td> </td><td>Daemonize instead of running in the foreground</td></tr> <tr><td class="option-group"> <kbd><span class="option">--stdout</span></kbd></td> <td>Redirect stdout to this file</td></tr> @@ -754,20 +920,26 @@ development and testing.</p> <kbd><span class="option">--stderr</span></kbd></td> <td>Redirect stderr to this file</td></tr> <tr><td class="option-group" colspan="2"> -<kbd><span class="option">-A</span>, <span class="option">--access_logfile</span></kbd></td> +<kbd><span class="option">-A=-</span>, <span class="option">--access_logfile=-</span></kbd></td> </tr> -<tr><td> </td><td>The logfile to store the webserver access log. Use ‘-‘ to print to stderr.</td></tr> +<tr><td> </td><td>The logfile to store the webserver access log. Use ‘-‘ to print to stderr.</td></tr> <tr><td class="option-group" colspan="2"> -<kbd><span class="option">-E</span>, <span class="option">--error_logfile</span></kbd></td> +<kbd><span class="option">-E=-</span>, <span class="option">--error_logfile=-</span></kbd></td> </tr> -<tr><td> </td><td>The logfile to store the webserver error log. Use ‘-‘ to print to stderr.</td></tr> +<tr><td> </td><td>The logfile to store the webserver error log. Use ‘-‘ to print to stderr.</td></tr> <tr><td class="option-group"> <kbd><span class="option">-l</span>, <span class="option">--log-file</span></kbd></td> <td>Location of the log file</td></tr> +<tr><td class="option-group"> +<kbd><span class="option">--ssl_cert</span></kbd></td> +<td>Path to the SSL certificate for the webserver</td></tr> +<tr><td class="option-group"> +<kbd><span class="option">--ssl_key</span></kbd></td> +<td>Path to the key to use with the SSL certificate</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-d=False</span>, <span class="option">--debug=False</span></kbd></td> </tr> -<tr><td> </td><td>Use the server that ships with Flask in debug mode</td></tr> +<tr><td> </td><td>Use the server that ships with Flask in debug mode</td></tr> </tbody> </table> </dd> @@ -781,7 +953,7 @@ development and testing.</p> </pre></div> </div> <dl class="last docutils"> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -789,26 +961,26 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-hn=0.0.0.0</span>, <span class="option">--hostname=0.0.0.0</span></kbd></td> </tr> -<tr><td> </td><td>Set the hostname on which to run the server</td></tr> +<tr><td> </td><td>Set the hostname on which to run the server</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-p=5555</span>, <span class="option">--port=5555</span></kbd></td> </tr> -<tr><td> </td><td>The port on which to run the server</td></tr> +<tr><td> </td><td>The port on which to run the server</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-fc</span>, <span class="option">--flower_conf</span></kbd></td> </tr> -<tr><td> </td><td>Configuration file for flower</td></tr> +<tr><td> </td><td>Configuration file for flower</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-a</span>, <span class="option">--broker_api</span></kbd></td> </tr> -<tr><td> </td><td>Broker api</td></tr> +<tr><td> </td><td>Broker api</td></tr> <tr><td class="option-group"> <kbd><span class="option">--pid</span></kbd></td> <td>PID file location</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-D=False</span>, <span class="option">--daemon=False</span></kbd></td> </tr> -<tr><td> </td><td>Daemonize instead of running in the foreground</td></tr> +<tr><td> </td><td>Daemonize instead of running in the foreground</td></tr> <tr><td class="option-group"> <kbd><span class="option">--stdout</span></kbd></td> <td>Redirect stdout to this file</td></tr> @@ -831,7 +1003,7 @@ development and testing.</p> </pre></div> </div> <dl class="last docutils"> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -842,25 +1014,26 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-sd=/Users/maxime_beauchemin/dags</span>, <span class="option">--subdir=/Users/maxime_beauchemin/dags</span></kbd></td> </tr> -<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> +<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-r</span>, <span class="option">--run-duration</span></kbd></td> </tr> -<tr><td> </td><td>Set number of seconds to execute before exiting</td></tr> -<tr><td class="option-group"> -<kbd><span class="option">-n</span>, <span class="option">--num_runs</span></kbd></td> -<td>Set the number of runs to execute before exiting</td></tr> +<tr><td> </td><td>Set number of seconds to execute before exiting</td></tr> +<tr><td class="option-group" colspan="2"> +<kbd><span class="option">-n=-1</span>, <span class="option">--num_runs=-1</span></kbd></td> +</tr> +<tr><td> </td><td>Set the number of runs to execute before exiting</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-p=False</span>, <span class="option">--do_pickle=False</span></kbd></td> </tr> -<tr><td> </td><td>Attempt to pickle the DAG object to send over to the workers, instead of letting workers run their version of the code.</td></tr> +<tr><td> </td><td>Attempt to pickle the DAG object to send over to the workers, instead of letting workers run their version of the code.</td></tr> <tr><td class="option-group"> <kbd><span class="option">--pid</span></kbd></td> <td>PID file location</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-D=False</span>, <span class="option">--daemon=False</span></kbd></td> </tr> -<tr><td> </td><td>Daemonize instead of running in the foreground</td></tr> +<tr><td> </td><td>Daemonize instead of running in the foreground</td></tr> <tr><td class="option-group"> <kbd><span class="option">--stdout</span></kbd></td> <td>Redirect stdout to this file</td></tr> @@ -881,24 +1054,24 @@ development and testing.</p> </pre></div> </div> <dl class="last docutils"> -<dt>Positional arguments:</dt> +<dt>Required Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> <tbody valign="top"> <tr><td class="option-group"> -<kbd>dag_id</kbd></td> +<kbd><span class="option">dag_id</span></kbd></td> <td>The id of the dag</td></tr> <tr><td class="option-group"> -<kbd>task_id</kbd></td> +<kbd><span class="option">task_id</span></kbd></td> <td>The id of the task</td></tr> <tr><td class="option-group"> -<kbd>execution_date</kbd></td> +<kbd><span class="option">execution_date</span></kbd></td> <td>The execution date of the DAG</td></tr> </tbody> </table> </dd> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -906,44 +1079,33 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-sd=/Users/maxime_beauchemin/dags</span>, <span class="option">--subdir=/Users/maxime_beauchemin/dags</span></kbd></td> </tr> -<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> +<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> </tbody> </table> </dd> </dl> </dd> -<dt><strong>trigger_dag</strong></dt> -<dd><p class="first">Trigger a DAG run</p> -<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">usage</span><span class="p">:</span> <span class="n">airflow</span> <span class="n">trigger_dag</span> <span class="p">[</span><span class="o">-</span><span class="n">h</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">sd</span> <span class="n">SUBDIR</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">r</span> <span class="n">RUN_ID</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">c</span> <span class="n">CONF</span><span class="p">]</span> <span class="n">dag_id</span> +<dt><strong>pool</strong></dt> +<dd><p class="first">CRUD operations on pools</p> +<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">usage</span><span class="p">:</span> <span class="n">airflow</span> <span class="n">pool</span> <span class="p">[</span><span class="o">-</span><span class="n">h</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">s</span> <span class="n">NAME</span> <span class="n">SLOT_COUNT</span> <span class="n">POOL_DESCRIPTION</span><span class="p">]</span> <span class="p">[</span><span class="o">-</span><span class="n">g</span> <span class="n">NAME</span><span class="p">]</span> + <span class="p">[</span><span class="o">-</span><span class="n">x</span> <span class="n">NAME</span><span class="p">]</span> </pre></div> </div> <dl class="last docutils"> -<dt>Positional arguments:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> <tbody valign="top"> <tr><td class="option-group"> -<kbd>dag_id</kbd></td> -<td>The id of the dag</td></tr> -</tbody> -</table> -</dd> -<dt>Options:</dt> -<dd><table class="first last docutils option-list" frame="void" rules="none"> -<col class="option" /> -<col class="description" /> -<tbody valign="top"> -<tr><td class="option-group" colspan="2"> -<kbd><span class="option">-sd=/Users/maxime_beauchemin/dags</span>, <span class="option">--subdir=/Users/maxime_beauchemin/dags</span></kbd></td> -</tr> -<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> +<kbd><span class="option">-s</span>, <span class="option">--set</span></kbd></td> +<td>Set pool slot count and description, respectively</td></tr> <tr><td class="option-group"> -<kbd><span class="option">-r</span>, <span class="option">--run_id</span></kbd></td> -<td>Helps to identify this run</td></tr> +<kbd><span class="option">-g</span>, <span class="option">--get</span></kbd></td> +<td>Get pool info</td></tr> <tr><td class="option-group"> -<kbd><span class="option">-c</span>, <span class="option">--conf</span></kbd></td> -<td>JSON string that gets pickled into the DagRun’s conf attribute</td></tr> +<kbd><span class="option">-x</span>, <span class="option">--delete</span></kbd></td> +<td>Delete a pool</td></tr> </tbody> </table> </dd> @@ -965,18 +1127,18 @@ development and testing.</p> </pre></div> </div> <dl class="last docutils"> -<dt>Positional arguments:</dt> +<dt>Required Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> <tbody valign="top"> <tr><td class="option-group"> -<kbd>dag_id</kbd></td> +<kbd><span class="option">dag_id</span></kbd></td> <td>The id of the dag</td></tr> </tbody> </table> </dd> -<dt>Options:</dt> +<dt>Optional Arguments</dt> <dd><table class="first last docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> @@ -984,42 +1146,42 @@ development and testing.</p> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-t</span>, <span class="option">--task_regex</span></kbd></td> </tr> -<tr><td> </td><td>The regex to filter specific task_ids to backfill (optional)</td></tr> +<tr><td> </td><td>The regex to filter specific task_ids to backfill (optional)</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-s</span>, <span class="option">--start_date</span></kbd></td> </tr> -<tr><td> </td><td>Override start_date YYYY-MM-DD</td></tr> +<tr><td> </td><td>Override start_date YYYY-MM-DD</td></tr> <tr><td class="option-group"> <kbd><span class="option">-e</span>, <span class="option">--end_date</span></kbd></td> <td>Override end_date YYYY-MM-DD</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-sd=/Users/maxime_beauchemin/dags</span>, <span class="option">--subdir=/Users/maxime_beauchemin/dags</span></kbd></td> </tr> -<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> +<tr><td> </td><td>File location or directory from which to look for the dag</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-u=False</span>, <span class="option">--upstream=False</span></kbd></td> </tr> -<tr><td> </td><td>Include upstream tasks</td></tr> +<tr><td> </td><td>Include upstream tasks</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-d=False</span>, <span class="option">--downstream=False</span></kbd></td> </tr> -<tr><td> </td><td>Include downstream tasks</td></tr> +<tr><td> </td><td>Include downstream tasks</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-c=False</span>, <span class="option">--no_confirm=False</span></kbd></td> </tr> -<tr><td> </td><td>Do not request confirmation</td></tr> +<tr><td> </td><td>Do not request confirmation</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-f=False</span>, <span class="option">--only_failed=False</span></kbd></td> </tr> -<tr><td> </td><td>Only failed jobs</td></tr> +<tr><td> </td><td>Only failed jobs</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-r=False</span>, <span class="option">--only_running=False</span></kbd></td> </tr> -<tr><td> </td><td>Only running jobs</td></tr> +<tr><td> </td><td>Only running jobs</td></tr> <tr><td class="option-group" colspan="2"> <kbd><span class="option">-x=False</span>, <span class="option">--exclude_subdags=False</span></kbd></td> </tr> -<tr><td> </td><td>Exclude subdags</td></tr> +<tr><td> </td><td>Exclude subdags</td></tr> </tbody> </table> </dd> @@ -1040,15 +1202,18 @@ development and testing.</p> </div> + <div class="articleComments"> + + </div> </div> <footer> <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> - <a href="scheduler.html" class="btn btn-neutral float-right" title="Scheduling & Triggers" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a> + <a href="scheduler.html" class="btn btn-neutral float-right" title="Scheduling & Triggers" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a> - <a href="profiling.html" class="btn btn-neutral" title="Data Profiling" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a> + <a href="profiling.html" class="btn btn-neutral" title="Data Profiling" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a> </div> @@ -1081,7 +1246,8 @@ development and testing.</p> VERSION:'', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', - HAS_SOURCE: true + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt' }; </script> <script type="text/javascript" src="_static/jquery.js"></script>