Skip to content

Commit

Permalink
Add changes for bdf5d23
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 27, 2023
1 parent df1046b commit 01d43bf
Show file tree
Hide file tree
Showing 29 changed files with 105 additions and 102 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 3c62e4bde538113ae0f9149b08a41298
config: 18091785494ba66c7c9411d9e32f4297
tags: 645f666f9bcd5a90fca523b33c5a78b7
6 changes: 3 additions & 3 deletions _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &mdash; pyPrediktorMapClient 0.6.3 documentation</title>
<title>Overview: module code &mdash; pyPrediktorMapClient 0.6.4 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -12,7 +12,7 @@

<script src="../_static/jquery.js?v=5d32c60e"></script>
<script src="../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../_static/documentation_options.js?v=b8503983"></script>
<script src="../_static/documentation_options.js?v=73d9a94e"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/js/theme.js"></script>
Expand All @@ -32,7 +32,7 @@
pyPrediktorMapClient
</a>
<div class="version">
0.6.3
0.6.4
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
Expand Down
6 changes: 3 additions & 3 deletions _modules/pyprediktormapclient/analytics_helper.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>pyprediktormapclient.analytics_helper &mdash; pyPrediktorMapClient 0.6.3 documentation</title>
<title>pyprediktormapclient.analytics_helper &mdash; pyPrediktorMapClient 0.6.4 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -12,7 +12,7 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=b8503983"></script>
<script src="../../_static/documentation_options.js?v=73d9a94e"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand All @@ -32,7 +32,7 @@
pyPrediktorMapClient
</a>
<div class="version">
0.6.3
0.6.4
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down
6 changes: 3 additions & 3 deletions _modules/pyprediktormapclient/auth_client.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>pyprediktormapclient.auth_client &mdash; pyPrediktorMapClient 0.6.3 documentation</title>
<title>pyprediktormapclient.auth_client &mdash; pyPrediktorMapClient 0.6.4 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -12,7 +12,7 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=b8503983"></script>
<script src="../../_static/documentation_options.js?v=73d9a94e"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand All @@ -32,7 +32,7 @@
pyPrediktorMapClient
</a>
<div class="version">
0.6.3
0.6.4
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down
11 changes: 6 additions & 5 deletions _modules/pyprediktormapclient/dwh/context/enercast.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>pyprediktormapclient.dwh.context.enercast &mdash; pyPrediktorMapClient 0.6.3 documentation</title>
<title>pyprediktormapclient.dwh.context.enercast &mdash; pyPrediktorMapClient 0.6.4 documentation</title>
<link rel="stylesheet" href="../../../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../../../_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -12,7 +12,7 @@

<script src="../../../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../../../_static/documentation_options.js?v=b8503983"></script>
<script src="../../../../_static/documentation_options.js?v=73d9a94e"></script>
<script src="../../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../../_static/js/theme.js"></script>
Expand All @@ -32,7 +32,7 @@
pyPrediktorMapClient
</a>
<div class="version">
0.6.3
0.6.4
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../../../search.html" method="get">
Expand Down Expand Up @@ -112,8 +112,9 @@ <h1>Source code for pyprediktormapclient.dwh.context.enercast</h1><div class="hi
<span class="bp">self</span><span class="p">,</span> <span class="n">enercast_forecast_data</span><span class="p">:</span> <span class="n">Dict</span><span class="p">,</span> <span class="n">forecast_type_key</span><span class="p">:</span> <span class="n">Union</span><span class="p">[</span><span class="nb">int</span><span class="p">,</span> <span class="kc">None</span><span class="p">]</span> <span class="o">=</span> <span class="kc">None</span>
<span class="p">)</span> <span class="o">-&gt;</span> <span class="n">List</span><span class="p">[</span><span class="n">Any</span><span class="p">]:</span>
<span class="n">enercast_forecast_data_json</span> <span class="o">=</span> <span class="n">json</span><span class="o">.</span><span class="n">dumps</span><span class="p">({</span><span class="s2">&quot;results&quot;</span><span class="p">:</span> <span class="n">enercast_forecast_data</span><span class="p">})</span>
<span class="n">query</span> <span class="o">=</span> <span class="sa">f</span><span class="s2">&quot;EXEC dwetl.UpsertEnercastForecastData </span><span class="si">{</span><span class="n">enercast_forecast_data_json</span><span class="si">}</span><span class="s2">, </span><span class="si">{</span><span class="n">forecast_type_key</span><span class="si">}</span><span class="s2">&quot;</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">dwh</span><span class="o">.</span><span class="n">execute</span><span class="p">(</span><span class="n">query</span><span class="p">)</span></div>

