Skip to content

Commit

Permalink
Deploying to gh-pages from @ 8ea483c 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
pixuimpou committed Mar 27, 2024
1 parent 93dbd20 commit b26b05d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 16 deletions.
39 changes: 25 additions & 14 deletions rj_smtr/constants.html
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ <h1 class="title">Module <code>pipelines.rj_smtr.constants</code></h1>
fiscalizacao
WHERE
dt_inclusao &gt;= &#39;{start}&#39;
dt_inclusao &lt; &#39;{end}&#39;
AND dt_inclusao &lt; &#39;{end}&#39;
&#34;&#34;&#34;,
},
&#34;primary_key&#34;: [&#34;id&#34;],
Expand Down Expand Up @@ -1172,26 +1172,29 @@ <h1 class="title">Module <code>pipelines.rj_smtr.constants</code></h1>

BILHETAGEM_EXCLUDE = &#34;+operadoras +consorcios&#34;

BILHETAGEM_JAE_DASHBOARD_DATASET_ID = &#34;dashboard_bilhetagem_jae&#34;

BILHETAGEM_MATERIALIZACAO_INTEGRACAO_PARAMS = {
&#34;dataset_id&#34;: BILHETAGEM_DATASET_ID,
&#34;table_id&#34;: &#34;integracao&#34;,
&#34;dataset_id&#34;: BILHETAGEM_JAE_DASHBOARD_DATASET_ID,
&#34;table_id&#34;: &#34;view_integracao&#34;,
&#34;upstream&#34;: True,
&#34;dbt_vars&#34;: {
&#34;date_range&#34;: {
&#34;table_run_datetime_column_name&#34;: &#34;datetime_captura&#34;,
&#34;table_run_datetime_column_name&#34;: &#34;data&#34;,
&#34;delay_hours&#34;: 0,
},
&#34;version&#34;: {},
},
&#34;exclude&#34;: BILHETAGEM_EXCLUDE,
&#34;exclude&#34;: f&#34;{BILHETAGEM_EXCLUDE} stops_gtfs2 routes_gtfs2 feed_info_gtfs2&#34;,
}

BILHETAGEM_MATERIALIZACAO_TRANSACAO_PARAMS = {
&#34;dataset_id&#34;: &#34;dashboard_bilhetagem_jae&#34;,
&#34;dataset_id&#34;: BILHETAGEM_JAE_DASHBOARD_DATASET_ID,
&#34;table_id&#34;: &#34;view_passageiros_hora&#34;,
&#34;upstream&#34;: True,
&#34;dbt_vars&#34;: {
&#34;date_range&#34;: {
&#34;table_run_datetime_column_name&#34;: &#34;datetime_transacao&#34;,
&#34;table_run_datetime_column_name&#34;: &#34;data&#34;,
&#34;delay_hours&#34;: 1,
},
&#34;version&#34;: {},
Expand Down Expand Up @@ -2299,7 +2302,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
fiscalizacao
WHERE
dt_inclusao &gt;= &#39;{start}&#39;
dt_inclusao &lt; &#39;{end}&#39;
AND dt_inclusao &lt; &#39;{end}&#39;
&#34;&#34;&#34;,
},
&#34;primary_key&#34;: [&#34;id&#34;],
Expand Down Expand Up @@ -2654,26 +2657,29 @@ <h2 class="section-title" id="header-classes">Classes</h2>

BILHETAGEM_EXCLUDE = &#34;+operadoras +consorcios&#34;

BILHETAGEM_JAE_DASHBOARD_DATASET_ID = &#34;dashboard_bilhetagem_jae&#34;

BILHETAGEM_MATERIALIZACAO_INTEGRACAO_PARAMS = {
&#34;dataset_id&#34;: BILHETAGEM_DATASET_ID,
&#34;table_id&#34;: &#34;integracao&#34;,
&#34;dataset_id&#34;: BILHETAGEM_JAE_DASHBOARD_DATASET_ID,
&#34;table_id&#34;: &#34;view_integracao&#34;,
&#34;upstream&#34;: True,
&#34;dbt_vars&#34;: {
&#34;date_range&#34;: {
&#34;table_run_datetime_column_name&#34;: &#34;datetime_captura&#34;,
&#34;table_run_datetime_column_name&#34;: &#34;data&#34;,
&#34;delay_hours&#34;: 0,
},
&#34;version&#34;: {},
},
&#34;exclude&#34;: BILHETAGEM_EXCLUDE,
&#34;exclude&#34;: f&#34;{BILHETAGEM_EXCLUDE} stops_gtfs2 routes_gtfs2 feed_info_gtfs2&#34;,
}

