Skip to content

Commit

Permalink
Deploying to gh-pages from @ a918700 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
lariel-fernandes committed Dec 26, 2024
1 parent fa16850 commit 22370c0
Show file tree
Hide file tree
Showing 61 changed files with 90 additions and 64 deletions.
2 changes: 1 addition & 1 deletion docs/api/latest/.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: 280eb48269a13a6aeab5032b8285f5aa
config: da025501d12fa371817377884c82a886
tags: 645f666f9bcd5a90fca523b33c5a78b7
2 changes: 1 addition & 1 deletion docs/api/latest/_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; MLOpus 1.2.1 documentation</title>
<title>Overview: module code &mdash; MLOpus 1.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../_static/autodoc_pydantic.css" />
Expand Down
2 changes: 1 addition & 1 deletion docs/api/latest/_modules/mlopus/artschema/catalog.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>mlopus.artschema.catalog &mdash; MLOpus 1.2.1 documentation</title>
<title>mlopus.artschema.catalog &mdash; MLOpus 1.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/autodoc_pydantic.css" />
Expand Down
2 changes: 1 addition & 1 deletion docs/api/latest/_modules/mlopus/artschema/framework.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>mlopus.artschema.framework &mdash; MLOpus 1.2.1 documentation</title>
<title>mlopus.artschema.framework &mdash; MLOpus 1.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/autodoc_pydantic.css" />
Expand Down
2 changes: 1 addition & 1 deletion docs/api/latest/_modules/mlopus/artschema/helpers.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>mlopus.artschema.helpers &mdash; MLOpus 1.2.1 documentation</title>
<title>mlopus.artschema.helpers &mdash; MLOpus 1.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/autodoc_pydantic.css" />
Expand Down
10 changes: 8 additions & 2 deletions docs/api/latest/_modules/mlopus/artschema/specs.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>mlopus.artschema.specs &mdash; MLOpus 1.2.1 documentation</title>
<title>mlopus.artschema.specs &mdash; MLOpus 1.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/autodoc_pydantic.css" />
Expand Down Expand Up @@ -207,6 +207,7 @@ <h1>Source code for mlopus.artschema.specs</h1><div class="highlight"><pre>

<span class="n">run_id</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="kc">None</span>
<span class="n">path_in_run</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="kc">None</span>
<span class="n">optional</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="n">pydantic</span><span class="o">.</span><span class="n">Field</span><span class="p">(</span><span class="n">default</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">description</span><span class="o">=</span><span class="s2">&quot;Skip silently if artifact is missing.&quot;</span><span class="p">)</span>

<span class="nd">@property</span>
<span class="k">def</span> <span class="nf">_run_api</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">RunApi</span><span class="p">:</span>
Expand All @@ -227,7 +228,12 @@ <h1>Source code for mlopus.artschema.specs</h1><div class="highlight"><pre>
<span class="k">def</span> <span class="nf">load</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">Tuple</span><span class="p">[</span><span class="n">_RunLineageArg</span><span class="p">,</span> <span class="n">Any</span><span class="p">]:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Load artifact.&quot;&quot;&quot;</span>
<span class="n">lineage_arg</span> <span class="o">=</span> <span class="n">_RunLineageArg</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">run_id</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">path_in_run</span><span class="p">)</span>
<span class="k">return</span> <span class="n">lineage_arg</span><span class="p">,</span> <span class="n">load_artifact</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">_run_api</span><span class="p">,</span> <span class="n">path_in_run</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">path_in_run</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span>
<span class="k">try</span><span class="p">:</span>
<span class="k">return</span> <span class="n">lineage_arg</span><span class="p">,</span> <span class="n">load_artifact</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">_run_api</span><span class="p">,</span> <span class="n">path_in_run</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">path_in_run</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span>
<span class="k">except</span> <span class="ne">FileNotFoundError</span> <span class="k">as</span> <span class="n">exc</span><span class="p">:</span>
<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">optional</span><span class="p">:</span>
<span class="k">return</span> <span class="n">lineage_arg</span><span class="p">,</span> <span class="kc">None</span>
<span class="k">raise</span> <span class="n">exc</span>