<span class="n">query</span> <span class="o">=</span> <span class="s2">&quot;EXEC dwetl.UpsertEnercastForecastData ?, ?&quot;</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">dwh</span><span class="o">.</span><span class="n">execute</span><span class="p">(</span><span class="n">query</span><span class="p">,</span> <span class="n">enercast_forecast_data_json</span><span class="p">,</span> <span class="n">forecast_type_key</span><span class="p">)</span></div>
</div>

</pre></div>
Expand Down
30 changes: 15 additions & 15 deletions _modules/pyprediktormapclient/dwh/context/plant.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>pyprediktormapclient.dwh.context.plant &mdash; pyPrediktorMapClient 0.6.3 documentation</title>
<title>pyprediktormapclient.dwh.context.plant &mdash; pyPrediktorMapClient 0.6.4 documentation</title>
<link rel="stylesheet" href="../../../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../../../_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -12,7 +12,7 @@

<script src="../../../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../../../_static/documentation_options.js?v=b8503983"></script>
<script src="../../../../_static/documentation_options.js?v=73d9a94e"></script>
<script src="../../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../../_static/js/theme.js"></script>
Expand All @@ -32,7 +32,7 @@
pyPrediktorMapClient
</a>
<div class="version">
0.6.3
0.6.4
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../../../search.html" method="get">
Expand Down Expand Up @@ -106,8 +106,9 @@ <h1>Source code for pyprediktormapclient.dwh.context.plant</h1><div class="highl
<span class="k">def</span> <span class="nf">upsert_optimal_tracker_angles</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">facility_data</span><span class="p">:</span> <span class="n">Dict</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">List</span><span class="p">[</span><span class="n">Any</span><span class="p">]:</span>
<span class="n">facility_data_json</span> <span class="o">=</span> <span class="n">json</span><span class="o">.</span><span class="n">dumps</span><span class="p">(</span><span class="n">facility_data</span><span class="p">)</span>
<span class="n">facility_data_json</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="s2">&quot;&#39;&quot;</span><span class="p">,</span> <span class="s1">&#39;&quot;&#39;</span><span class="p">)</span>
<span class="n">query</span> <span class="o">=</span> <span class="sa">f</span><span class="s2">&quot;EXEC dwetl.UpsertOptimalTrackerAngles @json = </span><span class="si">{</span><span class="n">facility_data_json</span><span class="si">}</span><span class="s2">&quot;</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">dwh</span><span class="o">.</span><span class="n">execute</span><span class="p">(</span><span class="n">query</span><span class="p">)</span></div>

<span class="n">query</span> <span class="o">=</span> <span class="s2">&quot;EXEC dwetl.UpsertOptimalTrackerAngles @json = ?&quot;</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">dwh</span><span class="o">.</span><span class="n">execute</span><span class="p">(</span><span class="n">query</span><span class="p">,</span> <span class="n">facility_data_json</span><span class="p">)</span></div>