BILHETAGEM_MATERIALIZACAO_TRANSACAO_PARAMS = {
&#34;dataset_id&#34;: &#34;dashboard_bilhetagem_jae&#34;,
&#34;dataset_id&#34;: BILHETAGEM_JAE_DASHBOARD_DATASET_ID,
&#34;table_id&#34;: &#34;view_passageiros_hora&#34;,
&#34;upstream&#34;: True,
&#34;dbt_vars&#34;: {
&#34;date_range&#34;: {
&#34;table_run_datetime_column_name&#34;: &#34;datetime_transacao&#34;,
&#34;table_run_datetime_column_name&#34;: &#34;data&#34;,
&#34;delay_hours&#34;: 1,
},
&#34;version&#34;: {},
Expand Down Expand Up @@ -3013,6 +3019,10 @@ <h3>Class variables</h3>
<dd>
<div class="desc"></div>
</dd>
<dt id="pipelines.rj_smtr.constants.constants.BILHETAGEM_JAE_DASHBOARD_DATASET_ID"><code class="name">var <span class="ident">BILHETAGEM_JAE_DASHBOARD_DATASET_ID</span></code></dt>
<dd>
<div class="desc"></div>
</dd>
<dt id="pipelines.rj_smtr.constants.constants.BILHETAGEM_MATERIALIZACAO_GPS_VALIDADOR_GENERAL_PARAMS"><code class="name">var <span class="ident">BILHETAGEM_MATERIALIZACAO_GPS_VALIDADOR_GENERAL_PARAMS</span></code></dt>
<dd>
<div class="desc"></div>
Expand Down Expand Up @@ -3515,6 +3525,7 @@ <h4><code><a title="pipelines.rj_smtr.constants.constants" href="#pipelines.rj_s
<li><code><a title="pipelines.rj_smtr.constants.constants.BILHETAGEM_GENERAL_CAPTURE_DEFAULT_PARAMS" href="#pipelines.rj_smtr.constants.constants.BILHETAGEM_GENERAL_CAPTURE_DEFAULT_PARAMS">BILHETAGEM_GENERAL_CAPTURE_DEFAULT_PARAMS</a></code></li>
<li><code><a title="pipelines.rj_smtr.constants.constants.BILHETAGEM_GENERAL_CAPTURE_PARAMS" href="#pipelines.rj_smtr.constants.constants.BILHETAGEM_GENERAL_CAPTURE_PARAMS">BILHETAGEM_GENERAL_CAPTURE_PARAMS</a></code></li>
<li><code><a title="pipelines.rj_smtr.constants.constants.BILHETAGEM_INTEGRACAO_CAPTURE_PARAMS" href="#pipelines.rj_smtr.constants.constants.BILHETAGEM_INTEGRACAO_CAPTURE_PARAMS">BILHETAGEM_INTEGRACAO_CAPTURE_PARAMS</a></code></li>
<li><code><a title="pipelines.rj_smtr.constants.constants.BILHETAGEM_JAE_DASHBOARD_DATASET_ID" href="#pipelines.rj_smtr.constants.constants.BILHETAGEM_JAE_DASHBOARD_DATASET_ID">BILHETAGEM_JAE_DASHBOARD_DATASET_ID</a></code></li>
<li><code><a title="pipelines.rj_smtr.constants.constants.BILHETAGEM_MATERIALIZACAO_GPS_VALIDADOR_GENERAL_PARAMS" href="#pipelines.rj_smtr.constants.constants.BILHETAGEM_MATERIALIZACAO_GPS_VALIDADOR_GENERAL_PARAMS">BILHETAGEM_MATERIALIZACAO_GPS_VALIDADOR_GENERAL_PARAMS</a></code></li>
<li><code><a title="pipelines.rj_smtr.constants.constants.BILHETAGEM_MATERIALIZACAO_GPS_VALIDADOR_TABLE_ID" href="#pipelines.rj_smtr.constants.constants.BILHETAGEM_MATERIALIZACAO_GPS_VALIDADOR_TABLE_ID">BILHETAGEM_MATERIALIZACAO_GPS_VALIDADOR_TABLE_ID</a></code></li>
<li><code><a title="pipelines.rj_smtr.constants.constants.BILHETAGEM_MATERIALIZACAO_GPS_VALIDADOR_VAN_TABLE_ID" href="#pipelines.rj_smtr.constants.constants.BILHETAGEM_MATERIALIZACAO_GPS_VALIDADOR_VAN_TABLE_ID">BILHETAGEM_MATERIALIZACAO_GPS_VALIDADOR_VAN_TABLE_ID</a></code></li>
Expand Down
4 changes: 2 additions & 2 deletions rj_smtr/tasks.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ <h1 class="title">Module <code>pipelines.rj_smtr.tasks</code></h1>
# Create date_range using Redis
else:
if not table_id:
log(&#34;table_id are blank. Skiping task...&#34;)
log(&#34;table_id is blank. Skiping task...&#34;)
return [None], None, False

raw_table_id = raw_table_id or table_id
Expand Down Expand Up @@ -2077,7 +2077,7 @@ <h2 id="returns">Returns</h2>
# Create date_range using Redis
else:
if not table_id:
log(&#34;table_id are blank. Skiping task...&#34;)
log(&#34;table_id is blank. Skiping task...&#34;)
return [None], None, False

raw_table_id = raw_table_id or table_id
Expand Down

0 comments on commit b26b05d

Please sign in to comment.