<span class="k">def</span> <span class="nf">log</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">Tuple</span><span class="p">[</span><span class="n">_RunLineageArg</span><span class="p">,</span> <span class="n">RunApi</span><span class="p">]:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Log artifact.&quot;&quot;&quot;</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/latest/_modules/mlopus/artschema/tags.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>mlopus.artschema.tags &mdash; MLOpus 1.2.1 documentation</title>
<title>mlopus.artschema.tags &mdash; MLOpus 1.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/autodoc_pydantic.css" />
Expand Down
2 changes: 1 addition & 1 deletion docs/api/latest/_modules/mlopus/kedro/config_loader.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>mlopus.kedro.config_loader &mdash; MLOpus 1.2.1 documentation</title>
<title>mlopus.kedro.config_loader &mdash; MLOpus 1.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/autodoc_pydantic.css" />
Expand Down
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>mlopus.kedro.datasets.artschema &mdash; MLOpus 1.2.1 documentation</title>
<title>mlopus.kedro.datasets.artschema &mdash; MLOpus 1.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../../../_static/autodoc_pydantic.css" />
Expand Down
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>mlopus.kedro.hooks.mlflow_artifacts._mlflow_artifacts &mdash; MLOpus 1.2.1 documentation</title>
<title>mlopus.kedro.hooks.mlflow_artifacts._mlflow_artifacts &mdash; MLOpus 1.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/autodoc_pydantic.css" />
Expand Down Expand Up @@ -133,7 +133,7 @@ <h1>Source code for mlopus.kedro.hooks.mlflow_artifacts._mlflow_artifacts</h1><d
<span class="k">if</span> <span class="n">i</span><span class="o">.</span><span class="n">enabled</span> <span class="ow">and</span> <span class="n">i</span><span class="o">.</span><span class="n">used_by</span><span class="p">(</span><span class="n">pipeline_name</span><span class="p">):</span>
<span class="n">logger</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="s2">&quot;Setting up input &#39;</span><span class="si">%s</span><span class="s2">&#39;&quot;</span><span class="p">,</span> <span class="n">name</span><span class="p">)</span>
<span class="n">lineage_arg</span> <span class="o">=</span> <span class="n">i</span><span class="o">.</span><span class="n">using</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">run_manager</span><span class="o">.</span><span class="n">mlflow_api</span><span class="p">)</span><span class="o">.</span><span class="n">setup</span><span class="p">(</span><span class="n">default_run_id</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">run_manager</span><span class="o">.</span><span class="n">run</span><span class="o">.</span><span class="n">id</span><span class="p">)</span>
<span class="k">if</span> <span class="n">i</span><span class="o">.</span><span class="n">log_lineage</span><span class="p">:</span>
<span class="k">if</span> <span class="n">i</span><span class="o">.</span><span class="n">log_lineage</span> <span class="ow">and</span> <span class="n">lineage_arg</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span><span class="p">:</span>
<span class="n">mlopus</span><span class="o">.</span><span class="n">lineage</span><span class="o">.</span><span class="n">of</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">run_manager</span><span class="o">.</span><span class="n">run</span><span class="p">)</span><span class="o">.</span><span class="n">with_input</span><span class="p">(</span><span class="n">lineage_arg</span><span class="p">)</span><span class="o">.</span><span class="n">register</span><span class="p">()</span>

<span class="k">def</span> <span class="nf">_collect_outputs</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">pipeline_name</span><span class="p">:</span> <span class="nb">str</span><span class="p">):</span>
Expand Down
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>mlopus.kedro.hooks.mlflow_artifacts.input &mdash; MLOpus 1.2.1 documentation</title>
<title>mlopus.kedro.hooks.mlflow_artifacts.input &mdash; MLOpus 1.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/autodoc_pydantic.css" />
Expand Down Expand Up @@ -121,10 +121,13 @@ <h1>Source code for mlopus.kedro.hooks.mlflow_artifacts.input</h1><div class="hi
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Check if this input is configured for the specified pipeline.&quot;&quot;&quot;</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">pipelines</span> <span class="ow">is</span> <span class="kc">None</span> <span class="ow">or</span> <span class="n">pipeline_name</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">pipelines</span>

<span class="k">def</span> <span class="nf">setup</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">default_run_id</span><span class="p">:</span> <span class="nb">str</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">_LineageArg</span><span class="p">:</span>
<span class="k">def</span> <span class="nf">setup</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">default_run_id</span><span class="p">:</span> <span class="nb">str</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">_LineageArg</span> <span class="o">|</span> <span class="kc">None</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Download, verify and place the artifact.&quot;&quot;&quot;</span>
<span class="n">lineage_arg</span><span class="p">,</span> <span class="n">cached_artifact</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">with_defaults</span><span class="p">(</span><span class="n">run_id</span><span class="o">=</span><span class="n">default_run_id</span><span class="p">)</span><span class="o">.</span><span class="n">_load</span><span class="p">(</span><span class="n">dry_run</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>

<span class="k">if</span> <span class="n">cached_artifact</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="k">return</span> <span class="kc">None</span>

<span class="n">paths</span><span class="o">.</span><span class="n">place_path</span><span class="p">(</span>
<span class="n">tgt</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">path</span><span class="p">,</span>
<span class="n">src</span><span class="o">=</span><span class="n">cached_artifact</span><span class="p">,</span>
Expand Down
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>mlopus.kedro.hooks.mlflow_artifacts.output &mdash; MLOpus 1.2.1 documentation</title>
<title>mlopus.kedro.hooks.mlflow_artifacts.output &mdash; MLOpus 1.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/autodoc_pydantic.css" />
Expand Down
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>mlopus.kedro.hooks.mlflow_tracker._impl &mdash; MLOpus 1.2.1 documentation</title>
<title>mlopus.kedro.hooks.mlflow_tracker._impl &mdash; MLOpus 1.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/autodoc_pydantic.css" />
Expand Down
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>mlopus.kedro.hooks.mlflow_tracker._rules &mdash; MLOpus 1.2.1 documentation</title>
<title>mlopus.kedro.hooks.mlflow_tracker._rules &mdash; MLOpus 1.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/autodoc_pydantic.css" />
Expand Down
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>mlopus.kedro.hooks.mlflow_tracker._tracker &mdash; MLOpus 1.2.1 documentation</title>
<title>mlopus.kedro.hooks.mlflow_tracker._tracker &mdash; MLOpus 1.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/autodoc_pydantic.css" />
Expand Down
2 changes: 1 addition & 1 deletion docs/api/latest/_modules/mlopus/kedro/session.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>mlopus.kedro.session &mdash; MLOpus 1.2.1 documentation</title>
<title>mlopus.kedro.session &mdash; MLOpus 1.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/autodoc_pydantic.css" />
Expand Down
2 changes: 1 addition & 1 deletion docs/api/latest/_modules/mlopus/lineage.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>mlopus.lineage &mdash; MLOpus 1.2.1 documentation</title>
<title>mlopus.lineage &mdash; MLOpus 1.2.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../_static/autodoc_pydantic.css" />
Expand Down
Loading

0 comments on commit 22370c0

Please sign in to comment.