Skip to content

Commit

Permalink
Deploying to gh-pages from @ c027bbd 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
adhtruong committed Oct 25, 2024
1 parent f5a6730 commit 3d197fe
Show file tree
Hide file tree
Showing 145 changed files with 494 additions and 481 deletions.
338 changes: 12 additions & 326 deletions index.html

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ <h1>Source code for polyfactory.value_generators.constrained_dates</h1><div clas
</span><span data-line="38"> <span class="k">elif</span> <span class="n">lt</span><span class="p">:</span>
</span><span data-line="39"> <span class="n">end_date</span> <span class="o">=</span> <span class="n">lt</span> <span class="o">-</span> <span class="n">timedelta</span><span class="p">(</span><span class="n">days</span><span class="o">=</span><span class="mi">1</span><span class="p">)</span>
</span><span data-line="40">
</span><span data-line="41"> <span class="k">return</span> <span class="n">faker</span><span class="o">.</span><span class="n">date_between</span><span class="p">(</span><span class="n">start_date</span><span class="o">=</span><span class="n">start_date</span><span class="p">,</span> <span class="n">end_date</span><span class="o">=</span><span class="n">end_date</span><span class="p">)</span></div>
</span><span data-line="41"> <span class="k">return</span> <span class="n">faker</span><span class="o">.</span><span class="n">date_between</span><span class="p">(</span><span class="n">start_date</span><span class="o">=</span><span class="n">start_date</span><span class="p">,</span> <span class="n">end_date</span><span class="o">=</span><span class="n">end_date</span><span class="p">)</span> <span class="c1"># type: ignore[return-value]</span></div>
</span></pre></div>
</article>
<button class="back-to-top" type="button">
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions getting-started.html → latest/getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ <h3>On this page</h3>
<section id="getting-started">
<h1>Getting Started<a class="headerlink" href="#getting-started" title="Permalink to this heading"></a></h1>
<p>Polyfactory is a simple and powerful mock data generation library, based around type
hints and supporting <a class="reference external" href="https://docs.python.org/3/library/dataclasses.html" title="(in Python v3.12)"><span class="xref std std-doc">dataclasses</span></a>, <a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.TypedDict" title="(in Python v3.12)"><code class="xref py py-class docutils literal notranslate"><span class="pre">TypedDicts</span></code></a>,
hints and supporting <a class="reference external" href="https://docs.python.org/3/library/dataclasses.html" title="(in Python v3.13)"><span class="xref std std-doc">dataclasses</span></a>, <a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.TypedDict" title="(in Python v3.13)"><code class="xref py py-class docutils literal notranslate"><span class="pre">TypedDicts</span></code></a>,
Pydantic models, <a class="reference external" href="https://jcristharif.com/msgspec/api.html#msgspec.Struct" title="(in msgspec)"><code class="xref py py-class docutils literal notranslate"><span class="pre">msgspec</span> <span class="pre">Struct's</span></code></a> and more.</p>
<section id="installation">
<h2>Installation<a class="headerlink" href="#installation" title="Permalink to this heading"></a></h2>
Expand Down Expand Up @@ -361,7 +361,7 @@ <h2>Relation to <code class="docutils literal notranslate"><span class="pre">pyd
<p>A main motivator for the 2.0 release was that we wanted to support more than just Pydantic models, something which also
required a change to its core architecture. As this library would no longer be directly tied to Pydantic, <code class="docutils literal notranslate"><span class="pre">polyfactory</span></code>
was chosen as its new name to reflect its capabilities; It can generate mock data for
<a class="reference external" href="https://docs.python.org/3/library/dataclasses.html" title="(in Python v3.12)"><span class="xref std std-doc">dataclasses</span></a>, <a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.TypedDict" title="(in Python v3.12)"><code class="xref py py-class docutils literal notranslate"><span class="pre">TypedDicts</span></code></a>,
<a class="reference external" href="https://docs.python.org/3/library/dataclasses.html" title="(in Python v3.13)"><span class="xref std std-doc">dataclasses</span></a>, <a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.TypedDict" title="(in Python v3.13)"><code class="xref py py-class docutils literal notranslate"><span class="pre">TypedDicts</span></code></a>,
<a class="reference external" href="https://docs.pydantic.dev/latest/">Pydantic</a>, <a class="reference external" href="https://art049.github.io/odmantic/">Odmantic</a>,
and <a class="reference external" href="https://beanie-odm.dev/">Beanie ODM</a> models, as well as custom factories.</p>
</section>
Expand Down
Loading

0 comments on commit 3d197fe

Please sign in to comment.