<div class="viewcode-block" id="Plant.insert_log">
Expand All @@ -121,16 +122,15 @@ <h1>Source code for pyprediktormapclient.dwh.context.plant</h1><div class="highl
<span class="n">has_thrown_error</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">False</span><span class="p">,</span>
<span class="n">message</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="p">)</span> <span class="o">-&gt;</span> <span class="n">List</span><span class="p">[</span><span class="n">Any</span><span class="p">]:</span>
<span class="n">result</span> <span class="o">=</span> <span class="s2">&quot;ERROR&quot;</span> <span class="k">if</span> <span class="n">has_thrown_error</span> <span class="k">else</span> <span class="s2">&quot;OK&quot;</span>
<span class="n">query</span> <span class="o">=</span> <span class="p">(</span>
<span class="sa">f</span><span class="s2">&quot;EXEC dwetl.InsertExtDataUpdateLog &quot;</span>
<span class="o">+</span> <span class="sa">f</span><span class="s2">&quot;@plantname = </span><span class="si">{</span><span class="n">plantname</span><span class="si">}</span><span class="s2">, &quot;</span>
<span class="o">+</span> <span class="sa">f</span><span class="s2">&quot;@extkey = </span><span class="si">{</span><span class="n">ext_forecast_type_key</span><span class="si">}</span><span class="s2">, &quot;</span>
<span class="o">+</span> <span class="sa">f</span><span class="s2">&quot;@DataType = </span><span class="si">{</span><span class="n">data_type</span><span class="si">}</span><span class="s2">, &quot;</span>
<span class="o">+</span> <span class="sa">f</span><span class="s2">&quot;@Message = </span><span class="si">{</span><span class="n">message</span><span class="si">}</span><span class="s2">, &quot;</span>
<span class="o">+</span> <span class="sa">f</span><span class="s2">&quot;@Result = </span><span class="si">{</span><span class="n">result</span><span class="si">}</span><span class="s2">&quot;</span>
<span class="p">)</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">dwh</span><span class="o">.</span><span class="n">execute</span><span class="p">(</span><span class="n">query</span><span class="p">)</span></div>
<span class="n">query</span> <span class="o">=</span> <span class="s2">&quot;EXEC dwetl.InsertExtDataUpdateLog @plantname = ?, @extkey = ?, @DataType = ?, @Message = ?, @Result = ?&quot;</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">dwh</span><span class="o">.</span><span class="n">execute</span><span class="p">(</span>
<span class="n">query</span><span class="p">,</span>
<span class="n">plantname</span><span class="p">,</span>
<span class="n">ext_forecast_type_key</span><span class="p">,</span>
<span class="n">data_type</span><span class="p">,</span>
<span class="n">message</span><span class="p">,</span>
<span class="s2">&quot;ERROR&quot;</span> <span class="k">if</span> <span class="n">has_thrown_error</span> <span class="k">else</span> <span class="s2">&quot;OK&quot;</span><span class="p">,</span>
<span class="p">)</span></div>
</div>

</pre></div>
Expand Down
11 changes: 6 additions & 5 deletions _modules/pyprediktormapclient/dwh/context/solcast.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>pyprediktormapclient.dwh.context.solcast &mdash; pyPrediktorMapClient 0.6.3 documentation</title>
<title>pyprediktormapclient.dwh.context.solcast &mdash; pyPrediktorMapClient 0.6.4 documentation</title>
<link rel="stylesheet" href="../../../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../../../_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -12,7 +12,7 @@

<script src="../../../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../../../_static/documentation_options.js?v=b8503983"></script>
<script src="../../../../_static/documentation_options.js?v=73d9a94e"></script>
<script src="../../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../../_static/js/theme.js"></script>
Expand All @@ -32,7 +32,7 @@
pyPrediktorMapClient
</a>
<div class="version">
0.6.3
0.6.4
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../../../search.html" method="get">
Expand Down Expand Up @@ -114,8 +114,9 @@ <h1>Source code for pyprediktormapclient.dwh.context.solcast</h1><div class="hig
<span class="p">}</span>
<span class="p">}</span>
<span class="p">)</span>
<span class="n">query</span> <span class="o">=</span> <span class="sa">f</span><span class="s2">&quot;EXEC dwetl.UpsertSolcastForecastData </span><span class="si">{</span><span class="n">solcast_forecast_data_json</span><span class="si">}</span><span class="s2">, </span><span class="si">{</span><span class="n">forecast_type_key</span><span class="si">}</span><span class="s2">&quot;</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">dwh</span><span class="o">.</span><span class="n">execute</span><span class="p">(</span><span class="n">query</span><span class="p">)</span></div>

<span class="n">query</span> <span class="o">=</span> <span class="s2">&quot;EXEC dwetl.UpsertSolcastForecastData ?, ?&quot;</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">dwh</span><span class="o">.</span><span class="n">execute</span><span class="p">(</span><span class="n">query</span><span class="p">,</span> <span class="n">solcast_forecast_data_json</span><span class="p">,</span> <span class="n">forecast_type_key</span><span class="p">)</span></div>
</div>

</pre></div>
Expand Down
Loading

0 comments on commit 01d43bf

Please sign in to comment.