Skip to content

Commit

Permalink
Fix example_dags and system tests "source" links in documentation
Browse files Browse the repository at this point in the history
This is the result of running the scripts from
apache/airflow#24389

Fixes: apache/airflow#23632
  • Loading branch information
potiuk committed Jun 11, 2022
1 parent 20252de commit 56eeba3
Show file tree
Hide file tree
Showing 995 changed files with 5,333 additions and 5,333 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ <h2>Using the Operator<a class="headerlink" href="#using-the-operator" title="Pe
return the <code class="docutils literal notranslate"><span class="pre">job_id</span></code> that should be pass to the AirbyteSensor.</p>
<p>An example using the synchronous way:</p>
<div class="example-block-wrapper docutils container">
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py</span><a class="example-header-button viewcode-button reference internal" href="../_modules/airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.html"><span class="viewcode-link">[source]</span></a></p>
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py</span><a class="example-header-button viewcode-button reference internal" href="https://github.com/apache/airflow/tree/providers-airbyte/2.1.1/airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py" target="_blank">[source]</span></a></p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span> <span class="n">sync_source_destination</span> <span class="o">=</span> <span class="n">AirbyteTriggerSyncOperator</span><span class="p">(</span>
<span class="n">task_id</span><span class="o">=</span><span class="s1">&#39;airbyte_sync_source_dest_example&#39;</span><span class="p">,</span>
<span class="n">connection_id</span><span class="o">=</span><span class="s1">&#39;15bc3800-82e4-48c3-a32d-620661273f28&#39;</span><span class="p">,</span>
Expand All @@ -619,7 +619,7 @@ <h2>Using the Operator<a class="headerlink" href="#using-the-operator" title="Pe
</div>
<p>An example using the async way:</p>
<div class="example-block-wrapper docutils container">
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py</span><a class="example-header-button viewcode-button reference internal" href="../_modules/airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.html"><span class="viewcode-link">[source]</span></a></p>
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py</span><a class="example-header-button viewcode-button reference internal" href="https://github.com/apache/airflow/tree/providers-airbyte/2.1.1/airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py" target="_blank">[source]</span></a></p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span> <span class="n">async_source_destination</span> <span class="o">=</span> <span class="n">AirbyteTriggerSyncOperator</span><span class="p">(</span>
<span class="n">task_id</span><span class="o">=</span><span class="s1">&#39;airbyte_async_source_dest_example&#39;</span><span class="p">,</span>
<span class="n">connection_id</span><span class="o">=</span><span class="s1">&#39;15bc3800-82e4-48c3-a32d-620661273f28&#39;</span><span class="p">,</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ <h2>Using the Operator<a class="headerlink" href="#using-the-operator" title="Pe
return the <code class="docutils literal notranslate"><span class="pre">job_id</span></code> that should be pass to the AirbyteSensor.</p>
<p>An example using the synchronous way:</p>
<div class="example-block-wrapper docutils container">
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py</span><a class="example-header-button viewcode-button reference internal" href="../_modules/airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.html"><span class="viewcode-link">[source]</span></a></p>
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py</span><a class="example-header-button viewcode-button reference internal" href="https://github.com/apache/airflow/tree/providers-airbyte/2.1.2/airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py" target="_blank">[source]</span></a></p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span> <span class="n">sync_source_destination</span> <span class="o">=</span> <span class="n">AirbyteTriggerSyncOperator</span><span class="p">(</span>
<span class="n">task_id</span><span class="o">=</span><span class="s1">&#39;airbyte_sync_source_dest_example&#39;</span><span class="p">,</span>
<span class="n">connection_id</span><span class="o">=</span><span class="s1">&#39;15bc3800-82e4-48c3-a32d-620661273f28&#39;</span><span class="p">,</span>
Expand All @@ -619,7 +619,7 @@ <h2>Using the Operator<a class="headerlink" href="#using-the-operator" title="Pe
</div>
<p>An example using the async way:</p>
<div class="example-block-wrapper docutils container">
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py</span><a class="example-header-button viewcode-button reference internal" href="../_modules/airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.html"><span class="viewcode-link">[source]</span></a></p>
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py</span><a class="example-header-button viewcode-button reference internal" href="https://github.com/apache/airflow/tree/providers-airbyte/2.1.2/airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py" target="_blank">[source]</span></a></p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span> <span class="n">async_source_destination</span> <span class="o">=</span> <span class="n">AirbyteTriggerSyncOperator</span><span class="p">(</span>
<span class="n">task_id</span><span class="o">=</span><span class="s1">&#39;airbyte_async_source_dest_example&#39;</span><span class="p">,</span>
<span class="n">connection_id</span><span class="o">=</span><span class="s1">&#39;15bc3800-82e4-48c3-a32d-620661273f28&#39;</span><span class="p">,</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ <h2>Using the Operator<a class="headerlink" href="#using-the-operator" title="Pe
return the <code class="docutils literal notranslate"><span class="pre">job_id</span></code> that should be pass to the AirbyteSensor.</p>
<p>An example using the synchronous way:</p>
<div class="example-block-wrapper docutils container">
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py</span><a class="example-header-button viewcode-button reference internal" href="../_modules/airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.html"><span class="viewcode-link">[source]</span></a></p>
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py</span><a class="example-header-button viewcode-button reference internal" href="https://github.com/apache/airflow/tree/providers-airbyte/2.1.3/airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py" target="_blank">[source]</span></a></p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span> <span class="n">sync_source_destination</span> <span class="o">=</span> <span class="n">AirbyteTriggerSyncOperator</span><span class="p">(</span>
<span class="n">task_id</span><span class="o">=</span><span class="s1">&#39;airbyte_sync_source_dest_example&#39;</span><span class="p">,</span>
<span class="n">connection_id</span><span class="o">=</span><span class="s1">&#39;15bc3800-82e4-48c3-a32d-620661273f28&#39;</span><span class="p">,</span>
Expand All @@ -619,7 +619,7 @@ <h2>Using the Operator<a class="headerlink" href="#using-the-operator" title="Pe
</div>
<p>An example using the async way:</p>
<div class="example-block-wrapper docutils container">
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py</span><a class="example-header-button viewcode-button reference internal" href="../_modules/airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.html"><span class="viewcode-link">[source]</span></a></p>
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py</span><a class="example-header-button viewcode-button reference internal" href="https://github.com/apache/airflow/tree/providers-airbyte/2.1.3/airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py" target="_blank">[source]</span></a></p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span> <span class="n">async_source_destination</span> <span class="o">=</span> <span class="n">AirbyteTriggerSyncOperator</span><span class="p">(</span>
<span class="n">task_id</span><span class="o">=</span><span class="s1">&#39;airbyte_async_source_dest_example&#39;</span><span class="p">,</span>
<span class="n">connection_id</span><span class="o">=</span><span class="s1">&#39;15bc3800-82e4-48c3-a32d-620661273f28&#39;</span><span class="p">,</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ <h2>Using the Operator<a class="headerlink" href="#using-the-operator" title="Pe
return the <code class="docutils literal notranslate"><span class="pre">job_id</span></code> that should be pass to the AirbyteSensor.</p>
<p>An example using the synchronous way:</p>
<div class="example-block-wrapper docutils container">
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py</span><a class="example-header-button viewcode-button reference internal" href="../_modules/airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.html"><span class="viewcode-link">[source]</span></a></p>
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py</span><a class="example-header-button viewcode-button reference internal" href="https://github.com/apache/airflow/tree/providers-airbyte/2.1.4/airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py" target="_blank">[source]</span></a></p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span> <span class="n">sync_source_destination</span> <span class="o">=</span> <span class="n">AirbyteTriggerSyncOperator</span><span class="p">(</span>
<span class="n">task_id</span><span class="o">=</span><span class="s1">&#39;airbyte_sync_source_dest_example&#39;</span><span class="p">,</span>
<span class="n">connection_id</span><span class="o">=</span><span class="s1">&#39;15bc3800-82e4-48c3-a32d-620661273f28&#39;</span><span class="p">,</span>
Expand All @@ -621,7 +621,7 @@ <h2>Using the Operator<a class="headerlink" href="#using-the-operator" title="Pe
</div>
<p>An example using the async way:</p>
<div class="example-block-wrapper docutils container">
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py</span><a class="example-header-button viewcode-button reference internal" href="../_modules/airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.html"><span class="viewcode-link">[source]</span></a></p>
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py</span><a class="example-header-button viewcode-button reference internal" href="https://github.com/apache/airflow/tree/providers-airbyte/2.1.4/airflow/providers/airbyte/example_dags/example_airbyte_trigger_job.py" target="_blank">[source]</span></a></p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span> <span class="n">async_source_destination</span> <span class="o">=</span> <span class="n">AirbyteTriggerSyncOperator</span><span class="p">(</span>
<span class="n">task_id</span><span class="o">=</span><span class="s1">&#39;airbyte_async_source_dest_example&#39;</span><span class="p">,</span>
<span class="n">connection_id</span><span class="o">=</span><span class="s1">&#39;15bc3800-82e4-48c3-a32d-620661273f28&#39;</span><span class="p">,</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ <h3>Purpose<a class="headerlink" href="#purpose" title="Permalink to this headli
<h3>Defining tasks<a class="headerlink" href="#defining-tasks" title="Permalink to this headline"></a></h3>
<p>In the following code we create a new bucket and then delete the bucket.</p>
<div class="example-block-wrapper docutils container">
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.py</span><a class="example-header-button viewcode-button reference internal" href="../_modules/airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.html"><span class="viewcode-link">[source]</span></a></p>
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.py</span><a class="example-header-button viewcode-button reference internal" href="https://github.com/apache/airflow/tree/providers-alibaba/1.0.0/airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.py" target="_blank">[source]</span></a></p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">with</span> <span class="n">DAG</span><span class="p">(</span>
<span class="n">dag_id</span><span class="o">=</span><span class="s1">&#39;oss_bucket_dag&#39;</span><span class="p">,</span>
<span class="n">start_date</span><span class="o">=</span><span class="n">datetime</span><span class="p">(</span><span class="mi">2021</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">),</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ <h3>Purpose<a class="headerlink" href="#purpose" title="Permalink to this headli
<h3>Defining tasks<a class="headerlink" href="#defining-tasks" title="Permalink to this headline"></a></h3>
<p>In the following code we create a new bucket and then delete the bucket.</p>
<div class="example-block-wrapper docutils container">
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.py</span><a class="example-header-button viewcode-button reference internal" href="../_modules/airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.html"><span class="viewcode-link">[source]</span></a></p>
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.py</span><a class="example-header-button viewcode-button reference internal" href="https://github.com/apache/airflow/tree/providers-alibaba/1.0.1/airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.py" target="_blank">[source]</span></a></p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">with</span> <span class="n">DAG</span><span class="p">(</span>
<span class="n">dag_id</span><span class="o">=</span><span class="s1">&#39;oss_bucket_dag&#39;</span><span class="p">,</span>
<span class="n">start_date</span><span class="o">=</span><span class="n">datetime</span><span class="p">(</span><span class="mi">2021</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">),</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ <h3>Purpose<a class="headerlink" href="#purpose" title="Permalink to this headli
<h3>Defining tasks<a class="headerlink" href="#defining-tasks" title="Permalink to this headline"></a></h3>
<p>In the following code we create a new bucket and then delete the bucket.</p>
<div class="example-block-wrapper docutils container">
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.py</span><a class="example-header-button viewcode-button reference internal" href="../_modules/airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.html"><span class="viewcode-link">[source]</span></a></p>
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.py</span><a class="example-header-button viewcode-button reference internal" href="https://github.com/apache/airflow/tree/providers-alibaba/1.1.0/airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.py" target="_blank">[source]</span></a></p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">with</span> <span class="n">DAG</span><span class="p">(</span>
<span class="n">dag_id</span><span class="o">=</span><span class="s1">&#39;oss_bucket_dag&#39;</span><span class="p">,</span>
<span class="n">start_date</span><span class="o">=</span><span class="n">datetime</span><span class="p">(</span><span class="mi">2021</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">),</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ <h3>Purpose<a class="headerlink" href="#purpose" title="Permalink to this headli
<h3>Defining tasks<a class="headerlink" href="#defining-tasks" title="Permalink to this headline"></a></h3>
<p>In the following code we create a new bucket and then delete the bucket.</p>
<div class="example-block-wrapper docutils container">
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.py</span><a class="example-header-button viewcode-button reference internal" href="../_modules/airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.html"><span class="viewcode-link">[source]</span></a></p>
<p class="example-header example-header--with-button"><span class="example-title">airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.py</span><a class="example-header-button viewcode-button reference internal" href="https://github.com/apache/airflow/tree/providers-alibaba/1.1.1/airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.py" target="_blank">[source]</span></a></p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">with</span> <span class="n">DAG</span><span class="p">(</span>
<span class="n">dag_id</span><span class="o">=</span><span class="s1">&#39;oss_bucket_dag&#39;</span><span class="p">,</span>
<span class="n">start_date</span><span class="o">=</span><span class="n">datetime</span><span class="p">(</span><span class="mi">2021</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">),</span>
Expand Down
Loading

0 comments on commit 56eeba3

Please sign in to comment.