Skip to content

Commit

Permalink
build based on b55d918
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Feb 7, 2024
1 parent f241c38 commit 1177995
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion dev/call-julia-from-prefect-flow/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
└ prefect_api_url = "http://127.0.0.1:4300/api"
16:30:13.209 | DEBUG | prefect.task_runner.concurrent - Shutting down task runner...
16:30:13.209 | INFO | Flow run &#39;belligerent-markhor&#39; - Finished in state Completed()</code></pre><div class="admonition is-info"><header class="admonition-header">Helpful Hints</header><div class="admonition-body"><p>Debugging errors can be be tricky because of the stacktraces only partially get sent back from Julia. Things to watch for:</p><ul><li>Be sure of the process working directory and relative paths to Module/assets.</li><li>Loading from the julia project path, no quotes: <code>--load ./CallingJulia.jl</code></li><li>Julia project needs package dependencies installed in the usual way (ie Project.toml). </li><li>Instantiating the julia project in the execution environment, ie <code>Pkg.instantiate()</code></li></ul><p>Example:</p><pre><code class="language-py hljs"># the main module call from call_julia_script.py is from python project root:
call_julia_script(module_path=&quot;julia/CallingJulia.jl&quot;, prefect_api_url=PREFECT_API_URL)</code></pre></div></div></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../julia-demo/">« Julia REPL</a><a class="docs-footer-nextpage" href="../usage-and-explanation/">Detailed Explanation »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Monday 27 November 2023 23:17">Monday 27 November 2023</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
call_julia_script(module_path=&quot;julia/CallingJulia.jl&quot;, prefect_api_url=PREFECT_API_URL)</code></pre></div></div></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../julia-demo/">« Julia REPL</a><a class="docs-footer-nextpage" href="../usage-and-explanation/">Detailed Explanation »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Wednesday 7 February 2024 22:48">Wednesday 7 February 2024</span>. Using Julia version 1.10.0.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/developers/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
Dataset function | 27 27 0.5s

Testing PrefectInterfaces tests passed</code></pre><h2 id="REPL"><a class="docs-heading-anchor" href="#REPL">REPL</a><a id="REPL-1"></a><a class="docs-heading-anchor-permalink" href="#REPL" title="Permalink"></a></h2><p><code>$ julia --project=.</code></p><pre><code class="language-julia hljs">pkg&gt; activate .
pkg&gt; test</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../lib/autodoc/">« API</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Monday 27 November 2023 23:17">Monday 27 November 2023</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
pkg&gt; test</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../lib/autodoc/">« API</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Wednesday 7 February 2024 22:48">Wednesday 7 February 2024</span>. Using Julia version 1.10.0.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@
, command=[&quot;julia --project=. --load path/to/julia-script.jl&quot;]
, working_dir=&quot;path/to/whatever&quot;
, env={&quot;PREFECT_API_URL&quot;: prefect_api_url_arg}
).run()</code></pre><p>So can pass the Prefect API endpoint to your <code>Docker</code> or <code>ShellOperation</code> either as an env variable or parameter to the julia command.</p><hr/><p>For more detailed design discussion, including &quot;why not PythonCall/JuliaCall&quot;, see <a href="usage-and-explanation/#Usage-and-Design-Explanation">Usage and Design Explanation</a>.</p></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="julia-demo/">Julia REPL »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Monday 27 November 2023 23:17">Monday 27 November 2023</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
).run()</code></pre><p>So can pass the Prefect API endpoint to your <code>Docker</code> or <code>ShellOperation</code> either as an env variable or parameter to the julia command.</p><hr/><p>For more detailed design discussion, including &quot;why not PythonCall/JuliaCall&quot;, see <a href="usage-and-explanation/#Usage-and-Design-Explanation">Usage and Design Explanation</a>.</p></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="julia-demo/">Julia REPL »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Wednesday 7 February 2024 22:48">Wednesday 7 February 2024</span>. Using Julia version 1.10.0.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/julia-demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@
ENV[&quot;PREFECT_API_URL&quot;] = &quot;http://127.0.0.1:4300/api&quot;
ENV[&quot;PREFECT_DATA_BLOCK_LOCAL&quot;] = &quot;local-file-system/willowdata&quot;
ENV[&quot;PREFECT_DATA_BLOCK_REMOTE&quot;] = &quot;s3-bucket/willowdata&quot;
end</code></pre><p>For interactive work, entering the Julia REPL from the <code>just julia</code> command will inject the <code>.env</code> variables.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Introduction</a><a class="docs-footer-nextpage" href="../call-julia-from-prefect-flow/">Prefect Python »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Monday 27 November 2023 23:17">Monday 27 November 2023</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
end</code></pre><p>For interactive work, entering the Julia REPL from the <code>just julia</code> command will inject the <code>.env</code> variables.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Introduction</a><a class="docs-footer-nextpage" href="../call-julia-from-prefect-flow/">Prefect Python »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Wednesday 7 February 2024 22:48">Wednesday 7 February 2024</span>. Using Julia version 1.10.0.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 1177995

Please sign in to comment.