Skip to content

Commit

Permalink
deploy: 16f25f0
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Jun 13, 2024
1 parent 7f8aa30 commit 8b065ef
Show file tree
Hide file tree
Showing 40 changed files with 100 additions and 140 deletions.
2 changes: 1 addition & 1 deletion main/.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: 25dc95ab0c9015f322a981b2a2366357
config: 3add6d7d1308b390851cd8353bb8f4b3
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified main/.doctrees/developer/explanations/entities.doctree
Binary file not shown.
Binary file modified main/.doctrees/environment.pickle
Binary file not shown.
Binary file modified main/.doctrees/user/reference/api.doctree
Binary file not shown.
4 changes: 2 additions & 2 deletions main/_modules/ibek/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ibek.globals &#8212; ibek 3.0.0b6.dev33+ga0a357ea documentation</title>
<title>ibek.globals &#8212; ibek 3.0.0b6.dev38+g16f25f08 documentation</title>



Expand Down Expand Up @@ -37,7 +37,7 @@
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=3ee479438cf8b5e0d341" />
<script src="../../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=3ee479438cf8b5e0d341"></script>

<script src="../../_static/documentation_options.js?v=d37c2223"></script>
<script src="../../_static/documentation_options.js?v=21ecc7ee"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down
14 changes: 8 additions & 6 deletions main/_modules/ibek/ioc.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ibek.ioc &#8212; ibek 3.0.0b6.dev33+ga0a357ea documentation</title>
<title>ibek.ioc &#8212; ibek 3.0.0b6.dev38+g16f25f08 documentation</title>



Expand Down Expand Up @@ -37,7 +37,7 @@
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=3ee479438cf8b5e0d341" />
<script src="../../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=3ee479438cf8b5e0d341"></script>

<script src="../../_static/documentation_options.js?v=d37c2223"></script>
<script src="../../_static/documentation_options.js?v=21ecc7ee"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -543,7 +543,7 @@ <h1>Source code for ibek.ioc</h1><div class="highlight"><pre>
<span class="c1"># must be coerced back into their original type</span>
<span class="k">try</span><span class="p">:</span>
<span class="c1"># The following replace are to make the string json compatible</span>
<span class="c1"># (maybe we should python decode instead of json.loads?)</span>
<span class="c1"># (maybe we should python decode instead of json.loads)</span>
<span class="n">value</span> <span class="o">=</span> <span class="n">value</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">value</span> <span class="o">=</span> <span class="n">value</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="s2">&quot;True&quot;</span><span class="p">,</span> <span class="s2">&quot;true&quot;</span><span class="p">)</span>
<span class="n">value</span> <span class="o">=</span> <span class="n">value</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="s2">&quot;False&quot;</span><span class="p">,</span> <span class="s2">&quot;false&quot;</span><span class="p">)</span>
Expand All @@ -559,10 +559,12 @@ <h1>Source code for ibek.ioc</h1><div class="highlight"><pre>
<span class="n">entity_dict</span><span class="p">[</span><span class="n">arg</span><span class="p">]</span> <span class="o">=</span> <span class="n">value</span>

<span class="k">if</span> <span class="n">model_field</span><span class="o">.</span><span class="n">annotation</span> <span class="o">==</span> <span class="nb">object</span><span class="p">:</span>
<span class="c1"># if the field is an object but the type is str then look up</span>
<span class="c1"># the actual object (this covers default values with obj ref)</span>
<span class="c1"># look up the actual object by it&#39;s id</span>
<span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">value</span><span class="p">,</span> <span class="nb">str</span><span class="p">):</span>
<span class="nb">setattr</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">arg</span><span class="p">,</span> <span class="n">get_entity_by_id</span><span class="p">(</span><span class="n">value</span><span class="p">))</span>
<span class="n">value</span> <span class="o">=</span> <span class="n">get_entity_by_id</span><span class="p">(</span><span class="n">value</span><span class="p">)</span>
<span class="nb">setattr</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">arg</span><span class="p">,</span> <span class="n">value</span><span class="p">)</span>
<span class="c1"># update the entity_dict with looked up object</span>
<span class="n">entity_dict</span><span class="p">[</span><span class="n">arg</span><span class="p">]</span> <span class="o">=</span> <span class="n">value</span>

<span class="k">if</span> <span class="n">arg</span> <span class="ow">in</span> <span class="n">ids</span><span class="p">:</span>
<span class="c1"># add this entity to the global id index</span>
Expand Down
4 changes: 2 additions & 2 deletions main/_modules/ibek/render.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ibek.render &#8212; ibek 3.0.0b6.dev33+ga0a357ea documentation</title>
<title>ibek.render &#8212; ibek 3.0.0b6.dev38+g16f25f08 documentation</title>



Expand Down Expand Up @@ -37,7 +37,7 @@
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=3ee479438cf8b5e0d341" />
<script src="../../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=3ee479438cf8b5e0d341"></script>

<script src="../../_static/documentation_options.js?v=d37c2223"></script>
<script src="../../_static/documentation_options.js?v=21ecc7ee"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down
4 changes: 2 additions & 2 deletions main/_modules/ibek/support.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ibek.support &#8212; ibek 3.0.0b6.dev33+ga0a357ea documentation</title>
<title>ibek.support &#8212; ibek 3.0.0b6.dev38+g16f25f08 documentation</title>



Expand Down Expand Up @@ -37,7 +37,7 @@
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=3ee479438cf8b5e0d341" />
<script src="../../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=3ee479438cf8b5e0d341"></script>

<script src="../../_static/documentation_options.js?v=d37c2223"></script>
<script src="../../_static/documentation_options.js?v=21ecc7ee"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down
Loading

0 comments on commit 8b065ef

Please sign in to comment.