Instantly share code, notes, and snippets.
kjaymiller/Users_kjaymiller_cookiecutters-relecloud_bmfbtfhwbqcbsrsmybaf_fastapi_cosmos_mongodb_aca--.gitignore.html
Created
September 20, 2023 00:24
-
Star
0
(0)
You must be signed in to star a gist -
Fork
0
(0)
You must be signed in to fork a gist
-
Save kjaymiller/7cbb1a0212878bc5fd96e05bb072e4b9 to your computer and use it in GitHub Desktop.
FastAPI changes report
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>/Users/kjaymiller/cookiecutters-relecloud/bmfbtfhwbqcbsrsmybaf_fastapi_cosmos_mongodb_aca/.gitignore</h1><hr /> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" | |
content="text/html; charset=utf-8" /> | |
<title></title> | |
<style type="text/css"> | |
table.diff {font-family:Courier; border:medium;} | |
.diff_header {background-color:#e0e0e0} | |
td.diff_header {text-align:right} | |
.diff_next {background-color:#c0c0c0} | |
.diff_add {background-color:#aaffaa} | |
.diff_chg {background-color:#ffff77} | |
.diff_sub {background-color:#ffaaaa} | |
</style> | |
</head> | |
<body> | |
<table class="diff" id="difflib_chg_to0__top" | |
cellspacing="0" cellpadding="0" rules="groups" > | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<tbody> | |
<tr><td class="diff_next"><a href="#difflib_chg_to0__0">f</a></td><td class="diff_header" id="from0_1">1</td><td nowrap="nowrap"># Commented out sqlite so the database will be there for testing purposes</td><td class="diff_next"><a href="#difflib_chg_to0__0">f</a></td><td class="diff_header" id="to0_1">1</td><td nowrap="nowrap"># Commented out sqlite so the database will be there for testing purposes</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_2">2</td><td nowrap="nowrap"># db.sqlite3</td><td class="diff_next"></td><td class="diff_header" id="to0_2">2</td><td nowrap="nowrap"># db.sqlite3</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_3">3</td><td nowrap="nowrap"># db.sqlite3-journal</td><td class="diff_next"></td><td class="diff_header" id="to0_3">3</td><td nowrap="nowrap"># db.sqlite3-journal</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_4">4</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_4">4</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_5">5</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_5">5</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_6">6</td><td nowrap="nowrap"># Created by https://www.toptal.com/developers/gitignore/api/python,django,visualstudiocode,dotenv</td><td class="diff_next"></td><td class="diff_header" id="to0_6">6</td><td nowrap="nowrap"># Created by https://www.toptal.com/developers/gitignore/api/python,django,visualstudiocode,dotenv</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_7">7</td><td nowrap="nowrap"># Edit at https://www.toptal.com/developers/gitignore?templates=python,django,visualstudiocode,dotenv</td><td class="diff_next"></td><td class="diff_header" id="to0_7">7</td><td nowrap="nowrap"># Edit at https://www.toptal.com/developers/gitignore?templates=python,django,visualstudiocode,dotenv</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_8">8</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_8">8</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_9">9</td><td nowrap="nowrap">### Django ###</td><td class="diff_next"></td><td class="diff_header" id="to0_9">9</td><td nowrap="nowrap">### Django ###</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_10">10</td><td nowrap="nowrap">*.log</td><td class="diff_next"></td><td class="diff_header" id="to0_10">10</td><td nowrap="nowrap">*.log</td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to0__0"></td><td class="diff_header" id="from0_11">11</td><td nowrap="nowrap">*.pot</td><td class="diff_next"></td><td class="diff_header" id="to0_11">11</td><td nowrap="nowrap">*.pot</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_12">12</td><td nowrap="nowrap">*.pyc</td><td class="diff_next"></td><td class="diff_header" id="to0_12">12</td><td nowrap="nowrap">*.pyc</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_13">13</td><td nowrap="nowrap">__pycache__/</td><td class="diff_next"></td><td class="diff_header" id="to0_13">13</td><td nowrap="nowrap">__pycache__/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_14">14</td><td nowrap="nowrap">media</td><td class="diff_next"></td><td class="diff_header" id="to0_14">14</td><td nowrap="nowrap">media</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_15">15</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_15">15</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to0__top">t</a></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"><a href="#difflib_chg_to0__top">t</a></td><td class="diff_header" id="to0_16">16</td><td nowrap="nowrap"><span class="diff_add"># If your build process includes running collectstatic, then you probably don't need or want to include staticfiles/</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_17">17</td><td nowrap="nowrap"><span class="diff_add"># in your Git repository. Update and uncomment the following line accordingly.</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_18">18</td><td nowrap="nowrap"><span class="diff_add"># <django-project-name>/staticfiles/</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_16">16</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_19">19</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_17">17</td><td nowrap="nowrap">### Django.Python Stack ###</td><td class="diff_next"></td><td class="diff_header" id="to0_20">20</td><td nowrap="nowrap">### Django.Python Stack ###</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_18">18</td><td nowrap="nowrap"># Byte-compiled / optimized / DLL files</td><td class="diff_next"></td><td class="diff_header" id="to0_21">21</td><td nowrap="nowrap"># Byte-compiled / optimized / DLL files</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_19">19</td><td nowrap="nowrap">*.py[cod]</td><td class="diff_next"></td><td class="diff_header" id="to0_22">22</td><td nowrap="nowrap">*.py[cod]</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_20">20</td><td nowrap="nowrap">*$py.class</td><td class="diff_next"></td><td class="diff_header" id="to0_23">23</td><td nowrap="nowrap">*$py.class</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_21">21</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_24">24</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_22">22</td><td nowrap="nowrap"># C extensions</td><td class="diff_next"></td><td class="diff_header" id="to0_25">25</td><td nowrap="nowrap"># C extensions</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_23">23</td><td nowrap="nowrap">*.so</td><td class="diff_next"></td><td class="diff_header" id="to0_26">26</td><td nowrap="nowrap">*.so</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_24">24</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_27">27</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_25">25</td><td nowrap="nowrap"># Distribution / packaging</td><td class="diff_next"></td><td class="diff_header" id="to0_28">28</td><td nowrap="nowrap"># Distribution / packaging</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_26">26</td><td nowrap="nowrap">.Python</td><td class="diff_next"></td><td class="diff_header" id="to0_29">29</td><td nowrap="nowrap">.Python</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_27">27</td><td nowrap="nowrap">build/</td><td class="diff_next"></td><td class="diff_header" id="to0_30">30</td><td nowrap="nowrap">build/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_28">28</td><td nowrap="nowrap">develop-eggs/</td><td class="diff_next"></td><td class="diff_header" id="to0_31">31</td><td nowrap="nowrap">develop-eggs/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_29">29</td><td nowrap="nowrap">dist/</td><td class="diff_next"></td><td class="diff_header" id="to0_32">32</td><td nowrap="nowrap">dist/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_30">30</td><td nowrap="nowrap">downloads/</td><td class="diff_next"></td><td class="diff_header" id="to0_33">33</td><td nowrap="nowrap">downloads/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_31">31</td><td nowrap="nowrap">eggs/</td><td class="diff_next"></td><td class="diff_header" id="to0_34">34</td><td nowrap="nowrap">eggs/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_32">32</td><td nowrap="nowrap">.eggs/</td><td class="diff_next"></td><td class="diff_header" id="to0_35">35</td><td nowrap="nowrap">.eggs/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_33">33</td><td nowrap="nowrap">parts/</td><td class="diff_next"></td><td class="diff_header" id="to0_36">36</td><td nowrap="nowrap">parts/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_34">34</td><td nowrap="nowrap">sdist/</td><td class="diff_next"></td><td class="diff_header" id="to0_37">37</td><td nowrap="nowrap">sdist/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_35">35</td><td nowrap="nowrap">var/</td><td class="diff_next"></td><td class="diff_header" id="to0_38">38</td><td nowrap="nowrap">var/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_36">36</td><td nowrap="nowrap">wheels/</td><td class="diff_next"></td><td class="diff_header" id="to0_39">39</td><td nowrap="nowrap">wheels/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_37">37</td><td nowrap="nowrap">pip-wheel-metadata/</td><td class="diff_next"></td><td class="diff_header" id="to0_40">40</td><td nowrap="nowrap">pip-wheel-metadata/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_38">38</td><td nowrap="nowrap">share/python-wheels/</td><td class="diff_next"></td><td class="diff_header" id="to0_41">41</td><td nowrap="nowrap">share/python-wheels/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_39">39</td><td nowrap="nowrap">*.egg-info/</td><td class="diff_next"></td><td class="diff_header" id="to0_42">42</td><td nowrap="nowrap">*.egg-info/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_40">40</td><td nowrap="nowrap">.installed.cfg</td><td class="diff_next"></td><td class="diff_header" id="to0_43">43</td><td nowrap="nowrap">.installed.cfg</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_41">41</td><td nowrap="nowrap">*.egg</td><td class="diff_next"></td><td class="diff_header" id="to0_44">44</td><td nowrap="nowrap">*.egg</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_42">42</td><td nowrap="nowrap">MANIFEST</td><td class="diff_next"></td><td class="diff_header" id="to0_45">45</td><td nowrap="nowrap">MANIFEST</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_43">43</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_46">46</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_44">44</td><td nowrap="nowrap"># PyInstaller</td><td class="diff_next"></td><td class="diff_header" id="to0_47">47</td><td nowrap="nowrap"># PyInstaller</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_45">45</td><td nowrap="nowrap"># Usually these files are written by a python script from a template</td><td class="diff_next"></td><td class="diff_header" id="to0_48">48</td><td nowrap="nowrap"># Usually these files are written by a python script from a template</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_46">46</td><td nowrap="nowrap"># before PyInstaller builds the exe, so as to inject date/other infos into it.</td><td class="diff_next"></td><td class="diff_header" id="to0_49">49</td><td nowrap="nowrap"># before PyInstaller builds the exe, so as to inject date/other infos into it.</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_47">47</td><td nowrap="nowrap">*.manifest</td><td class="diff_next"></td><td class="diff_header" id="to0_50">50</td><td nowrap="nowrap">*.manifest</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_48">48</td><td nowrap="nowrap">*.spec</td><td class="diff_next"></td><td class="diff_header" id="to0_51">51</td><td nowrap="nowrap">*.spec</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_49">49</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_52">52</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_50">50</td><td nowrap="nowrap"># Installer logs</td><td class="diff_next"></td><td class="diff_header" id="to0_53">53</td><td nowrap="nowrap"># Installer logs</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_51">51</td><td nowrap="nowrap">pip-log.txt</td><td class="diff_next"></td><td class="diff_header" id="to0_54">54</td><td nowrap="nowrap">pip-log.txt</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_52">52</td><td nowrap="nowrap">pip-delete-this-directory.txt</td><td class="diff_next"></td><td class="diff_header" id="to0_55">55</td><td nowrap="nowrap">pip-delete-this-directory.txt</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_53">53</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_56">56</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_54">54</td><td nowrap="nowrap"># Unit test / coverage reports</td><td class="diff_next"></td><td class="diff_header" id="to0_57">57</td><td nowrap="nowrap"># Unit test / coverage reports</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_55">55</td><td nowrap="nowrap">htmlcov/</td><td class="diff_next"></td><td class="diff_header" id="to0_58">58</td><td nowrap="nowrap">htmlcov/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_56">56</td><td nowrap="nowrap">.tox/</td><td class="diff_next"></td><td class="diff_header" id="to0_59">59</td><td nowrap="nowrap">.tox/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_57">57</td><td nowrap="nowrap">.nox/</td><td class="diff_next"></td><td class="diff_header" id="to0_60">60</td><td nowrap="nowrap">.nox/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_58">58</td><td nowrap="nowrap">.coverage</td><td class="diff_next"></td><td class="diff_header" id="to0_61">61</td><td nowrap="nowrap">.coverage</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_59">59</td><td nowrap="nowrap">.coverage.*</td><td class="diff_next"></td><td class="diff_header" id="to0_62">62</td><td nowrap="nowrap">.coverage.*</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_60">60</td><td nowrap="nowrap">.cache</td><td class="diff_next"></td><td class="diff_header" id="to0_63">63</td><td nowrap="nowrap">.cache</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_61">61</td><td nowrap="nowrap">nosetests.xml</td><td class="diff_next"></td><td class="diff_header" id="to0_64">64</td><td nowrap="nowrap">nosetests.xml</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_62">62</td><td nowrap="nowrap">coverage.xml</td><td class="diff_next"></td><td class="diff_header" id="to0_65">65</td><td nowrap="nowrap">coverage.xml</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_63">63</td><td nowrap="nowrap">*.cover</td><td class="diff_next"></td><td class="diff_header" id="to0_66">66</td><td nowrap="nowrap">*.cover</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_64">64</td><td nowrap="nowrap">*.py,cover</td><td class="diff_next"></td><td class="diff_header" id="to0_67">67</td><td nowrap="nowrap">*.py,cover</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_65">65</td><td nowrap="nowrap">.hypothesis/</td><td class="diff_next"></td><td class="diff_header" id="to0_68">68</td><td nowrap="nowrap">.hypothesis/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_66">66</td><td nowrap="nowrap">.pytest_cache/</td><td class="diff_next"></td><td class="diff_header" id="to0_69">69</td><td nowrap="nowrap">.pytest_cache/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_67">67</td><td nowrap="nowrap">pytestdebug.log</td><td class="diff_next"></td><td class="diff_header" id="to0_70">70</td><td nowrap="nowrap">pytestdebug.log</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_68">68</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_71">71</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_69">69</td><td nowrap="nowrap"># Translations</td><td class="diff_next"></td><td class="diff_header" id="to0_72">72</td><td nowrap="nowrap"># Translations</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_70">70</td><td nowrap="nowrap">*.mo</td><td class="diff_next"></td><td class="diff_header" id="to0_73">73</td><td nowrap="nowrap">*.mo</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_71">71</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_74">74</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_72">72</td><td nowrap="nowrap"># Django stuff:</td><td class="diff_next"></td><td class="diff_header" id="to0_75">75</td><td nowrap="nowrap"># Django stuff:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_73">73</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_76">76</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_74">74</td><td nowrap="nowrap"># Flask stuff:</td><td class="diff_next"></td><td class="diff_header" id="to0_77">77</td><td nowrap="nowrap"># Flask stuff:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_75">75</td><td nowrap="nowrap">instance/</td><td class="diff_next"></td><td class="diff_header" id="to0_78">78</td><td nowrap="nowrap">instance/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_76">76</td><td nowrap="nowrap">.webassets-cache</td><td class="diff_next"></td><td class="diff_header" id="to0_79">79</td><td nowrap="nowrap">.webassets-cache</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_77">77</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_80">80</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_78">78</td><td nowrap="nowrap"># Scrapy stuff:</td><td class="diff_next"></td><td class="diff_header" id="to0_81">81</td><td nowrap="nowrap"># Scrapy stuff:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_79">79</td><td nowrap="nowrap">.scrapy</td><td class="diff_next"></td><td class="diff_header" id="to0_82">82</td><td nowrap="nowrap">.scrapy</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_80">80</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_83">83</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_81">81</td><td nowrap="nowrap"># Sphinx documentation</td><td class="diff_next"></td><td class="diff_header" id="to0_84">84</td><td nowrap="nowrap"># Sphinx documentation</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_82">82</td><td nowrap="nowrap">docs/_build/</td><td class="diff_next"></td><td class="diff_header" id="to0_85">85</td><td nowrap="nowrap">docs/_build/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_83">83</td><td nowrap="nowrap">doc/_build/</td><td class="diff_next"></td><td class="diff_header" id="to0_86">86</td><td nowrap="nowrap">doc/_build/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_84">84</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_87">87</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_85">85</td><td nowrap="nowrap"># PyBuilder</td><td class="diff_next"></td><td class="diff_header" id="to0_88">88</td><td nowrap="nowrap"># PyBuilder</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_86">86</td><td nowrap="nowrap">target/</td><td class="diff_next"></td><td class="diff_header" id="to0_89">89</td><td nowrap="nowrap">target/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_87">87</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_90">90</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_88">88</td><td nowrap="nowrap"># Jupyter Notebook</td><td class="diff_next"></td><td class="diff_header" id="to0_91">91</td><td nowrap="nowrap"># Jupyter Notebook</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_89">89</td><td nowrap="nowrap">.ipynb_checkpoints</td><td class="diff_next"></td><td class="diff_header" id="to0_92">92</td><td nowrap="nowrap">.ipynb_checkpoints</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_90">90</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_93">93</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_91">91</td><td nowrap="nowrap"># IPython</td><td class="diff_next"></td><td class="diff_header" id="to0_94">94</td><td nowrap="nowrap"># IPython</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_92">92</td><td nowrap="nowrap">profile_default/</td><td class="diff_next"></td><td class="diff_header" id="to0_95">95</td><td nowrap="nowrap">profile_default/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_93">93</td><td nowrap="nowrap">ipython_config.py</td><td class="diff_next"></td><td class="diff_header" id="to0_96">96</td><td nowrap="nowrap">ipython_config.py</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_94">94</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_97">97</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_95">95</td><td nowrap="nowrap"># pyenv</td><td class="diff_next"></td><td class="diff_header" id="to0_98">98</td><td nowrap="nowrap"># pyenv</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_96">96</td><td nowrap="nowrap">.python-version</td><td class="diff_next"></td><td class="diff_header" id="to0_99">99</td><td nowrap="nowrap">.python-version</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_97">97</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_100">100</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_98">98</td><td nowrap="nowrap"># pipenv</td><td class="diff_next"></td><td class="diff_header" id="to0_101">101</td><td nowrap="nowrap"># pipenv</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_99">99</td><td nowrap="nowrap"># According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.</td><td class="diff_next"></td><td class="diff_header" id="to0_102">102</td><td nowrap="nowrap"># According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_100">100</td><td nowrap="nowrap"># However, in case of collaboration, if having platform-specific dependencies or dependencies</td><td class="diff_next"></td><td class="diff_header" id="to0_103">103</td><td nowrap="nowrap"># However, in case of collaboration, if having platform-specific dependencies or dependencies</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_101">101</td><td nowrap="nowrap"># having no cross-platform support, pipenv may install dependencies that don't work, or not</td><td class="diff_next"></td><td class="diff_header" id="to0_104">104</td><td nowrap="nowrap"># having no cross-platform support, pipenv may install dependencies that don't work, or not</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_102">102</td><td nowrap="nowrap"># install all needed dependencies.</td><td class="diff_next"></td><td class="diff_header" id="to0_105">105</td><td nowrap="nowrap"># install all needed dependencies.</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_103">103</td><td nowrap="nowrap">#Pipfile.lock</td><td class="diff_next"></td><td class="diff_header" id="to0_106">106</td><td nowrap="nowrap">#Pipfile.lock</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_104">104</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_107">107</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_105">105</td><td nowrap="nowrap"># poetry</td><td class="diff_next"></td><td class="diff_header" id="to0_108">108</td><td nowrap="nowrap"># poetry</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_106">106</td><td nowrap="nowrap">#poetry.lock</td><td class="diff_next"></td><td class="diff_header" id="to0_109">109</td><td nowrap="nowrap">#poetry.lock</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_107">107</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_110">110</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_108">108</td><td nowrap="nowrap"># PEP 582; used by e.g. github.com/David-OConnor/pyflow</td><td class="diff_next"></td><td class="diff_header" id="to0_111">111</td><td nowrap="nowrap"># PEP 582; used by e.g. github.com/David-OConnor/pyflow</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_109">109</td><td nowrap="nowrap">__pypackages__/</td><td class="diff_next"></td><td class="diff_header" id="to0_112">112</td><td nowrap="nowrap">__pypackages__/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_110">110</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_113">113</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_111">111</td><td nowrap="nowrap"># Celery stuff</td><td class="diff_next"></td><td class="diff_header" id="to0_114">114</td><td nowrap="nowrap"># Celery stuff</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_112">112</td><td nowrap="nowrap">celerybeat-schedule</td><td class="diff_next"></td><td class="diff_header" id="to0_115">115</td><td nowrap="nowrap">celerybeat-schedule</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_113">113</td><td nowrap="nowrap">celerybeat.pid</td><td class="diff_next"></td><td class="diff_header" id="to0_116">116</td><td nowrap="nowrap">celerybeat.pid</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_114">114</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_117">117</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_115">115</td><td nowrap="nowrap"># SageMath parsed files</td><td class="diff_next"></td><td class="diff_header" id="to0_118">118</td><td nowrap="nowrap"># SageMath parsed files</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_116">116</td><td nowrap="nowrap">*.sage.py</td><td class="diff_next"></td><td class="diff_header" id="to0_119">119</td><td nowrap="nowrap">*.sage.py</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_117">117</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_120">120</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_118">118</td><td nowrap="nowrap"># Environments</td><td class="diff_next"></td><td class="diff_header" id="to0_121">121</td><td nowrap="nowrap"># Environments</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_119">119</td><td nowrap="nowrap"># .env</td><td class="diff_next"></td><td class="diff_header" id="to0_122">122</td><td nowrap="nowrap"># .env</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_120">120</td><td nowrap="nowrap">.env/</td><td class="diff_next"></td><td class="diff_header" id="to0_123">123</td><td nowrap="nowrap">.env/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_121">121</td><td nowrap="nowrap">.venv/</td><td class="diff_next"></td><td class="diff_header" id="to0_124">124</td><td nowrap="nowrap">.venv/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_122">122</td><td nowrap="nowrap">env/</td><td class="diff_next"></td><td class="diff_header" id="to0_125">125</td><td nowrap="nowrap">env/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_123">123</td><td nowrap="nowrap">venv/</td><td class="diff_next"></td><td class="diff_header" id="to0_126">126</td><td nowrap="nowrap">venv/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_124">124</td><td nowrap="nowrap">ENV/</td><td class="diff_next"></td><td class="diff_header" id="to0_127">127</td><td nowrap="nowrap">ENV/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_125">125</td><td nowrap="nowrap">env.bak/</td><td class="diff_next"></td><td class="diff_header" id="to0_128">128</td><td nowrap="nowrap">env.bak/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_126">126</td><td nowrap="nowrap">venv.bak/</td><td class="diff_next"></td><td class="diff_header" id="to0_129">129</td><td nowrap="nowrap">venv.bak/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_127">127</td><td nowrap="nowrap">pythonenv*</td><td class="diff_next"></td><td class="diff_header" id="to0_130">130</td><td nowrap="nowrap">pythonenv*</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_128">128</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_131">131</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_129">129</td><td nowrap="nowrap"># Spyder project settings</td><td class="diff_next"></td><td class="diff_header" id="to0_132">132</td><td nowrap="nowrap"># Spyder project settings</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_130">130</td><td nowrap="nowrap">.spyderproject</td><td class="diff_next"></td><td class="diff_header" id="to0_133">133</td><td nowrap="nowrap">.spyderproject</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_131">131</td><td nowrap="nowrap">.spyproject</td><td class="diff_next"></td><td class="diff_header" id="to0_134">134</td><td nowrap="nowrap">.spyproject</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_132">132</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_135">135</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_133">133</td><td nowrap="nowrap"># Rope project settings</td><td class="diff_next"></td><td class="diff_header" id="to0_136">136</td><td nowrap="nowrap"># Rope project settings</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_134">134</td><td nowrap="nowrap">.ropeproject</td><td class="diff_next"></td><td class="diff_header" id="to0_137">137</td><td nowrap="nowrap">.ropeproject</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_135">135</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_138">138</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_136">136</td><td nowrap="nowrap"># mkdocs documentation</td><td class="diff_next"></td><td class="diff_header" id="to0_139">139</td><td nowrap="nowrap"># mkdocs documentation</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_137">137</td><td nowrap="nowrap">/site</td><td class="diff_next"></td><td class="diff_header" id="to0_140">140</td><td nowrap="nowrap">/site</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_138">138</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_141">141</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_139">139</td><td nowrap="nowrap"># mypy</td><td class="diff_next"></td><td class="diff_header" id="to0_142">142</td><td nowrap="nowrap"># mypy</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_140">140</td><td nowrap="nowrap">.mypy_cache/</td><td class="diff_next"></td><td class="diff_header" id="to0_143">143</td><td nowrap="nowrap">.mypy_cache/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_141">141</td><td nowrap="nowrap">.dmypy.json</td><td class="diff_next"></td><td class="diff_header" id="to0_144">144</td><td nowrap="nowrap">.dmypy.json</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_142">142</td><td nowrap="nowrap">dmypy.json</td><td class="diff_next"></td><td class="diff_header" id="to0_145">145</td><td nowrap="nowrap">dmypy.json</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_143">143</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_146">146</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_144">144</td><td nowrap="nowrap"># Pyre type checker</td><td class="diff_next"></td><td class="diff_header" id="to0_147">147</td><td nowrap="nowrap"># Pyre type checker</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_145">145</td><td nowrap="nowrap">.pyre/</td><td class="diff_next"></td><td class="diff_header" id="to0_148">148</td><td nowrap="nowrap">.pyre/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_146">146</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_149">149</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_147">147</td><td nowrap="nowrap"># pytype static type analyzer</td><td class="diff_next"></td><td class="diff_header" id="to0_150">150</td><td nowrap="nowrap"># pytype static type analyzer</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_148">148</td><td nowrap="nowrap">.pytype/</td><td class="diff_next"></td><td class="diff_header" id="to0_151">151</td><td nowrap="nowrap">.pytype/</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_149">149</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_152">152</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_150">150</td><td nowrap="nowrap"># operating system-related files</td><td class="diff_next"></td><td class="diff_header" id="to0_153">153</td><td nowrap="nowrap"># operating system-related files</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_151">151</td><td nowrap="nowrap">*.DS_Store #file properties cache/storage on macOS</td><td class="diff_next"></td><td class="diff_header" id="to0_154">154</td><td nowrap="nowrap">*.DS_Store #file properties cache/storage on macOS</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_152">152</td><td nowrap="nowrap">Thumbs.db #thumbnail cache on Windows</td><td class="diff_next"></td><td class="diff_header" id="to0_155">155</td><td nowrap="nowrap">Thumbs.db #thumbnail cache on Windows</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_153">153</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_156">156</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_154">154</td><td nowrap="nowrap"># profiling data</td><td class="diff_next"></td><td class="diff_header" id="to0_157">157</td><td nowrap="nowrap"># profiling data</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_155">155</td><td nowrap="nowrap">.prof</td><td class="diff_next"></td><td class="diff_header" id="to0_158">158</td><td nowrap="nowrap">.prof</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_156">156</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_159">159</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_157">157</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_160">160</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_158">158</td><td nowrap="nowrap">### dotenv ###</td><td class="diff_next"></td><td class="diff_header" id="to0_161">161</td><td nowrap="nowrap">### dotenv ###</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_159">159</td><td nowrap="nowrap">.env</td><td class="diff_next"></td><td class="diff_header" id="to0_162">162</td><td nowrap="nowrap">.env</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_160">160</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_163">163</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_161">161</td><td nowrap="nowrap">### Python ###</td><td class="diff_next"></td><td class="diff_header" id="to0_164">164</td><td nowrap="nowrap">### Python ###</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_162">162</td><td nowrap="nowrap"># Byte-compiled / optimized / DLL files</td><td class="diff_next"></td><td class="diff_header" id="to0_165">165</td><td nowrap="nowrap"># Byte-compiled / optimized / DLL files</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_163">163</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_166">166</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_164">164</td><td nowrap="nowrap"># C extensions</td><td class="diff_next"></td><td class="diff_header" id="to0_167">167</td><td nowrap="nowrap"># C extensions</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_165">165</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_168">168</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_166">166</td><td nowrap="nowrap"># Distribution / packaging</td><td class="diff_next"></td><td class="diff_header" id="to0_169">169</td><td nowrap="nowrap"># Distribution / packaging</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_167">167</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_170">170</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_168">168</td><td nowrap="nowrap"># PyInstaller</td><td class="diff_next"></td><td class="diff_header" id="to0_171">171</td><td nowrap="nowrap"># PyInstaller</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_169">169</td><td nowrap="nowrap"># Usually these files are written by a python script from a template</td><td class="diff_next"></td><td class="diff_header" id="to0_172">172</td><td nowrap="nowrap"># Usually these files are written by a python script from a template</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_170">170</td><td nowrap="nowrap"># before PyInstaller builds the exe, so as to inject date/other infos into it.</td><td class="diff_next"></td><td class="diff_header" id="to0_173">173</td><td nowrap="nowrap"># before PyInstaller builds the exe, so as to inject date/other infos into it.</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_171">171</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_174">174</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_172">172</td><td nowrap="nowrap"># Installer logs</td><td class="diff_next"></td><td class="diff_header" id="to0_175">175</td><td nowrap="nowrap"># Installer logs</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_173">173</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_176">176</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_174">174</td><td nowrap="nowrap"># Unit test / coverage reports</td><td class="diff_next"></td><td class="diff_header" id="to0_177">177</td><td nowrap="nowrap"># Unit test / coverage reports</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_175">175</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_178">178</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_176">176</td><td nowrap="nowrap"># Translations</td><td class="diff_next"></td><td class="diff_header" id="to0_179">179</td><td nowrap="nowrap"># Translations</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_177">177</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_180">180</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_178">178</td><td nowrap="nowrap"># Django stuff:</td><td class="diff_next"></td><td class="diff_header" id="to0_181">181</td><td nowrap="nowrap"># Django stuff:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_179">179</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_182">182</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_180">180</td><td nowrap="nowrap"># Flask stuff:</td><td class="diff_next"></td><td class="diff_header" id="to0_183">183</td><td nowrap="nowrap"># Flask stuff:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_181">181</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_184">184</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_182">182</td><td nowrap="nowrap"># Scrapy stuff:</td><td class="diff_next"></td><td class="diff_header" id="to0_185">185</td><td nowrap="nowrap"># Scrapy stuff:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_183">183</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_186">186</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_184">184</td><td nowrap="nowrap"># Sphinx documentation</td><td class="diff_next"></td><td class="diff_header" id="to0_187">187</td><td nowrap="nowrap"># Sphinx documentation</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_185">185</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_188">188</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_186">186</td><td nowrap="nowrap"># PyBuilder</td><td class="diff_next"></td><td class="diff_header" id="to0_189">189</td><td nowrap="nowrap"># PyBuilder</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_187">187</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_190">190</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_188">188</td><td nowrap="nowrap"># Jupyter Notebook</td><td class="diff_next"></td><td class="diff_header" id="to0_191">191</td><td nowrap="nowrap"># Jupyter Notebook</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_189">189</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_192">192</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_190">190</td><td nowrap="nowrap"># IPython</td><td class="diff_next"></td><td class="diff_header" id="to0_193">193</td><td nowrap="nowrap"># IPython</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_191">191</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_194">194</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_192">192</td><td nowrap="nowrap"># pyenv</td><td class="diff_next"></td><td class="diff_header" id="to0_195">195</td><td nowrap="nowrap"># pyenv</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_193">193</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_196">196</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_194">194</td><td nowrap="nowrap"># pipenv</td><td class="diff_next"></td><td class="diff_header" id="to0_197">197</td><td nowrap="nowrap"># pipenv</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_195">195</td><td nowrap="nowrap"># According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.</td><td class="diff_next"></td><td class="diff_header" id="to0_198">198</td><td nowrap="nowrap"># According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_196">196</td><td nowrap="nowrap"># However, in case of collaboration, if having platform-specific dependencies or dependencies</td><td class="diff_next"></td><td class="diff_header" id="to0_199">199</td><td nowrap="nowrap"># However, in case of collaboration, if having platform-specific dependencies or dependencies</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_197">197</td><td nowrap="nowrap"># having no cross-platform support, pipenv may install dependencies that don't work, or not</td><td class="diff_next"></td><td class="diff_header" id="to0_200">200</td><td nowrap="nowrap"># having no cross-platform support, pipenv may install dependencies that don't work, or not</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_198">198</td><td nowrap="nowrap"># install all needed dependencies.</td><td class="diff_next"></td><td class="diff_header" id="to0_201">201</td><td nowrap="nowrap"># install all needed dependencies.</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_199">199</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_202">202</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_200">200</td><td nowrap="nowrap"># poetry</td><td class="diff_next"></td><td class="diff_header" id="to0_203">203</td><td nowrap="nowrap"># poetry</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_201">201</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_204">204</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_202">202</td><td nowrap="nowrap"># PEP 582; used by e.g. github.com/David-OConnor/pyflow</td><td class="diff_next"></td><td class="diff_header" id="to0_205">205</td><td nowrap="nowrap"># PEP 582; used by e.g. github.com/David-OConnor/pyflow</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_203">203</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_206">206</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_204">204</td><td nowrap="nowrap"># Celery stuff</td><td class="diff_next"></td><td class="diff_header" id="to0_207">207</td><td nowrap="nowrap"># Celery stuff</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_205">205</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_208">208</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_206">206</td><td nowrap="nowrap"># SageMath parsed files</td><td class="diff_next"></td><td class="diff_header" id="to0_209">209</td><td nowrap="nowrap"># SageMath parsed files</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_207">207</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_210">210</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_208">208</td><td nowrap="nowrap"># Environments</td><td class="diff_next"></td><td class="diff_header" id="to0_211">211</td><td nowrap="nowrap"># Environments</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_209">209</td><td nowrap="nowrap"># .env</td><td class="diff_next"></td><td class="diff_header" id="to0_212">212</td><td nowrap="nowrap"># .env</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_210">210</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_213">213</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_211">211</td><td nowrap="nowrap"># Spyder project settings</td><td class="diff_next"></td><td class="diff_header" id="to0_214">214</td><td nowrap="nowrap"># Spyder project settings</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_212">212</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_215">215</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_213">213</td><td nowrap="nowrap"># Rope project settings</td><td class="diff_next"></td><td class="diff_header" id="to0_216">216</td><td nowrap="nowrap"># Rope project settings</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_214">214</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_217">217</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_215">215</td><td nowrap="nowrap"># mkdocs documentation</td><td class="diff_next"></td><td class="diff_header" id="to0_218">218</td><td nowrap="nowrap"># mkdocs documentation</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_216">216</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_219">219</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_217">217</td><td nowrap="nowrap"># mypy</td><td class="diff_next"></td><td class="diff_header" id="to0_220">220</td><td nowrap="nowrap"># mypy</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_218">218</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_221">221</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_219">219</td><td nowrap="nowrap"># Pyre type checker</td><td class="diff_next"></td><td class="diff_header" id="to0_222">222</td><td nowrap="nowrap"># Pyre type checker</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_220">220</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_223">223</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_221">221</td><td nowrap="nowrap"># pytype static type analyzer</td><td class="diff_next"></td><td class="diff_header" id="to0_224">224</td><td nowrap="nowrap"># pytype static type analyzer</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_222">222</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_225">225</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_223">223</td><td nowrap="nowrap"># operating system-related files</td><td class="diff_next"></td><td class="diff_header" id="to0_226">226</td><td nowrap="nowrap"># operating system-related files</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_224">224</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_227">227</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_225">225</td><td nowrap="nowrap"># profiling data</td><td class="diff_next"></td><td class="diff_header" id="to0_228">228</td><td nowrap="nowrap"># profiling data</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_226">226</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_229">229</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_227">227</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_230">230</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_228">228</td><td nowrap="nowrap">### VisualStudioCode ###</td><td class="diff_next"></td><td class="diff_header" id="to0_231">231</td><td nowrap="nowrap">### VisualStudioCode ###</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_229">229</td><td nowrap="nowrap">.vscode/*</td><td class="diff_next"></td><td class="diff_header" id="to0_232">232</td><td nowrap="nowrap">.vscode/*</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_230">230</td><td nowrap="nowrap">!.vscode/tasks.json</td><td class="diff_next"></td><td class="diff_header" id="to0_233">233</td><td nowrap="nowrap">!.vscode/tasks.json</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_231">231</td><td nowrap="nowrap">!.vscode/launch.json</td><td class="diff_next"></td><td class="diff_header" id="to0_234">234</td><td nowrap="nowrap">!.vscode/launch.json</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_232">232</td><td nowrap="nowrap">*.code-workspace</td><td class="diff_next"></td><td class="diff_header" id="to0_235">235</td><td nowrap="nowrap">*.code-workspace</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_233">233</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_236">236</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_234">234</td><td nowrap="nowrap">### VisualStudioCode Patch ###</td><td class="diff_next"></td><td class="diff_header" id="to0_237">237</td><td nowrap="nowrap">### VisualStudioCode Patch ###</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_235">235</td><td nowrap="nowrap"># Ignore all local history of files</td><td class="diff_next"></td><td class="diff_header" id="to0_238">238</td><td nowrap="nowrap"># Ignore all local history of files</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_236">236</td><td nowrap="nowrap">.history</td><td class="diff_next"></td><td class="diff_header" id="to0_239">239</td><td nowrap="nowrap">.history</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_237">237</td><td nowrap="nowrap">.ionide</td><td class="diff_next"></td><td class="diff_header" id="to0_240">240</td><td nowrap="nowrap">.ionide</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_238">238</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_241">241</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_239">239</td><td nowrap="nowrap"># End of https://www.toptal.com/developers/gitignore/api/python,django,visualstudiocode,dotenv</td><td class="diff_next"></td><td class="diff_header" id="to0_242">242</td><td nowrap="nowrap"># End of https://www.toptal.com/developers/gitignore/api/python,django,visualstudiocode,dotenv</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_240">240</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to0_243">243</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_241">241</td><td nowrap="nowrap"># Azure Developer CLI</td><td class="diff_next"></td><td class="diff_header" id="to0_244">244</td><td nowrap="nowrap"># Azure Developer CLI</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from0_242">242</td><td nowrap="nowrap">.azure/</td><td class="diff_next"></td><td class="diff_header" id="to0_245">245</td><td nowrap="nowrap">.azure/</td></tr> | |
</tbody> | |
</table> | |
<table class="diff" summary="Legends"> | |
<tr> <th colspan="2"> Legends </th> </tr> | |
<tr> <td> <table border="" summary="Colors"> | |
<tr><th> Colors </th> </tr> | |
<tr><td class="diff_add"> Added </td></tr> | |
<tr><td class="diff_chg">Changed</td> </tr> | |
<tr><td class="diff_sub">Deleted</td> </tr> | |
</table></td> | |
<td> <table border="" summary="Links"> | |
<tr><th colspan="2"> Links </th> </tr> | |
<tr><td>(f)irst change</td> </tr> | |
<tr><td>(n)ext change</td> </tr> | |
<tr><td>(t)op</td> </tr> | |
</table></td> </tr> | |
</table> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>/Users/kjaymiller/cookiecutters-relecloud/bmfbtfhwbqcbsrsmybaf_fastapi_cosmos_mongodb_aca/pyproject.toml</h1><hr /> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" | |
content="text/html; charset=utf-8" /> | |
<title></title> | |
<style type="text/css"> | |
table.diff {font-family:Courier; border:medium;} | |
.diff_header {background-color:#e0e0e0} | |
td.diff_header {text-align:right} | |
.diff_next {background-color:#c0c0c0} | |
.diff_add {background-color:#aaffaa} | |
.diff_chg {background-color:#ffff77} | |
.diff_sub {background-color:#ffaaaa} | |
</style> | |
</head> | |
<body> | |
<table class="diff" id="difflib_chg_to2__top" | |
cellspacing="0" cellpadding="0" rules="groups" > | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<tbody> | |
<tr><td class="diff_next"><a href="#difflib_chg_to2__0">f</a></td><td class="diff_header" id="from2_1">1</td><td nowrap="nowrap">[tool.ruff]</td><td class="diff_next"><a href="#difflib_chg_to2__0">f</a></td><td class="diff_header" id="to2_1">1</td><td nowrap="nowrap">[tool.ruff]</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from2_2">2</td><td nowrap="nowrap">line-length = 120</td><td class="diff_next"></td><td class="diff_header" id="to2_2">2</td><td nowrap="nowrap">line-length = 120</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from2_3">3</td><td nowrap="nowrap">select = ["E", "F", "I", "UP"]</td><td class="diff_next"></td><td class="diff_header" id="to2_3">3</td><td nowrap="nowrap">select = ["E", "F", "I", "UP"]</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from2_4">4</td><td nowrap="nowrap">ignore = ["D203"]</td><td class="diff_next"></td><td class="diff_header" id="to2_4">4</td><td nowrap="nowrap">ignore = ["D203"]</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from2_5">5</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to2_5">5</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to2__0"></td><td class="diff_header" id="from2_6">6</td><td nowrap="nowrap">[tool.ruff.isort]</td><td class="diff_next"></td><td class="diff_header" id="to2_6">6</td><td nowrap="nowrap">[tool.ruff.isort]</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from2_7">7</td><td nowrap="nowrap">known-first-party = ["fastapi_app"]</td><td class="diff_next"></td><td class="diff_header" id="to2_7">7</td><td nowrap="nowrap">known-first-party = ["fastapi_app"]</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from2_8">8</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to2_8">8</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from2_9">9</td><td nowrap="nowrap">[tool.black]</td><td class="diff_next"></td><td class="diff_header" id="to2_9">9</td><td nowrap="nowrap">[tool.black]</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from2_10">10</td><td nowrap="nowrap">line-length = 120</td><td class="diff_next"></td><td class="diff_header" id="to2_10">10</td><td nowrap="nowrap">line-length = 120</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to2__top">t</a></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"><a href="#difflib_chg_to2__top">t</a></td><td class="diff_header" id="to2_11">11</td><td nowrap="nowrap"><span class="diff_add">extend-exclude = "migrations"</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from2_11">11</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to2_12">12</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from2_12">12</td><td nowrap="nowrap">[tool.pytest.ini_options]</td><td class="diff_next"></td><td class="diff_header" id="to2_13">13</td><td nowrap="nowrap">[tool.pytest.ini_options]</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from2_13">13</td><td nowrap="nowrap">addopts = "-ra --cov -vv"</td><td class="diff_next"></td><td class="diff_header" id="to2_14">14</td><td nowrap="nowrap">addopts = "-ra --cov -vv"</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from2_14">14</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to2_15">15</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from2_15">15</td><td nowrap="nowrap">[tool.coverage.report]</td><td class="diff_next"></td><td class="diff_header" id="to2_16">16</td><td nowrap="nowrap">[tool.coverage.report]</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from2_16">16</td><td nowrap="nowrap">show_missing = true</td><td class="diff_next"></td><td class="diff_header" id="to2_17">17</td><td nowrap="nowrap">show_missing = true</td></tr> | |
</tbody> | |
</table> | |
<table class="diff" summary="Legends"> | |
<tr> <th colspan="2"> Legends </th> </tr> | |
<tr> <td> <table border="" summary="Colors"> | |
<tr><th> Colors </th> </tr> | |
<tr><td class="diff_add"> Added </td></tr> | |
<tr><td class="diff_chg">Changed</td> </tr> | |
<tr><td class="diff_sub">Deleted</td> </tr> | |
</table></td> | |
<td> <table border="" summary="Links"> | |
<tr><th colspan="2"> Links </th> </tr> | |
<tr><td>(f)irst change</td> </tr> | |
<tr><td>(n)ext change</td> </tr> | |
<tr><td>(t)op</td> </tr> | |
</table></td> </tr> | |
</table> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>/Users/kjaymiller/cookiecutters-relecloud/bmfbtfhwbqcbsrsmybaf_fastapi_cosmos_mongodb_aca/README.md</h1><hr /> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" | |
content="text/html; charset=utf-8" /> | |
<title></title> | |
<style type="text/css"> | |
table.diff {font-family:Courier; border:medium;} | |
.diff_header {background-color:#e0e0e0} | |
td.diff_header {text-align:right} | |
.diff_next {background-color:#c0c0c0} | |
.diff_add {background-color:#aaffaa} | |
.diff_chg {background-color:#ffff77} | |
.diff_sub {background-color:#ffaaaa} | |
</style> | |
</head> | |
<body> | |
<table class="diff" id="difflib_chg_to1__top" | |
cellspacing="0" cellpadding="0" rules="groups" > | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<tbody> | |
<tr><td class="diff_next" id="difflib_chg_to1__0"><a href="#difflib_chg_to1__1">n</a></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"><a href="#difflib_chg_to1__1">n</a></td><td class="diff_header" id="to1_1">1</td><td nowrap="nowrap"><span class="diff_add"> </span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_2">2</td><td nowrap="nowrap"><span class="diff_add"> </span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_3">3</td><td nowrap="nowrap"><span class="diff_add"> </span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_4">4</td><td nowrap="nowrap"><span class="diff_add"> </span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_5">5</td><td nowrap="nowrap"><span class="diff_add"> </span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_6">6</td><td nowrap="nowrap"><span class="diff_add"> </span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_7">7</td><td nowrap="nowrap"><span class="diff_add"> </span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_1">1</td><td nowrap="nowrap"># Deploy FastAPI Application with MongoDB via Azure Container Apps</td><td class="diff_next"></td><td class="diff_header" id="to1_8">8</td><td nowrap="nowrap"># Deploy FastAPI Application with MongoDB via Azure Container Apps</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_2">2</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_9">9</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_3">3</td><td nowrap="nowrap">This project deploys a web application for a space travel agency using FastAPI. The application can be deployed to Azure with Azure Container Apps using the [Azure Developer CLI](https://learn.microsoft.com/azure/developer/azure-developer-cli/overview).</td><td class="diff_next"></td><td class="diff_header" id="to1_10">10</td><td nowrap="nowrap">This project deploys a web application for a space travel agency using FastAPI. The application can be deployed to Azure with Azure Container Apps using the [Azure Developer CLI](https://learn.microsoft.com/azure/developer/azure-developer-cli/overview).</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_4">4</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_11">11</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_5">5</td><td nowrap="nowrap">## Opening the project</td><td class="diff_next"></td><td class="diff_header" id="to1_12">12</td><td nowrap="nowrap">## Opening the project</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_6">6</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_13">13</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_7">7</td><td nowrap="nowrap">This project has [Dev Container support](https://code.visualstudio.com/docs/devcontainers/containers), so it will be be setup automatically if you open it in Github Codespaces or in local VS Code with the [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers).</td><td class="diff_next"></td><td class="diff_header" id="to1_14">14</td><td nowrap="nowrap">This project has [Dev Container support](https://code.visualstudio.com/docs/devcontainers/containers), so it will be be setup automatically if you open it in Github Codespaces or in local VS Code with the [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers).</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_8">8</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_15">15</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_9">9</td><td nowrap="nowrap">If you're not using one of those options for opening the project, then you'll need to:</td><td class="diff_next"></td><td class="diff_header" id="to1_16">16</td><td nowrap="nowrap">If you're not using one of those options for opening the project, then you'll need to:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_10">10</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_17">17</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_11">11</td><td nowrap="nowrap">1. Create a [Python virtual environment](https://docs.python.org/3/tutorial/venv.html#creating-virtual-environments) and activate it.</td><td class="diff_next"></td><td class="diff_header" id="to1_18">18</td><td nowrap="nowrap">1. Create a [Python virtual environment](https://docs.python.org/3/tutorial/venv.html#creating-virtual-environments) and activate it.</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_12">12</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_19">19</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_13">13</td><td nowrap="nowrap">1. Install production requirements:</td><td class="diff_next"></td><td class="diff_header" id="to1_20">20</td><td nowrap="nowrap">1. Install production requirements:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_14">14</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_21">21</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_15">15</td><td nowrap="nowrap"> ```sh</td><td class="diff_next"></td><td class="diff_header" id="to1_22">22</td><td nowrap="nowrap"> ```sh</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_16">16</td><td nowrap="nowrap"> python -m pip install -r src/requirements.txt</td><td class="diff_next"></td><td class="diff_header" id="to1_23">23</td><td nowrap="nowrap"> python -m pip install -r src/requirements.txt</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_17">17</td><td nowrap="nowrap"> ```</td><td class="diff_next"></td><td class="diff_header" id="to1_24">24</td><td nowrap="nowrap"> ```</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_18">18</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_25">25</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_19">19</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_26">26</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_20">20</td><td nowrap="nowrap">1. Install the app as an editable package:</td><td class="diff_next"></td><td class="diff_header" id="to1_27">27</td><td nowrap="nowrap">1. Install the app as an editable package:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_21">21</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_28">28</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_22">22</td><td nowrap="nowrap"> ```sh</td><td class="diff_next"></td><td class="diff_header" id="to1_29">29</td><td nowrap="nowrap"> ```sh</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_23">23</td><td nowrap="nowrap"> python -m pip install -e src</td><td class="diff_next"></td><td class="diff_header" id="to1_30">30</td><td nowrap="nowrap"> python -m pip install -e src</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_24">24</td><td nowrap="nowrap"> ```</td><td class="diff_next"></td><td class="diff_header" id="to1_31">31</td><td nowrap="nowrap"> ```</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_25">25</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_32">32</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to1__1"></td><td class="diff_header" id="from1_26">26</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_33">33</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_27">27</td><td nowrap="nowrap">1. Apply database migrations and seed initial data:</td><td class="diff_next"></td><td class="diff_header" id="to1_34">34</td><td nowrap="nowrap">1. Apply database migrations and seed initial data:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_28">28</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_35">35</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_29">29</td><td nowrap="nowrap"> ```sh</td><td class="diff_next"></td><td class="diff_header" id="to1_36">36</td><td nowrap="nowrap"> ```sh</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_30">30</td><td nowrap="nowrap"> python3 src/fastapi_app/seed_data.py</td><td class="diff_next"></td><td class="diff_header" id="to1_37">37</td><td nowrap="nowrap"> python3 src/fastapi_app/seed_data.py</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to1__top">t</a></td><td class="diff_header" id="from1_31">31</td><td nowrap="nowrap"><span class="diff_sub"> ```</span></td><td class="diff_next"><a href="#difflib_chg_to1__top">t</a></td><td class="diff_header" id="to1_38">38</td><td nowrap="nowrap"><span class="diff_add"> </span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_39">39</td><td nowrap="nowrap"><span class="diff_add">```</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_32">32</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_40">40</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_33">33</td><td nowrap="nowrap">## Running locally</td><td class="diff_next"></td><td class="diff_header" id="to1_41">41</td><td nowrap="nowrap">## Running locally</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_34">34</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_42">42</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_35">35</td><td nowrap="nowrap">Run gunicorn on the app:</td><td class="diff_next"></td><td class="diff_header" id="to1_43">43</td><td nowrap="nowrap">Run gunicorn on the app:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_36">36</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_44">44</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_37">37</td><td nowrap="nowrap">```sh</td><td class="diff_next"></td><td class="diff_header" id="to1_45">45</td><td nowrap="nowrap">```sh</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_38">38</td><td nowrap="nowrap">python3 -m gunicorn fastapi_app:app -c src/gunicorn.conf.py</td><td class="diff_next"></td><td class="diff_header" id="to1_46">46</td><td nowrap="nowrap">python3 -m gunicorn fastapi_app:app -c src/gunicorn.conf.py</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_39">39</td><td nowrap="nowrap">```</td><td class="diff_next"></td><td class="diff_header" id="to1_47">47</td><td nowrap="nowrap">```</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_40">40</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_48">48</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_41">41</td><td nowrap="nowrap">## Running tests</td><td class="diff_next"></td><td class="diff_header" id="to1_49">49</td><td nowrap="nowrap">## Running tests</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_42">42</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_50">50</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_43">43</td><td nowrap="nowrap">2. Install the development requirements:</td><td class="diff_next"></td><td class="diff_header" id="to1_51">51</td><td nowrap="nowrap">2. Install the development requirements:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_44">44</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_52">52</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_45">45</td><td nowrap="nowrap"> ```sh</td><td class="diff_next"></td><td class="diff_header" id="to1_53">53</td><td nowrap="nowrap"> ```sh</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_46">46</td><td nowrap="nowrap"> python3 -m pip install -r requirements-dev.in</td><td class="diff_next"></td><td class="diff_header" id="to1_54">54</td><td nowrap="nowrap"> python3 -m pip install -r requirements-dev.in</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_47">47</td><td nowrap="nowrap"> playwright install --with-deps</td><td class="diff_next"></td><td class="diff_header" id="to1_55">55</td><td nowrap="nowrap"> playwright install --with-deps</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_48">48</td><td nowrap="nowrap"> ```</td><td class="diff_next"></td><td class="diff_header" id="to1_56">56</td><td nowrap="nowrap"> ```</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_49">49</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_57">57</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_50">50</td><td nowrap="nowrap">3. Run the tests:</td><td class="diff_next"></td><td class="diff_header" id="to1_58">58</td><td nowrap="nowrap">3. Run the tests:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_51">51</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_59">59</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_52">52</td><td nowrap="nowrap"> ```sh</td><td class="diff_next"></td><td class="diff_header" id="to1_60">60</td><td nowrap="nowrap"> ```sh</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_53">53</td><td nowrap="nowrap"> python3 -m pytest</td><td class="diff_next"></td><td class="diff_header" id="to1_61">61</td><td nowrap="nowrap"> python3 -m pytest</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_54">54</td><td nowrap="nowrap"> ```</td><td class="diff_next"></td><td class="diff_header" id="to1_62">62</td><td nowrap="nowrap"> ```</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_55">55</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_63">63</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_56">56</td><td nowrap="nowrap">## Deployment</td><td class="diff_next"></td><td class="diff_header" id="to1_64">64</td><td nowrap="nowrap">## Deployment</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_57">57</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_65">65</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_58">58</td><td nowrap="nowrap">This repo is set up for deployment on Azure via Azure Container Apps.</td><td class="diff_next"></td><td class="diff_header" id="to1_66">66</td><td nowrap="nowrap">This repo is set up for deployment on Azure via Azure Container Apps.</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_59">59</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_67">67</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_60">60</td><td nowrap="nowrap">Steps for deployment:</td><td class="diff_next"></td><td class="diff_header" id="to1_68">68</td><td nowrap="nowrap">Steps for deployment:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_61">61</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_69">69</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_62">62</td><td nowrap="nowrap">1. Sign up for a [free Azure account](https://azure.microsoft.com/free/) and create an Azure Subscription.</td><td class="diff_next"></td><td class="diff_header" id="to1_70">70</td><td nowrap="nowrap">1. Sign up for a [free Azure account](https://azure.microsoft.com/free/) and create an Azure Subscription.</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_63">63</td><td nowrap="nowrap">2. Install the [Azure Developer CLI](https://learn.microsoft.com/azure/developer/azure-developer-cli/install-azd). (If you open this repository in Codespaces or with the VS Code Dev Containers extension, that part will be done for you.)</td><td class="diff_next"></td><td class="diff_header" id="to1_71">71</td><td nowrap="nowrap">2. Install the [Azure Developer CLI](https://learn.microsoft.com/azure/developer/azure-developer-cli/install-azd). (If you open this repository in Codespaces or with the VS Code Dev Containers extension, that part will be done for you.)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_64">64</td><td nowrap="nowrap">3. Login to Azure:</td><td class="diff_next"></td><td class="diff_header" id="to1_72">72</td><td nowrap="nowrap">3. Login to Azure:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_65">65</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_73">73</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_66">66</td><td nowrap="nowrap"> ```shell</td><td class="diff_next"></td><td class="diff_header" id="to1_74">74</td><td nowrap="nowrap"> ```shell</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_67">67</td><td nowrap="nowrap"> azd auth login</td><td class="diff_next"></td><td class="diff_header" id="to1_75">75</td><td nowrap="nowrap"> azd auth login</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_68">68</td><td nowrap="nowrap"> ```</td><td class="diff_next"></td><td class="diff_header" id="to1_76">76</td><td nowrap="nowrap"> ```</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_69">69</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_77">77</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_70">70</td><td nowrap="nowrap">4. Provision and deploy all the resources:</td><td class="diff_next"></td><td class="diff_header" id="to1_78">78</td><td nowrap="nowrap">4. Provision and deploy all the resources:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_71">71</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_79">79</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_72">72</td><td nowrap="nowrap"> ```shell</td><td class="diff_next"></td><td class="diff_header" id="to1_80">80</td><td nowrap="nowrap"> ```shell</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_73">73</td><td nowrap="nowrap"> azd up</td><td class="diff_next"></td><td class="diff_header" id="to1_81">81</td><td nowrap="nowrap"> azd up</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_74">74</td><td nowrap="nowrap"> ```</td><td class="diff_next"></td><td class="diff_header" id="to1_82">82</td><td nowrap="nowrap"> ```</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_75">75</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_83">83</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_76">76</td><td nowrap="nowrap"> It will prompt you to provide an `azd` environment name (like "myapp"), select a subscription from your Azure account, and select a location (like "eastus"). Then it will provision the resources in your account and deploy the latest code. If you get an error with deployment, changing the location can help, as there may be availability constraints for some of the resources.</td><td class="diff_next"></td><td class="diff_header" id="to1_84">84</td><td nowrap="nowrap"> It will prompt you to provide an `azd` environment name (like "myapp"), select a subscription from your Azure account, and select a location (like "eastus"). Then it will provision the resources in your account and deploy the latest code. If you get an error with deployment, changing the location can help, as there may be availability constraints for some of the resources.</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_77">77</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_85">85</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_78">78</td><td nowrap="nowrap">5. When `azd` has finished deploying, you'll see an endpoint URI in the command output. Visit that URI, and you should see the front page of the app! 🎉</td><td class="diff_next"></td><td class="diff_header" id="to1_86">86</td><td nowrap="nowrap">5. When `azd` has finished deploying, you'll see an endpoint URI in the command output. Visit that URI, and you should see the front page of the app! 🎉</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_79">79</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_87">87</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_80">80</td><td nowrap="nowrap">6. When you've made any changes to the app code, you can just run:</td><td class="diff_next"></td><td class="diff_header" id="to1_88">88</td><td nowrap="nowrap">6. When you've made any changes to the app code, you can just run:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_81">81</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_89">89</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_82">82</td><td nowrap="nowrap"> ```shell</td><td class="diff_next"></td><td class="diff_header" id="to1_90">90</td><td nowrap="nowrap"> ```shell</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_83">83</td><td nowrap="nowrap"> azd deploy</td><td class="diff_next"></td><td class="diff_header" id="to1_91">91</td><td nowrap="nowrap"> azd deploy</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_84">84</td><td nowrap="nowrap"> ```</td><td class="diff_next"></td><td class="diff_header" id="to1_92">92</td><td nowrap="nowrap"> ```</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_85">85</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_93">93</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_86">86</td><td nowrap="nowrap">### CI/CD pipeline</td><td class="diff_next"></td><td class="diff_header" id="to1_94">94</td><td nowrap="nowrap">### CI/CD pipeline</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_87">87</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_95">95</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_88">88</td><td nowrap="nowrap">This project includes a Github workflow for deploying the resources to Azure</td><td class="diff_next"></td><td class="diff_header" id="to1_96">96</td><td nowrap="nowrap">This project includes a Github workflow for deploying the resources to Azure</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_89">89</td><td nowrap="nowrap">on every push to main. That workflow requires several Azure-related authentication secrets</td><td class="diff_next"></td><td class="diff_header" id="to1_97">97</td><td nowrap="nowrap">on every push to main. That workflow requires several Azure-related authentication secrets</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_90">90</td><td nowrap="nowrap">to be stored as Github action secrets. To set that up, run:</td><td class="diff_next"></td><td class="diff_header" id="to1_98">98</td><td nowrap="nowrap">to be stored as Github action secrets. To set that up, run:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_91">91</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_99">99</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_92">92</td><td nowrap="nowrap">```shell</td><td class="diff_next"></td><td class="diff_header" id="to1_100">100</td><td nowrap="nowrap">```shell</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_93">93</td><td nowrap="nowrap">azd pipeline config</td><td class="diff_next"></td><td class="diff_header" id="to1_101">101</td><td nowrap="nowrap">azd pipeline config</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_94">94</td><td nowrap="nowrap">```</td><td class="diff_next"></td><td class="diff_header" id="to1_102">102</td><td nowrap="nowrap">```</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from1_95">95</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to1_103">103</td><td nowrap="nowrap"></td></tr> | |
</tbody> | |
</table> | |
<table class="diff" summary="Legends"> | |
<tr> <th colspan="2"> Legends </th> </tr> | |
<tr> <td> <table border="" summary="Colors"> | |
<tr><th> Colors </th> </tr> | |
<tr><td class="diff_add"> Added </td></tr> | |
<tr><td class="diff_chg">Changed</td> </tr> | |
<tr><td class="diff_sub">Deleted</td> </tr> | |
</table></td> | |
<td> <table border="" summary="Links"> | |
<tr><th colspan="2"> Links </th> </tr> | |
<tr><td>(f)irst change</td> </tr> | |
<tr><td>(n)ext change</td> </tr> | |
<tr><td>(t)op</td> </tr> | |
</table></td> </tr> | |
</table> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>/Users/kjaymiller/cookiecutters-relecloud/bmfbtfhwbqcbsrsmybaf_fastapi_cosmos_mongodb_aca/.devcontainer/devcontainer.json</h1><hr /> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" | |
content="text/html; charset=utf-8" /> | |
<title></title> | |
<style type="text/css"> | |
table.diff {font-family:Courier; border:medium;} | |
.diff_header {background-color:#e0e0e0} | |
td.diff_header {text-align:right} | |
.diff_next {background-color:#c0c0c0} | |
.diff_add {background-color:#aaffaa} | |
.diff_chg {background-color:#ffff77} | |
.diff_sub {background-color:#ffaaaa} | |
</style> | |
</head> | |
<body> | |
<table class="diff" id="difflib_chg_to3__top" | |
cellspacing="0" cellpadding="0" rules="groups" > | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<tbody> | |
<tr><td class="diff_next" id="difflib_chg_to3__0"><a href="#difflib_chg_to3__0">f</a></td><td class="diff_header" id="from3_1">1</td><td nowrap="nowrap">// For format details, see https://aka.ms/devcontainer.json. For config options, see the</td><td class="diff_next"><a href="#difflib_chg_to3__0">f</a></td><td class="diff_header" id="to3_1">1</td><td nowrap="nowrap">// For format details, see https://aka.ms/devcontainer.json. For config options, see the</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_2">2</td><td nowrap="nowrap">// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-docker-compose</td><td class="diff_next"></td><td class="diff_header" id="to3_2">2</td><td nowrap="nowrap">// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-docker-compose</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_3">3</td><td nowrap="nowrap">{</td><td class="diff_next"></td><td class="diff_header" id="to3_3">3</td><td nowrap="nowrap">{</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to3__top">t</a></td><td class="diff_header" id="from3_4">4</td><td nowrap="nowrap"> "name": "<span class="diff_chg">bmfbtfhwbqcbs</span>r<span class="diff_chg">smybaf</span>_fastapi_cosmos_mongodb_aca",</td><td class="diff_next"><a href="#difflib_chg_to3__top">t</a></td><td class="diff_header" id="to3_4">4</td><td nowrap="nowrap"> "name": "<span class="diff_chg">azu</span>r<span class="diff_chg">e</span>_fastapi_cosmos_mongodb_aca",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_5">5</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to3_5">5</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_6">6</td><td nowrap="nowrap"> // Update the 'dockerComposeFile' list if you have more compose files or use different names.</td><td class="diff_next"></td><td class="diff_header" id="to3_6">6</td><td nowrap="nowrap"> // Update the 'dockerComposeFile' list if you have more compose files or use different names.</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_7">7</td><td nowrap="nowrap"> // The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.</td><td class="diff_next"></td><td class="diff_header" id="to3_7">7</td><td nowrap="nowrap"> // The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_8">8</td><td nowrap="nowrap"> "dockerComposeFile": "docker-compose_dev.yml",</td><td class="diff_next"></td><td class="diff_header" id="to3_8">8</td><td nowrap="nowrap"> "dockerComposeFile": "docker-compose_dev.yml",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_9">9</td><td nowrap="nowrap"> // The 'service' property is the name of the service for the container that VS Code should</td><td class="diff_next"></td><td class="diff_header" id="to3_9">9</td><td nowrap="nowrap"> // The 'service' property is the name of the service for the container that VS Code should</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_10">10</td><td nowrap="nowrap"> // use. Update this value and .devcontainer/docker-compose.yml to the real service name.</td><td class="diff_next"></td><td class="diff_header" id="to3_10">10</td><td nowrap="nowrap"> // use. Update this value and .devcontainer/docker-compose.yml to the real service name.</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_11">11</td><td nowrap="nowrap"> "service": "app",</td><td class="diff_next"></td><td class="diff_header" id="to3_11">11</td><td nowrap="nowrap"> "service": "app",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_12">12</td><td nowrap="nowrap"> "shutdownAction": "stopCompose",</td><td class="diff_next"></td><td class="diff_header" id="to3_12">12</td><td nowrap="nowrap"> "shutdownAction": "stopCompose",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_13">13</td><td nowrap="nowrap"> "workspaceFolder": "/workspace",</td><td class="diff_next"></td><td class="diff_header" id="to3_13">13</td><td nowrap="nowrap"> "workspaceFolder": "/workspace",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_14">14</td><td nowrap="nowrap"> "forwardPorts": [8000, 27017],</td><td class="diff_next"></td><td class="diff_header" id="to3_14">14</td><td nowrap="nowrap"> "forwardPorts": [8000, 27017],</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_15">15</td><td nowrap="nowrap"> "portsAttributes": {</td><td class="diff_next"></td><td class="diff_header" id="to3_15">15</td><td nowrap="nowrap"> "portsAttributes": {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_16">16</td><td nowrap="nowrap"> "8000": {"label": "frontend web port", "onAutoForward": "notify"},</td><td class="diff_next"></td><td class="diff_header" id="to3_16">16</td><td nowrap="nowrap"> "8000": {"label": "frontend web port", "onAutoForward": "notify"},</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_17">17</td><td nowrap="nowrap"> "27017": {"label": "MongoDB Port", "onAutoForward": "silent"}</td><td class="diff_next"></td><td class="diff_header" id="to3_17">17</td><td nowrap="nowrap"> "27017": {"label": "MongoDB Port", "onAutoForward": "silent"}</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_18">18</td><td nowrap="nowrap"> },</td><td class="diff_next"></td><td class="diff_header" id="to3_18">18</td><td nowrap="nowrap"> },</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_19">19</td><td nowrap="nowrap"> "customizations": {</td><td class="diff_next"></td><td class="diff_header" id="to3_19">19</td><td nowrap="nowrap"> "customizations": {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_20">20</td><td nowrap="nowrap"> "vscode": {</td><td class="diff_next"></td><td class="diff_header" id="to3_20">20</td><td nowrap="nowrap"> "vscode": {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_21">21</td><td nowrap="nowrap"> "extensions": [</td><td class="diff_next"></td><td class="diff_header" id="to3_21">21</td><td nowrap="nowrap"> "extensions": [</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_22">22</td><td nowrap="nowrap"> "ms-azuretools.vscode-bicep",</td><td class="diff_next"></td><td class="diff_header" id="to3_22">22</td><td nowrap="nowrap"> "ms-azuretools.vscode-bicep",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_23">23</td><td nowrap="nowrap"> "charliermarsh.ruff",</td><td class="diff_next"></td><td class="diff_header" id="to3_23">23</td><td nowrap="nowrap"> "charliermarsh.ruff",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_24">24</td><td nowrap="nowrap"> "ms-python.python",</td><td class="diff_next"></td><td class="diff_header" id="to3_24">24</td><td nowrap="nowrap"> "ms-python.python",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_25">25</td><td nowrap="nowrap"> "ms-python.black-formatter",</td><td class="diff_next"></td><td class="diff_header" id="to3_25">25</td><td nowrap="nowrap"> "ms-python.black-formatter",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_26">26</td><td nowrap="nowrap"> "microsoft.bicep",</td><td class="diff_next"></td><td class="diff_header" id="to3_26">26</td><td nowrap="nowrap"> "microsoft.bicep",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_27">27</td><td nowrap="nowrap"> "bierner.github-markdown-preview",</td><td class="diff_next"></td><td class="diff_header" id="to3_27">27</td><td nowrap="nowrap"> "bierner.github-markdown-preview",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_28">28</td><td nowrap="nowrap"> "ms-azuretools.vscode-docker"</td><td class="diff_next"></td><td class="diff_header" id="to3_28">28</td><td nowrap="nowrap"> "ms-azuretools.vscode-docker"</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_29">29</td><td nowrap="nowrap"> ],</td><td class="diff_next"></td><td class="diff_header" id="to3_29">29</td><td nowrap="nowrap"> ],</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_30">30</td><td nowrap="nowrap"> "settings": {</td><td class="diff_next"></td><td class="diff_header" id="to3_30">30</td><td nowrap="nowrap"> "settings": {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_31">31</td><td nowrap="nowrap"> }</td><td class="diff_next"></td><td class="diff_header" id="to3_31">31</td><td nowrap="nowrap"> }</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_32">32</td><td nowrap="nowrap"> }</td><td class="diff_next"></td><td class="diff_header" id="to3_32">32</td><td nowrap="nowrap"> }</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_33">33</td><td nowrap="nowrap"> },</td><td class="diff_next"></td><td class="diff_header" id="to3_33">33</td><td nowrap="nowrap"> },</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_34">34</td><td nowrap="nowrap"> "features": {</td><td class="diff_next"></td><td class="diff_header" id="to3_34">34</td><td nowrap="nowrap"> "features": {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_35">35</td><td nowrap="nowrap"> "ghcr.io/azure/azure-dev/azd:latest": {},</td><td class="diff_next"></td><td class="diff_header" id="to3_35">35</td><td nowrap="nowrap"> "ghcr.io/azure/azure-dev/azd:latest": {},</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_36">36</td><td nowrap="nowrap"> // Required for azd to package the app to ACA</td><td class="diff_next"></td><td class="diff_header" id="to3_36">36</td><td nowrap="nowrap"> // Required for azd to package the app to ACA</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_37">37</td><td nowrap="nowrap"> "ghcr.io/devcontainers/features/docker-in-docker:2": {}</td><td class="diff_next"></td><td class="diff_header" id="to3_37">37</td><td nowrap="nowrap"> "ghcr.io/devcontainers/features/docker-in-docker:2": {}</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_38">38</td><td nowrap="nowrap"> },</td><td class="diff_next"></td><td class="diff_header" id="to3_38">38</td><td nowrap="nowrap"> },</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_39">39</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to3_39">39</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_40">40</td><td nowrap="nowrap">}</td><td class="diff_next"></td><td class="diff_header" id="to3_40">40</td><td nowrap="nowrap">}</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from3_41">41</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to3_41">41</td><td nowrap="nowrap"></td></tr> | |
</tbody> | |
</table> | |
<table class="diff" summary="Legends"> | |
<tr> <th colspan="2"> Legends </th> </tr> | |
<tr> <td> <table border="" summary="Colors"> | |
<tr><th> Colors </th> </tr> | |
<tr><td class="diff_add"> Added </td></tr> | |
<tr><td class="diff_chg">Changed</td> </tr> | |
<tr><td class="diff_sub">Deleted</td> </tr> | |
</table></td> | |
<td> <table border="" summary="Links"> | |
<tr><th colspan="2"> Links </th> </tr> | |
<tr><td>(f)irst change</td> </tr> | |
<tr><td>(n)ext change</td> </tr> | |
<tr><td>(t)op</td> </tr> | |
</table></td> </tr> | |
</table> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>/Users/kjaymiller/cookiecutters-relecloud/bmfbtfhwbqcbsrsmybaf_fastapi_cosmos_mongodb_aca/.devcontainer/docker-compose_dev.yml</h1><hr /> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" | |
content="text/html; charset=utf-8" /> | |
<title></title> | |
<style type="text/css"> | |
table.diff {font-family:Courier; border:medium;} | |
.diff_header {background-color:#e0e0e0} | |
td.diff_header {text-align:right} | |
.diff_next {background-color:#c0c0c0} | |
.diff_add {background-color:#aaffaa} | |
.diff_chg {background-color:#ffff77} | |
.diff_sub {background-color:#ffaaaa} | |
</style> | |
</head> | |
<body> | |
<table class="diff" id="difflib_chg_to4__top" | |
cellspacing="0" cellpadding="0" rules="groups" > | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<tbody> | |
<tr><td class="diff_next" id="difflib_chg_to4__0"><a href="#difflib_chg_to4__0">f</a></td><td class="diff_header" id="from4_1">1</td><td nowrap="nowrap">version: '3'</td><td class="diff_next"><a href="#difflib_chg_to4__0">f</a></td><td class="diff_header" id="to4_1">1</td><td nowrap="nowrap">version: '3'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_2">2</td><td nowrap="nowrap">services:</td><td class="diff_next"></td><td class="diff_header" id="to4_2">2</td><td nowrap="nowrap">services:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_3">3</td><td nowrap="nowrap"> db:</td><td class="diff_next"></td><td class="diff_header" id="to4_3">3</td><td nowrap="nowrap"> db:</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to4__top">t</a></td><td class="diff_header" id="from4_4">4</td><td nowrap="nowrap"> image: mongo:4.<span class="diff_chg">2</span>.24</td><td class="diff_next"><a href="#difflib_chg_to4__top">t</a></td><td class="diff_header" id="to4_4">4</td><td nowrap="nowrap"> image: mongo:4.<span class="diff_chg">4</span>.24</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_5">5</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to4_5">5</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_6">6</td><td nowrap="nowrap"> environment:</td><td class="diff_next"></td><td class="diff_header" id="to4_6">6</td><td nowrap="nowrap"> environment:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_7">7</td><td nowrap="nowrap"> MONGO_INITDB_ROOT_USERNAME: mongodb</td><td class="diff_next"></td><td class="diff_header" id="to4_7">7</td><td nowrap="nowrap"> MONGO_INITDB_ROOT_USERNAME: mongodb</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_8">8</td><td nowrap="nowrap"> MONGO_INITDB_ROOT_PASSWORD: mongodb</td><td class="diff_next"></td><td class="diff_header" id="to4_8">8</td><td nowrap="nowrap"> MONGO_INITDB_ROOT_PASSWORD: mongodb</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_9">9</td><td nowrap="nowrap"> MONGO_INITDB_DATABASE: relecloud</td><td class="diff_next"></td><td class="diff_header" id="to4_9">9</td><td nowrap="nowrap"> MONGO_INITDB_DATABASE: relecloud</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_10">10</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to4_10">10</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_11">11</td><td nowrap="nowrap"> healthcheck:</td><td class="diff_next"></td><td class="diff_header" id="to4_11">11</td><td nowrap="nowrap"> healthcheck:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_12">12</td><td nowrap="nowrap"> test: echo 'db.runCommand("ping").ok' | mongo db:27017/relecloud --quiet</td><td class="diff_next"></td><td class="diff_header" id="to4_12">12</td><td nowrap="nowrap"> test: echo 'db.runCommand("ping").ok' | mongo db:27017/relecloud --quiet</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_13">13</td><td nowrap="nowrap"> interval: 5s</td><td class="diff_next"></td><td class="diff_header" id="to4_13">13</td><td nowrap="nowrap"> interval: 5s</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_14">14</td><td nowrap="nowrap"> timeout: 5s</td><td class="diff_next"></td><td class="diff_header" id="to4_14">14</td><td nowrap="nowrap"> timeout: 5s</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_15">15</td><td nowrap="nowrap"> retries: 5</td><td class="diff_next"></td><td class="diff_header" id="to4_15">15</td><td nowrap="nowrap"> retries: 5</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_16">16</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to4_16">16</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_17">17</td><td nowrap="nowrap"> app:</td><td class="diff_next"></td><td class="diff_header" id="to4_17">17</td><td nowrap="nowrap"> app:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_18">18</td><td nowrap="nowrap"> build:</td><td class="diff_next"></td><td class="diff_header" id="to4_18">18</td><td nowrap="nowrap"> build:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_19">19</td><td nowrap="nowrap"> context: .</td><td class="diff_next"></td><td class="diff_header" id="to4_19">19</td><td nowrap="nowrap"> context: .</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_20">20</td><td nowrap="nowrap"> dockerfile: Dockerfile_dev</td><td class="diff_next"></td><td class="diff_header" id="to4_20">20</td><td nowrap="nowrap"> dockerfile: Dockerfile_dev</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_21">21</td><td nowrap="nowrap"> depends_on:</td><td class="diff_next"></td><td class="diff_header" id="to4_21">21</td><td nowrap="nowrap"> depends_on:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_22">22</td><td nowrap="nowrap"> db:</td><td class="diff_next"></td><td class="diff_header" id="to4_22">22</td><td nowrap="nowrap"> db:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_23">23</td><td nowrap="nowrap"> condition: service_healthy</td><td class="diff_next"></td><td class="diff_header" id="to4_23">23</td><td nowrap="nowrap"> condition: service_healthy</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_24">24</td><td nowrap="nowrap"> network_mode: service:db</td><td class="diff_next"></td><td class="diff_header" id="to4_24">24</td><td nowrap="nowrap"> network_mode: service:db</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_25">25</td><td nowrap="nowrap"> environment:</td><td class="diff_next"></td><td class="diff_header" id="to4_25">25</td><td nowrap="nowrap"> environment:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_26">26</td><td nowrap="nowrap"> DATABASE_URI: mongodb://mongodb:mongodb@db:27017/relecloud?authSource=admin</td><td class="diff_next"></td><td class="diff_header" id="to4_26">26</td><td nowrap="nowrap"> DATABASE_URI: mongodb://mongodb:mongodb@db:27017/relecloud?authSource=admin</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_27">27</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to4_27">27</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_28">28</td><td nowrap="nowrap"> command: sleep infinity</td><td class="diff_next"></td><td class="diff_header" id="to4_28">28</td><td nowrap="nowrap"> command: sleep infinity</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_29">29</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to4_29">29</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_30">30</td><td nowrap="nowrap"> volumes:</td><td class="diff_next"></td><td class="diff_header" id="to4_30">30</td><td nowrap="nowrap"> volumes:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_31">31</td><td nowrap="nowrap"> - ..:/workspace:cached</td><td class="diff_next"></td><td class="diff_header" id="to4_31">31</td><td nowrap="nowrap"> - ..:/workspace:cached</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from4_32">32</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to4_32">32</td><td nowrap="nowrap"></td></tr> | |
</tbody> | |
</table> | |
<table class="diff" summary="Legends"> | |
<tr> <th colspan="2"> Legends </th> </tr> | |
<tr> <td> <table border="" summary="Colors"> | |
<tr><th> Colors </th> </tr> | |
<tr><td class="diff_add"> Added </td></tr> | |
<tr><td class="diff_chg">Changed</td> </tr> | |
<tr><td class="diff_sub">Deleted</td> </tr> | |
</table></td> | |
<td> <table border="" summary="Links"> | |
<tr><th colspan="2"> Links </th> </tr> | |
<tr><td>(f)irst change</td> </tr> | |
<tr><td>(n)ext change</td> </tr> | |
<tr><td>(t)op</td> </tr> | |
</table></td> </tr> | |
</table> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>/Users/kjaymiller/cookiecutters-relecloud/bmfbtfhwbqcbsrsmybaf_fastapi_cosmos_mongodb_aca/.github/workflows/cruft.yml</h1><hr /> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" | |
content="text/html; charset=utf-8" /> | |
<title></title> | |
<style type="text/css"> | |
table.diff {font-family:Courier; border:medium;} | |
.diff_header {background-color:#e0e0e0} | |
td.diff_header {text-align:right} | |
.diff_next {background-color:#c0c0c0} | |
.diff_add {background-color:#aaffaa} | |
.diff_chg {background-color:#ffff77} | |
.diff_sub {background-color:#ffaaaa} | |
</style> | |
</head> | |
<body> | |
<table class="diff" id="difflib_chg_to5__top" | |
cellspacing="0" cellpadding="0" rules="groups" > | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<tbody> | |
<tr><td class="diff_next" id="difflib_chg_to5__0"><a href="#difflib_chg_to5__1">n</a></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"><a href="#difflib_chg_to5__1">n</a></td><td class="diff_header" id="to5_1">1</td><td nowrap="nowrap"><span class="diff_add"> </span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to5_2">2</td><td nowrap="nowrap"><span class="diff_add"># /.github/workflows/cruft-update.yml</span></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to5__1"></td><td class="diff_header" id="from5_1">1</td><td nowrap="nowrap">name: Update repository with Cruft</td><td class="diff_next"></td><td class="diff_header" id="to5_3">3</td><td nowrap="nowrap">name: Update repository with Cruft</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_2">2</td><td nowrap="nowrap">permissions:</td><td class="diff_next"></td><td class="diff_header" id="to5_4">4</td><td nowrap="nowrap">permissions:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_3">3</td><td nowrap="nowrap"> contents: write</td><td class="diff_next"></td><td class="diff_header" id="to5_5">5</td><td nowrap="nowrap"> contents: write</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_4">4</td><td nowrap="nowrap"> pull-requests: write</td><td class="diff_next"></td><td class="diff_header" id="to5_6">6</td><td nowrap="nowrap"> pull-requests: write</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_5">5</td><td nowrap="nowrap">on:</td><td class="diff_next"></td><td class="diff_header" id="to5_7">7</td><td nowrap="nowrap">on:</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to5__top">t</a></td><td class="diff_header" id="from5_6">6</td><td nowrap="nowrap"><span class="diff_sub"> workflow_dispatch:</span></td><td class="diff_next"><a href="#difflib_chg_to5__top">t</a></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_7">7</td><td nowrap="nowrap"> schedule:</td><td class="diff_next"></td><td class="diff_header" id="to5_8">8</td><td nowrap="nowrap"> schedule:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_8">8</td><td nowrap="nowrap"> - cron: "0 2 * * 1" # Every Monday at 2am</td><td class="diff_next"></td><td class="diff_header" id="to5_9">9</td><td nowrap="nowrap"> - cron: "0 2 * * 1" # Every Monday at 2am</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_9">9</td><td nowrap="nowrap">jobs:</td><td class="diff_next"></td><td class="diff_header" id="to5_10">10</td><td nowrap="nowrap">jobs:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_10">10</td><td nowrap="nowrap"> update:</td><td class="diff_next"></td><td class="diff_header" id="to5_11">11</td><td nowrap="nowrap"> update:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_11">11</td><td nowrap="nowrap"> runs-on: ubuntu-latest</td><td class="diff_next"></td><td class="diff_header" id="to5_12">12</td><td nowrap="nowrap"> runs-on: ubuntu-latest</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_12">12</td><td nowrap="nowrap"> strategy:</td><td class="diff_next"></td><td class="diff_header" id="to5_13">13</td><td nowrap="nowrap"> strategy:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_13">13</td><td nowrap="nowrap"> fail-fast: true</td><td class="diff_next"></td><td class="diff_header" id="to5_14">14</td><td nowrap="nowrap"> fail-fast: true</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_14">14</td><td nowrap="nowrap"> matrix:</td><td class="diff_next"></td><td class="diff_header" id="to5_15">15</td><td nowrap="nowrap"> matrix:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_15">15</td><td nowrap="nowrap"> include:</td><td class="diff_next"></td><td class="diff_header" id="to5_16">16</td><td nowrap="nowrap"> include:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_16">16</td><td nowrap="nowrap"> - add-paths: .</td><td class="diff_next"></td><td class="diff_header" id="to5_17">17</td><td nowrap="nowrap"> - add-paths: .</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_17">17</td><td nowrap="nowrap"> body: Use this to merge the changes to this repository.</td><td class="diff_next"></td><td class="diff_header" id="to5_18">18</td><td nowrap="nowrap"> body: Use this to merge the changes to this repository.</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_18">18</td><td nowrap="nowrap"> branch: cruft/update</td><td class="diff_next"></td><td class="diff_header" id="to5_19">19</td><td nowrap="nowrap"> branch: cruft/update</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_19">19</td><td nowrap="nowrap"> commit-message: "chore: accept new Cruft update"</td><td class="diff_next"></td><td class="diff_header" id="to5_20">20</td><td nowrap="nowrap"> commit-message: "chore: accept new Cruft update"</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_20">20</td><td nowrap="nowrap"> title: New updates detected with Cruft</td><td class="diff_next"></td><td class="diff_header" id="to5_21">21</td><td nowrap="nowrap"> title: New updates detected with Cruft</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_21">21</td><td nowrap="nowrap"> - add-paths: .cruft.json</td><td class="diff_next"></td><td class="diff_header" id="to5_22">22</td><td nowrap="nowrap"> - add-paths: .cruft.json</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_22">22</td><td nowrap="nowrap"> body: Use this to reject the changes in this repository.</td><td class="diff_next"></td><td class="diff_header" id="to5_23">23</td><td nowrap="nowrap"> body: Use this to reject the changes in this repository.</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_23">23</td><td nowrap="nowrap"> branch: cruft/reject</td><td class="diff_next"></td><td class="diff_header" id="to5_24">24</td><td nowrap="nowrap"> branch: cruft/reject</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_24">24</td><td nowrap="nowrap"> commit-message: "chore: reject new Cruft update"</td><td class="diff_next"></td><td class="diff_header" id="to5_25">25</td><td nowrap="nowrap"> commit-message: "chore: reject new Cruft update"</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_25">25</td><td nowrap="nowrap"> title: Reject new updates detected with Cruft</td><td class="diff_next"></td><td class="diff_header" id="to5_26">26</td><td nowrap="nowrap"> title: Reject new updates detected with Cruft</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_26">26</td><td nowrap="nowrap"> steps:</td><td class="diff_next"></td><td class="diff_header" id="to5_27">27</td><td nowrap="nowrap"> steps:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_27">27</td><td nowrap="nowrap"> - uses: actions/checkout@v3</td><td class="diff_next"></td><td class="diff_header" id="to5_28">28</td><td nowrap="nowrap"> - uses: actions/checkout@v3</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_28">28</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to5_29">29</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_29">29</td><td nowrap="nowrap"> - uses: actions/setup-python@v4</td><td class="diff_next"></td><td class="diff_header" id="to5_30">30</td><td nowrap="nowrap"> - uses: actions/setup-python@v4</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_30">30</td><td nowrap="nowrap"> with:</td><td class="diff_next"></td><td class="diff_header" id="to5_31">31</td><td nowrap="nowrap"> with:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_31">31</td><td nowrap="nowrap"> python-version: "3.10"</td><td class="diff_next"></td><td class="diff_header" id="to5_32">32</td><td nowrap="nowrap"> python-version: "3.10"</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_32">32</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to5_33">33</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_33">33</td><td nowrap="nowrap"> - name: Install Cruft</td><td class="diff_next"></td><td class="diff_header" id="to5_34">34</td><td nowrap="nowrap"> - name: Install Cruft</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_34">34</td><td nowrap="nowrap"> run: pip3 install cruft</td><td class="diff_next"></td><td class="diff_header" id="to5_35">35</td><td nowrap="nowrap"> run: pip3 install cruft</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_35">35</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to5_36">36</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_36">36</td><td nowrap="nowrap"> - name: Check if update is available</td><td class="diff_next"></td><td class="diff_header" id="to5_37">37</td><td nowrap="nowrap"> - name: Check if update is available</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_37">37</td><td nowrap="nowrap"> continue-on-error: false</td><td class="diff_next"></td><td class="diff_header" id="to5_38">38</td><td nowrap="nowrap"> continue-on-error: false</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_38">38</td><td nowrap="nowrap"> id: check</td><td class="diff_next"></td><td class="diff_header" id="to5_39">39</td><td nowrap="nowrap"> id: check</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_39">39</td><td nowrap="nowrap"> run: |</td><td class="diff_next"></td><td class="diff_header" id="to5_40">40</td><td nowrap="nowrap"> run: |</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_40">40</td><td nowrap="nowrap"> CHANGES=0</td><td class="diff_next"></td><td class="diff_header" id="to5_41">41</td><td nowrap="nowrap"> CHANGES=0</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_41">41</td><td nowrap="nowrap"> if [ -f .cruft.json ]; then</td><td class="diff_next"></td><td class="diff_header" id="to5_42">42</td><td nowrap="nowrap"> if [ -f .cruft.json ]; then</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_42">42</td><td nowrap="nowrap"> if ! cruft check; then</td><td class="diff_next"></td><td class="diff_header" id="to5_43">43</td><td nowrap="nowrap"> if ! cruft check; then</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_43">43</td><td nowrap="nowrap"> CHANGES=1</td><td class="diff_next"></td><td class="diff_header" id="to5_44">44</td><td nowrap="nowrap"> CHANGES=1</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_44">44</td><td nowrap="nowrap"> fi</td><td class="diff_next"></td><td class="diff_header" id="to5_45">45</td><td nowrap="nowrap"> fi</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_45">45</td><td nowrap="nowrap"> else</td><td class="diff_next"></td><td class="diff_header" id="to5_46">46</td><td nowrap="nowrap"> else</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_46">46</td><td nowrap="nowrap"> echo "No .cruft.json file"</td><td class="diff_next"></td><td class="diff_header" id="to5_47">47</td><td nowrap="nowrap"> echo "No .cruft.json file"</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_47">47</td><td nowrap="nowrap"> fi</td><td class="diff_next"></td><td class="diff_header" id="to5_48">48</td><td nowrap="nowrap"> fi</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_48">48</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to5_49">49</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_49">49</td><td nowrap="nowrap"> echo "has_changes=$CHANGES" >> "$GITHUB_OUTPUT"</td><td class="diff_next"></td><td class="diff_header" id="to5_50">50</td><td nowrap="nowrap"> echo "has_changes=$CHANGES" >> "$GITHUB_OUTPUT"</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_50">50</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to5_51">51</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_51">51</td><td nowrap="nowrap"> - name: Run update if available</td><td class="diff_next"></td><td class="diff_header" id="to5_52">52</td><td nowrap="nowrap"> - name: Run update if available</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_52">52</td><td nowrap="nowrap"> if: steps.check.outputs.has_changes == '1'</td><td class="diff_next"></td><td class="diff_header" id="to5_53">53</td><td nowrap="nowrap"> if: steps.check.outputs.has_changes == '1'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_53">53</td><td nowrap="nowrap"> run: |</td><td class="diff_next"></td><td class="diff_header" id="to5_54">54</td><td nowrap="nowrap"> run: |</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_54">54</td><td nowrap="nowrap"> git config --global user.email "[email protected]"</td><td class="diff_next"></td><td class="diff_header" id="to5_55">55</td><td nowrap="nowrap"> git config --global user.email "[email protected]"</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_55">55</td><td nowrap="nowrap"> git config --global user.name "GitHub"</td><td class="diff_next"></td><td class="diff_header" id="to5_56">56</td><td nowrap="nowrap"> git config --global user.name "GitHub"</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_56">56</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to5_57">57</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_57">57</td><td nowrap="nowrap"> cruft update --skip-apply-ask --refresh-private-variables</td><td class="diff_next"></td><td class="diff_header" id="to5_58">58</td><td nowrap="nowrap"> cruft update --skip-apply-ask --refresh-private-variables</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_58">58</td><td nowrap="nowrap"> git restore --staged .</td><td class="diff_next"></td><td class="diff_header" id="to5_59">59</td><td nowrap="nowrap"> git restore --staged .</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_59">59</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to5_60">60</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_60">60</td><td nowrap="nowrap"> - name: Create pull request</td><td class="diff_next"></td><td class="diff_header" id="to5_61">61</td><td nowrap="nowrap"> - name: Create pull request</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_61">61</td><td nowrap="nowrap"> if: steps.check.outputs.has_changes == '1'</td><td class="diff_next"></td><td class="diff_header" id="to5_62">62</td><td nowrap="nowrap"> if: steps.check.outputs.has_changes == '1'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_62">62</td><td nowrap="nowrap"> uses: peter-evans/create-pull-request@v4</td><td class="diff_next"></td><td class="diff_header" id="to5_63">63</td><td nowrap="nowrap"> uses: peter-evans/create-pull-request@v4</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_63">63</td><td nowrap="nowrap"> with:</td><td class="diff_next"></td><td class="diff_header" id="to5_64">64</td><td nowrap="nowrap"> with:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_64">64</td><td nowrap="nowrap"> token: ${{ secrets.GITHUB_TOKEN }}</td><td class="diff_next"></td><td class="diff_header" id="to5_65">65</td><td nowrap="nowrap"> token: ${{ secrets.GITHUB_TOKEN }}</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_65">65</td><td nowrap="nowrap"> add-paths: ${{ matrix.add-paths }}</td><td class="diff_next"></td><td class="diff_header" id="to5_66">66</td><td nowrap="nowrap"> add-paths: ${{ matrix.add-paths }}</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_66">66</td><td nowrap="nowrap"> commit-message: ${{ matrix.commit-message }}</td><td class="diff_next"></td><td class="diff_header" id="to5_67">67</td><td nowrap="nowrap"> commit-message: ${{ matrix.commit-message }}</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_67">67</td><td nowrap="nowrap"> branch: ${{ matrix.branch }}</td><td class="diff_next"></td><td class="diff_header" id="to5_68">68</td><td nowrap="nowrap"> branch: ${{ matrix.branch }}</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_68">68</td><td nowrap="nowrap"> delete-branch: true</td><td class="diff_next"></td><td class="diff_header" id="to5_69">69</td><td nowrap="nowrap"> delete-branch: true</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_69">69</td><td nowrap="nowrap"> branch-suffix: timestamp</td><td class="diff_next"></td><td class="diff_header" id="to5_70">70</td><td nowrap="nowrap"> branch-suffix: timestamp</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_70">70</td><td nowrap="nowrap"> title: ${{ matrix.title }}</td><td class="diff_next"></td><td class="diff_header" id="to5_71">71</td><td nowrap="nowrap"> title: ${{ matrix.title }}</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_71">71</td><td nowrap="nowrap"> body: |</td><td class="diff_next"></td><td class="diff_header" id="to5_72">72</td><td nowrap="nowrap"> body: |</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_72">72</td><td nowrap="nowrap"> This is an autogenerated PR. ${{ matrix.body }}</td><td class="diff_next"></td><td class="diff_header" id="to5_73">73</td><td nowrap="nowrap"> This is an autogenerated PR. ${{ matrix.body }}</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_73">73</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to5_74">74</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from5_74">74</td><td nowrap="nowrap"> [Cruft](https://cruft.github.io/cruft/) has detected updates from the Cookiecutter repository.</td><td class="diff_next"></td><td class="diff_header" id="to5_75">75</td><td nowrap="nowrap"> [Cruft](https://cruft.github.io/cruft/) has detected updates from the Cookiecutter repository.</td></tr> | |
</tbody> | |
</table> | |
<table class="diff" summary="Legends"> | |
<tr> <th colspan="2"> Legends </th> </tr> | |
<tr> <td> <table border="" summary="Colors"> | |
<tr><th> Colors </th> </tr> | |
<tr><td class="diff_add"> Added </td></tr> | |
<tr><td class="diff_chg">Changed</td> </tr> | |
<tr><td class="diff_sub">Deleted</td> </tr> | |
</table></td> | |
<td> <table border="" summary="Links"> | |
<tr><th colspan="2"> Links </th> </tr> | |
<tr><td>(f)irst change</td> </tr> | |
<tr><td>(n)ext change</td> </tr> | |
<tr><td>(t)op</td> </tr> | |
</table></td> </tr> | |
</table> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>/Users/kjaymiller/cookiecutters-relecloud/bmfbtfhwbqcbsrsmybaf_fastapi_cosmos_mongodb_aca/infra/core/database/cosmos/cosmos-pg-adapter.bicep</h1><hr /> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" | |
content="text/html; charset=utf-8" /> | |
<title></title> | |
<style type="text/css"> | |
table.diff {font-family:Courier; border:medium;} | |
.diff_header {background-color:#e0e0e0} | |
td.diff_header {text-align:right} | |
.diff_next {background-color:#c0c0c0} | |
.diff_add {background-color:#aaffaa} | |
.diff_chg {background-color:#ffff77} | |
.diff_sub {background-color:#ffaaaa} | |
</style> | |
</head> | |
<body> | |
<table class="diff" id="difflib_chg_to6__top" | |
cellspacing="0" cellpadding="0" rules="groups" > | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<tbody> | |
<tr><td class="diff_next"><a href="#difflib_chg_to6__0">f</a></td><td class="diff_header" id="from6_1">1</td><td nowrap="nowrap">param name string</td><td class="diff_next"><a href="#difflib_chg_to6__0">f</a></td><td class="diff_header" id="to6_1">1</td><td nowrap="nowrap">param name string</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_2">2</td><td nowrap="nowrap">param location string = resourceGroup().location</td><td class="diff_next"></td><td class="diff_header" id="to6_2">2</td><td nowrap="nowrap">param location string = resourceGroup().location</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_3">3</td><td nowrap="nowrap">param tags object = {}</td><td class="diff_next"></td><td class="diff_header" id="to6_3">3</td><td nowrap="nowrap">param tags object = {}</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_4">4</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to6_4">4</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_5">5</td><td nowrap="nowrap">param administratorLogin string</td><td class="diff_next"></td><td class="diff_header" id="to6_5">5</td><td nowrap="nowrap">param administratorLogin string</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_6">6</td><td nowrap="nowrap">@secure()</td><td class="diff_next"></td><td class="diff_header" id="to6_6">6</td><td nowrap="nowrap">@secure()</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_7">7</td><td nowrap="nowrap">param administratorLoginPassword string</td><td class="diff_next"></td><td class="diff_header" id="to6_7">7</td><td nowrap="nowrap">param administratorLoginPassword string</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_8">8</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to6_8">8</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_9">9</td><td nowrap="nowrap">param coordinatorServerEdition string</td><td class="diff_next"></td><td class="diff_header" id="to6_9">9</td><td nowrap="nowrap">param coordinatorServerEdition string</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_10">10</td><td nowrap="nowrap">param coordinatorStorageQuotainMb int</td><td class="diff_next"></td><td class="diff_header" id="to6_10">10</td><td nowrap="nowrap">param coordinatorStorageQuotainMb int</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_11">11</td><td nowrap="nowrap">param coordinatorVCores int</td><td class="diff_next"></td><td class="diff_header" id="to6_11">11</td><td nowrap="nowrap">param coordinatorVCores int</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_12">12</td><td nowrap="nowrap">param databaseName string</td><td class="diff_next"></td><td class="diff_header" id="to6_12">12</td><td nowrap="nowrap">param databaseName string</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_13">13</td><td nowrap="nowrap">param nodeCount int</td><td class="diff_next"></td><td class="diff_header" id="to6_13">13</td><td nowrap="nowrap">param nodeCount int</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_14">14</td><td nowrap="nowrap">param nodeVCores int</td><td class="diff_next"></td><td class="diff_header" id="to6_14">14</td><td nowrap="nowrap">param nodeVCores int</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_15">15</td><td nowrap="nowrap">param allowAzureIPsFirewall bool = false</td><td class="diff_next"></td><td class="diff_header" id="to6_15">15</td><td nowrap="nowrap">param allowAzureIPsFirewall bool = false</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_16">16</td><td nowrap="nowrap">param allowAllIPsFirewall bool = false</td><td class="diff_next"></td><td class="diff_header" id="to6_16">16</td><td nowrap="nowrap">param allowAllIPsFirewall bool = false</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_17">17</td><td nowrap="nowrap">param allowedSingleIPs array = []</td><td class="diff_next"></td><td class="diff_header" id="to6_17">17</td><td nowrap="nowrap">param allowedSingleIPs array = []</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_18">18</td><td nowrap="nowrap">param postgresqlVersion string</td><td class="diff_next"></td><td class="diff_header" id="to6_18">18</td><td nowrap="nowrap">param postgresqlVersion string</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_19">19</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to6_19">19</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_20">20</td><td nowrap="nowrap">resource postgresCluster 'Microsoft.DBforPostgreSQL/serverGroupsv2@2023-03-02-preview' = {</td><td class="diff_next"></td><td class="diff_header" id="to6_20">20</td><td nowrap="nowrap">resource postgresCluster 'Microsoft.DBforPostgreSQL/serverGroupsv2@2023-03-02-preview' = {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_21">21</td><td nowrap="nowrap"> name: name</td><td class="diff_next"></td><td class="diff_header" id="to6_21">21</td><td nowrap="nowrap"> name: name</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_22">22</td><td nowrap="nowrap"> location: location</td><td class="diff_next"></td><td class="diff_header" id="to6_22">22</td><td nowrap="nowrap"> location: location</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_23">23</td><td nowrap="nowrap"> tags: tags</td><td class="diff_next"></td><td class="diff_header" id="to6_23">23</td><td nowrap="nowrap"> tags: tags</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_24">24</td><td nowrap="nowrap"> properties: {</td><td class="diff_next"></td><td class="diff_header" id="to6_24">24</td><td nowrap="nowrap"> properties: {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_25">25</td><td nowrap="nowrap"> administratorLogin: administratorLogin</td><td class="diff_next"></td><td class="diff_header" id="to6_25">25</td><td nowrap="nowrap"> administratorLogin: administratorLogin</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_26">26</td><td nowrap="nowrap"> administratorLoginPassword: administratorLoginPassword</td><td class="diff_next"></td><td class="diff_header" id="to6_26">26</td><td nowrap="nowrap"> administratorLoginPassword: administratorLoginPassword</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_27">27</td><td nowrap="nowrap"> coordinatorServerEdition: coordinatorServerEdition</td><td class="diff_next"></td><td class="diff_header" id="to6_27">27</td><td nowrap="nowrap"> coordinatorServerEdition: coordinatorServerEdition</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_28">28</td><td nowrap="nowrap"> coordinatorStorageQuotaInMb: coordinatorStorageQuotainMb</td><td class="diff_next"></td><td class="diff_header" id="to6_28">28</td><td nowrap="nowrap"> coordinatorStorageQuotaInMb: coordinatorStorageQuotainMb</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_29">29</td><td nowrap="nowrap"> coordinatorVCores: coordinatorVCores</td><td class="diff_next"></td><td class="diff_header" id="to6_29">29</td><td nowrap="nowrap"> coordinatorVCores: coordinatorVCores</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_30">30</td><td nowrap="nowrap"> postgresqlVersion: postgresqlVersion</td><td class="diff_next"></td><td class="diff_header" id="to6_30">30</td><td nowrap="nowrap"> postgresqlVersion: postgresqlVersion</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_31">31</td><td nowrap="nowrap"> nodeCount: nodeCount</td><td class="diff_next"></td><td class="diff_header" id="to6_31">31</td><td nowrap="nowrap"> nodeCount: nodeCount</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_32">32</td><td nowrap="nowrap"> nodeVCores: nodeVCores</td><td class="diff_next"></td><td class="diff_header" id="to6_32">32</td><td nowrap="nowrap"> nodeVCores: nodeVCores</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_33">33</td><td nowrap="nowrap"> databaseName: databaseName</td><td class="diff_next"></td><td class="diff_header" id="to6_33">33</td><td nowrap="nowrap"> databaseName: databaseName</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_34">34</td><td nowrap="nowrap"> }</td><td class="diff_next"></td><td class="diff_header" id="to6_34">34</td><td nowrap="nowrap"> }</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_35">35</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to6_35">35</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_36">36</td><td nowrap="nowrap"> resource firewall_all 'firewallRules' = if (allowAllIPsFirewall) {</td><td class="diff_next"></td><td class="diff_header" id="to6_36">36</td><td nowrap="nowrap"> resource firewall_all 'firewallRules' = if (allowAllIPsFirewall) {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_37">37</td><td nowrap="nowrap"> name: 'allow-all-IPs'</td><td class="diff_next"></td><td class="diff_header" id="to6_37">37</td><td nowrap="nowrap"> name: 'allow-all-IPs'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_38">38</td><td nowrap="nowrap"> properties: {</td><td class="diff_next"></td><td class="diff_header" id="to6_38">38</td><td nowrap="nowrap"> properties: {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_39">39</td><td nowrap="nowrap"> startIpAddress: '0.0.0.0'</td><td class="diff_next"></td><td class="diff_header" id="to6_39">39</td><td nowrap="nowrap"> startIpAddress: '0.0.0.0'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_40">40</td><td nowrap="nowrap"> endIpAddress: '255.255.255.255'</td><td class="diff_next"></td><td class="diff_header" id="to6_40">40</td><td nowrap="nowrap"> endIpAddress: '255.255.255.255'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_41">41</td><td nowrap="nowrap"> }</td><td class="diff_next"></td><td class="diff_header" id="to6_41">41</td><td nowrap="nowrap"> }</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_42">42</td><td nowrap="nowrap"> }</td><td class="diff_next"></td><td class="diff_header" id="to6_42">42</td><td nowrap="nowrap"> }</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_43">43</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to6_43">43</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_44">44</td><td nowrap="nowrap"> resource firewall_azure 'firewallRules' = if (allowAzureIPsFirewall) {</td><td class="diff_next"></td><td class="diff_header" id="to6_44">44</td><td nowrap="nowrap"> resource firewall_azure 'firewallRules' = if (allowAzureIPsFirewall) {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_45">45</td><td nowrap="nowrap"> name: 'allow-all-azure-internal-IPs'</td><td class="diff_next"></td><td class="diff_header" id="to6_45">45</td><td nowrap="nowrap"> name: 'allow-all-azure-internal-IPs'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_46">46</td><td nowrap="nowrap"> properties: {</td><td class="diff_next"></td><td class="diff_header" id="to6_46">46</td><td nowrap="nowrap"> properties: {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_47">47</td><td nowrap="nowrap"> startIpAddress: '0.0.0.0'</td><td class="diff_next"></td><td class="diff_header" id="to6_47">47</td><td nowrap="nowrap"> startIpAddress: '0.0.0.0'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_48">48</td><td nowrap="nowrap"> endIpAddress: '0.0.0.0'</td><td class="diff_next"></td><td class="diff_header" id="to6_48">48</td><td nowrap="nowrap"> endIpAddress: '0.0.0.0'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_49">49</td><td nowrap="nowrap"> }</td><td class="diff_next"></td><td class="diff_header" id="to6_49">49</td><td nowrap="nowrap"> }</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_50">50</td><td nowrap="nowrap"> }</td><td class="diff_next"></td><td class="diff_header" id="to6_50">50</td><td nowrap="nowrap"> }</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_51">51</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to6_51">51</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_52">52</td><td nowrap="nowrap"> resource firewall_single 'firewallRules' = [for ip in allowedSingleIPs: {</td><td class="diff_next"></td><td class="diff_header" id="to6_52">52</td><td nowrap="nowrap"> resource firewall_single 'firewallRules' = [for ip in allowedSingleIPs: {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_53">53</td><td nowrap="nowrap"> name: 'allow-single-${replace(ip, '.', '')}'</td><td class="diff_next"></td><td class="diff_header" id="to6_53">53</td><td nowrap="nowrap"> name: 'allow-single-${replace(ip, '.', '')}'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_54">54</td><td nowrap="nowrap"> properties: {</td><td class="diff_next"></td><td class="diff_header" id="to6_54">54</td><td nowrap="nowrap"> properties: {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_55">55</td><td nowrap="nowrap"> startIpAddress: ip</td><td class="diff_next"></td><td class="diff_header" id="to6_55">55</td><td nowrap="nowrap"> startIpAddress: ip</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_56">56</td><td nowrap="nowrap"> endIpAddress: ip</td><td class="diff_next"></td><td class="diff_header" id="to6_56">56</td><td nowrap="nowrap"> endIpAddress: ip</td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to6__0"></td><td class="diff_header" id="from6_57">57</td><td nowrap="nowrap"> }</td><td class="diff_next"></td><td class="diff_header" id="to6_57">57</td><td nowrap="nowrap"> }</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_58">58</td><td nowrap="nowrap"> }]</td><td class="diff_next"></td><td class="diff_header" id="to6_58">58</td><td nowrap="nowrap"> }]</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_59">59</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to6_59">59</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_60">60</td><td nowrap="nowrap">}</td><td class="diff_next"></td><td class="diff_header" id="to6_60">60</td><td nowrap="nowrap">}</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from6_61">61</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to6_61">61</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to6__top">t</a></td><td class="diff_header" id="from6_62">62</td><td nowrap="nowrap">output <span class="diff_chg">domain</span>N<span class="diff_chg">ame</span> string = postgresCluster.properties.serverNames[0].fullyQualifiedDomainName</td><td class="diff_next"><a href="#difflib_chg_to6__top">t</a></td><td class="diff_header" id="to6_62">62</td><td nowrap="nowrap">output <span class="diff_chg">DOMAI</span>N<span class="diff_chg">_NAME</span> string = postgresCluster.properties.serverNames[0].fullyQualifiedDomainName</td></tr> | |
</tbody> | |
</table> | |
<table class="diff" summary="Legends"> | |
<tr> <th colspan="2"> Legends </th> </tr> | |
<tr> <td> <table border="" summary="Colors"> | |
<tr><th> Colors </th> </tr> | |
<tr><td class="diff_add"> Added </td></tr> | |
<tr><td class="diff_chg">Changed</td> </tr> | |
<tr><td class="diff_sub">Deleted</td> </tr> | |
</table></td> | |
<td> <table border="" summary="Links"> | |
<tr><th colspan="2"> Links </th> </tr> | |
<tr><td>(f)irst change</td> </tr> | |
<tr><td>(n)ext change</td> </tr> | |
<tr><td>(t)op</td> </tr> | |
</table></td> </tr> | |
</table> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>/Users/kjaymiller/cookiecutters-relecloud/bmfbtfhwbqcbsrsmybaf_fastapi_cosmos_mongodb_aca/infra/core/database/postgresql/flexibleserver.bicep</h1><hr /> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" | |
content="text/html; charset=utf-8" /> | |
<title></title> | |
<style type="text/css"> | |
table.diff {font-family:Courier; border:medium;} | |
.diff_header {background-color:#e0e0e0} | |
td.diff_header {text-align:right} | |
.diff_next {background-color:#c0c0c0} | |
.diff_add {background-color:#aaffaa} | |
.diff_chg {background-color:#ffff77} | |
.diff_sub {background-color:#ffaaaa} | |
</style> | |
</head> | |
<body> | |
<table class="diff" id="difflib_chg_to7__top" | |
cellspacing="0" cellpadding="0" rules="groups" > | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<tbody> | |
<tr><td class="diff_next"><a href="#difflib_chg_to7__0">f</a></td><td class="diff_header" id="from7_1">1</td><td nowrap="nowrap">param name string</td><td class="diff_next"><a href="#difflib_chg_to7__0">f</a></td><td class="diff_header" id="to7_1">1</td><td nowrap="nowrap">param name string</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_2">2</td><td nowrap="nowrap">param location string = resourceGroup().location</td><td class="diff_next"></td><td class="diff_header" id="to7_2">2</td><td nowrap="nowrap">param location string = resourceGroup().location</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_3">3</td><td nowrap="nowrap">param tags object = {}</td><td class="diff_next"></td><td class="diff_header" id="to7_3">3</td><td nowrap="nowrap">param tags object = {}</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_4">4</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to7_4">4</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_5">5</td><td nowrap="nowrap">param sku object</td><td class="diff_next"></td><td class="diff_header" id="to7_5">5</td><td nowrap="nowrap">param sku object</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_6">6</td><td nowrap="nowrap">param storage object</td><td class="diff_next"></td><td class="diff_header" id="to7_6">6</td><td nowrap="nowrap">param storage object</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_7">7</td><td nowrap="nowrap">param administratorLogin string</td><td class="diff_next"></td><td class="diff_header" id="to7_7">7</td><td nowrap="nowrap">param administratorLogin string</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_8">8</td><td nowrap="nowrap">@secure()</td><td class="diff_next"></td><td class="diff_header" id="to7_8">8</td><td nowrap="nowrap">@secure()</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_9">9</td><td nowrap="nowrap">param administratorLoginPassword string</td><td class="diff_next"></td><td class="diff_header" id="to7_9">9</td><td nowrap="nowrap">param administratorLoginPassword string</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_10">10</td><td nowrap="nowrap">param databaseNames array = []</td><td class="diff_next"></td><td class="diff_header" id="to7_10">10</td><td nowrap="nowrap">param databaseNames array = []</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_11">11</td><td nowrap="nowrap">param allowAzureIPsFirewall bool = false</td><td class="diff_next"></td><td class="diff_header" id="to7_11">11</td><td nowrap="nowrap">param allowAzureIPsFirewall bool = false</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_12">12</td><td nowrap="nowrap">param allowAllIPsFirewall bool = false</td><td class="diff_next"></td><td class="diff_header" id="to7_12">12</td><td nowrap="nowrap">param allowAllIPsFirewall bool = false</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_13">13</td><td nowrap="nowrap">param allowedSingleIPs array = []</td><td class="diff_next"></td><td class="diff_header" id="to7_13">13</td><td nowrap="nowrap">param allowedSingleIPs array = []</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_14">14</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to7_14">14</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_15">15</td><td nowrap="nowrap">// PostgreSQL version</td><td class="diff_next"></td><td class="diff_header" id="to7_15">15</td><td nowrap="nowrap">// PostgreSQL version</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_16">16</td><td nowrap="nowrap">param version string</td><td class="diff_next"></td><td class="diff_header" id="to7_16">16</td><td nowrap="nowrap">param version string</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_17">17</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to7_17">17</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_18">18</td><td nowrap="nowrap">// Latest official version 2022-12-01 does not have Bicep types available</td><td class="diff_next"></td><td class="diff_header" id="to7_18">18</td><td nowrap="nowrap">// Latest official version 2022-12-01 does not have Bicep types available</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_19">19</td><td nowrap="nowrap">resource postgresServer 'Microsoft.DBforPostgreSQL/flexibleServers@2022-12-01' = {</td><td class="diff_next"></td><td class="diff_header" id="to7_19">19</td><td nowrap="nowrap">resource postgresServer 'Microsoft.DBforPostgreSQL/flexibleServers@2022-12-01' = {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_20">20</td><td nowrap="nowrap"> location: location</td><td class="diff_next"></td><td class="diff_header" id="to7_20">20</td><td nowrap="nowrap"> location: location</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_21">21</td><td nowrap="nowrap"> tags: tags</td><td class="diff_next"></td><td class="diff_header" id="to7_21">21</td><td nowrap="nowrap"> tags: tags</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_22">22</td><td nowrap="nowrap"> name: name</td><td class="diff_next"></td><td class="diff_header" id="to7_22">22</td><td nowrap="nowrap"> name: name</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_23">23</td><td nowrap="nowrap"> sku: sku</td><td class="diff_next"></td><td class="diff_header" id="to7_23">23</td><td nowrap="nowrap"> sku: sku</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_24">24</td><td nowrap="nowrap"> properties: {</td><td class="diff_next"></td><td class="diff_header" id="to7_24">24</td><td nowrap="nowrap"> properties: {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_25">25</td><td nowrap="nowrap"> version: version</td><td class="diff_next"></td><td class="diff_header" id="to7_25">25</td><td nowrap="nowrap"> version: version</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_26">26</td><td nowrap="nowrap"> administratorLogin: administratorLogin</td><td class="diff_next"></td><td class="diff_header" id="to7_26">26</td><td nowrap="nowrap"> administratorLogin: administratorLogin</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_27">27</td><td nowrap="nowrap"> administratorLoginPassword: administratorLoginPassword</td><td class="diff_next"></td><td class="diff_header" id="to7_27">27</td><td nowrap="nowrap"> administratorLoginPassword: administratorLoginPassword</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_28">28</td><td nowrap="nowrap"> storage: storage</td><td class="diff_next"></td><td class="diff_header" id="to7_28">28</td><td nowrap="nowrap"> storage: storage</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_29">29</td><td nowrap="nowrap"> highAvailability: {</td><td class="diff_next"></td><td class="diff_header" id="to7_29">29</td><td nowrap="nowrap"> highAvailability: {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_30">30</td><td nowrap="nowrap"> mode: 'Disabled'</td><td class="diff_next"></td><td class="diff_header" id="to7_30">30</td><td nowrap="nowrap"> mode: 'Disabled'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_31">31</td><td nowrap="nowrap"> }</td><td class="diff_next"></td><td class="diff_header" id="to7_31">31</td><td nowrap="nowrap"> }</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_32">32</td><td nowrap="nowrap"> }</td><td class="diff_next"></td><td class="diff_header" id="to7_32">32</td><td nowrap="nowrap"> }</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_33">33</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to7_33">33</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_34">34</td><td nowrap="nowrap"> resource database 'databases' = [for name in databaseNames: {</td><td class="diff_next"></td><td class="diff_header" id="to7_34">34</td><td nowrap="nowrap"> resource database 'databases' = [for name in databaseNames: {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_35">35</td><td nowrap="nowrap"> name: name</td><td class="diff_next"></td><td class="diff_header" id="to7_35">35</td><td nowrap="nowrap"> name: name</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_36">36</td><td nowrap="nowrap"> }]</td><td class="diff_next"></td><td class="diff_header" id="to7_36">36</td><td nowrap="nowrap"> }]</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_37">37</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to7_37">37</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_38">38</td><td nowrap="nowrap"> resource firewall_all 'firewallRules' = if (allowAllIPsFirewall) {</td><td class="diff_next"></td><td class="diff_header" id="to7_38">38</td><td nowrap="nowrap"> resource firewall_all 'firewallRules' = if (allowAllIPsFirewall) {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_39">39</td><td nowrap="nowrap"> name: 'allow-all-IPs'</td><td class="diff_next"></td><td class="diff_header" id="to7_39">39</td><td nowrap="nowrap"> name: 'allow-all-IPs'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_40">40</td><td nowrap="nowrap"> properties: {</td><td class="diff_next"></td><td class="diff_header" id="to7_40">40</td><td nowrap="nowrap"> properties: {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_41">41</td><td nowrap="nowrap"> startIpAddress: '0.0.0.0'</td><td class="diff_next"></td><td class="diff_header" id="to7_41">41</td><td nowrap="nowrap"> startIpAddress: '0.0.0.0'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_42">42</td><td nowrap="nowrap"> endIpAddress: '255.255.255.255'</td><td class="diff_next"></td><td class="diff_header" id="to7_42">42</td><td nowrap="nowrap"> endIpAddress: '255.255.255.255'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_43">43</td><td nowrap="nowrap"> }</td><td class="diff_next"></td><td class="diff_header" id="to7_43">43</td><td nowrap="nowrap"> }</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_44">44</td><td nowrap="nowrap"> }</td><td class="diff_next"></td><td class="diff_header" id="to7_44">44</td><td nowrap="nowrap"> }</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_45">45</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to7_45">45</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_46">46</td><td nowrap="nowrap"> resource firewall_azure 'firewallRules' = if (allowAzureIPsFirewall) {</td><td class="diff_next"></td><td class="diff_header" id="to7_46">46</td><td nowrap="nowrap"> resource firewall_azure 'firewallRules' = if (allowAzureIPsFirewall) {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_47">47</td><td nowrap="nowrap"> name: 'allow-all-azure-internal-IPs'</td><td class="diff_next"></td><td class="diff_header" id="to7_47">47</td><td nowrap="nowrap"> name: 'allow-all-azure-internal-IPs'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_48">48</td><td nowrap="nowrap"> properties: {</td><td class="diff_next"></td><td class="diff_header" id="to7_48">48</td><td nowrap="nowrap"> properties: {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_49">49</td><td nowrap="nowrap"> startIpAddress: '0.0.0.0'</td><td class="diff_next"></td><td class="diff_header" id="to7_49">49</td><td nowrap="nowrap"> startIpAddress: '0.0.0.0'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_50">50</td><td nowrap="nowrap"> endIpAddress: '0.0.0.0'</td><td class="diff_next"></td><td class="diff_header" id="to7_50">50</td><td nowrap="nowrap"> endIpAddress: '0.0.0.0'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_51">51</td><td nowrap="nowrap"> }</td><td class="diff_next"></td><td class="diff_header" id="to7_51">51</td><td nowrap="nowrap"> }</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_52">52</td><td nowrap="nowrap"> }</td><td class="diff_next"></td><td class="diff_header" id="to7_52">52</td><td nowrap="nowrap"> }</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_53">53</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to7_53">53</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_54">54</td><td nowrap="nowrap"> resource firewall_single 'firewallRules' = [for ip in allowedSingleIPs: {</td><td class="diff_next"></td><td class="diff_header" id="to7_54">54</td><td nowrap="nowrap"> resource firewall_single 'firewallRules' = [for ip in allowedSingleIPs: {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_55">55</td><td nowrap="nowrap"> name: 'allow-single-${replace(ip, '.', '')}'</td><td class="diff_next"></td><td class="diff_header" id="to7_55">55</td><td nowrap="nowrap"> name: 'allow-single-${replace(ip, '.', '')}'</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_56">56</td><td nowrap="nowrap"> properties: {</td><td class="diff_next"></td><td class="diff_header" id="to7_56">56</td><td nowrap="nowrap"> properties: {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_57">57</td><td nowrap="nowrap"> startIpAddress: ip</td><td class="diff_next"></td><td class="diff_header" id="to7_57">57</td><td nowrap="nowrap"> startIpAddress: ip</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_58">58</td><td nowrap="nowrap"> endIpAddress: ip</td><td class="diff_next"></td><td class="diff_header" id="to7_58">58</td><td nowrap="nowrap"> endIpAddress: ip</td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to7__0"></td><td class="diff_header" id="from7_59">59</td><td nowrap="nowrap"> }</td><td class="diff_next"></td><td class="diff_header" id="to7_59">59</td><td nowrap="nowrap"> }</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_60">60</td><td nowrap="nowrap"> }]</td><td class="diff_next"></td><td class="diff_header" id="to7_60">60</td><td nowrap="nowrap"> }]</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_61">61</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to7_61">61</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_62">62</td><td nowrap="nowrap">}</td><td class="diff_next"></td><td class="diff_header" id="to7_62">62</td><td nowrap="nowrap">}</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_63">63</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to7_63">63</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to7__top">t</a></td><td class="diff_header" id="from7_64">64</td><td nowrap="nowrap">output <span class="diff_chg">domain</span>N<span class="diff_chg">ame</span> string = postgresServer.properties.fullyQualifiedDomainName</td><td class="diff_next"><a href="#difflib_chg_to7__top">t</a></td><td class="diff_header" id="to7_64">64</td><td nowrap="nowrap">output <span class="diff_chg">DOMAI</span>N<span class="diff_chg">_NAME</span> string = postgresServer.properties.fullyQualifiedDomainName</td></tr> | |
</tbody> | |
</table> | |
<table class="diff" summary="Legends"> | |
<tr> <th colspan="2"> Legends </th> </tr> | |
<tr> <td> <table border="" summary="Colors"> | |
<tr><th> Colors </th> </tr> | |
<tr><td class="diff_add"> Added </td></tr> | |
<tr><td class="diff_chg">Changed</td> </tr> | |
<tr><td class="diff_sub">Deleted</td> </tr> | |
</table></td> | |
<td> <table border="" summary="Links"> | |
<tr><th colspan="2"> Links </th> </tr> | |
<tr><td>(f)irst change</td> </tr> | |
<tr><td>(n)ext change</td> </tr> | |
<tr><td>(t)op</td> </tr> | |
</table></td> </tr> | |
</table> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>/Users/kjaymiller/cookiecutters-relecloud/bmfbtfhwbqcbsrsmybaf_fastapi_cosmos_mongodb_aca/src/entrypoint.sh</h1><hr /> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" | |
content="text/html; charset=utf-8" /> | |
<title></title> | |
<style type="text/css"> | |
table.diff {font-family:Courier; border:medium;} | |
.diff_header {background-color:#e0e0e0} | |
td.diff_header {text-align:right} | |
.diff_next {background-color:#c0c0c0} | |
.diff_add {background-color:#aaffaa} | |
.diff_chg {background-color:#ffff77} | |
.diff_sub {background-color:#ffaaaa} | |
</style> | |
</head> | |
<body> | |
<table class="diff" id="difflib_chg_to7__top" | |
cellspacing="0" cellpadding="0" rules="groups" > | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<tbody> | |
<tr><td class="diff_next" id="difflib_chg_to7__0"><a href="#difflib_chg_to7__0">f</a></td><td class="diff_header" id="from7_1">1</td><td nowrap="nowrap">#!/bin/bash</td><td class="diff_next"><a href="#difflib_chg_to7__0">f</a></td><td class="diff_header" id="to7_1">1</td><td nowrap="nowrap">#!/bin/bash</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_2">2</td><td nowrap="nowrap">set -e</td><td class="diff_next"></td><td class="diff_header" id="to7_2">2</td><td nowrap="nowrap">set -e</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_3">3</td><td nowrap="nowrap">python3 -m pip install --upgrade pip</td><td class="diff_next"></td><td class="diff_header" id="to7_3">3</td><td nowrap="nowrap">python3 -m pip install --upgrade pip</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_4">4</td><td nowrap="nowrap">python3 -m pip install -e .</td><td class="diff_next"></td><td class="diff_header" id="to7_4">4</td><td nowrap="nowrap">python3 -m pip install -e .</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to7__top">t</a></td><td class="diff_header" id="from7_5">5</td><td nowrap="nowrap">python3 fastapi_app/seed<span class="diff_chg">_data</span>.py</td><td class="diff_next"><a href="#difflib_chg_to7__top">t</a></td><td class="diff_header" id="to7_5">5</td><td nowrap="nowrap">python3 fastapi_app/seed<span class="diff_chg">er</span>.py</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from7_6">6</td><td nowrap="nowrap">python3 -m gunicorn fastapi_app:app</td><td class="diff_next"></td><td class="diff_header" id="to7_6">6</td><td nowrap="nowrap">python3 -m gunicorn fastapi_app:app</td></tr> | |
</tbody> | |
</table> | |
<table class="diff" summary="Legends"> | |
<tr> <th colspan="2"> Legends </th> </tr> | |
<tr> <td> <table border="" summary="Colors"> | |
<tr><th> Colors </th> </tr> | |
<tr><td class="diff_add"> Added </td></tr> | |
<tr><td class="diff_chg">Changed</td> </tr> | |
<tr><td class="diff_sub">Deleted</td> </tr> | |
</table></td> | |
<td> <table border="" summary="Links"> | |
<tr><th colspan="2"> Links </th> </tr> | |
<tr><td>(f)irst change</td> </tr> | |
<tr><td>(n)ext change</td> </tr> | |
<tr><td>(t)op</td> </tr> | |
</table></td> </tr> | |
</table> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>/Users/kjaymiller/cookiecutters-relecloud/bmfbtfhwbqcbsrsmybaf_fastapi_cosmos_mongodb_aca/src/pyproject.toml</h1><hr /> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" | |
content="text/html; charset=utf-8" /> | |
<title></title> | |
<style type="text/css"> | |
table.diff {font-family:Courier; border:medium;} | |
.diff_header {background-color:#e0e0e0} | |
td.diff_header {text-align:right} | |
.diff_next {background-color:#c0c0c0} | |
.diff_add {background-color:#aaffaa} | |
.diff_chg {background-color:#ffff77} | |
.diff_sub {background-color:#ffaaaa} | |
</style> | |
</head> | |
<body> | |
<table class="diff" id="difflib_chg_to8__top" | |
cellspacing="0" cellpadding="0" rules="groups" > | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<tbody> | |
<tr><td class="diff_next" id="difflib_chg_to8__0"><a href="#difflib_chg_to8__0">f</a></td><td class="diff_header" id="from8_1">1</td><td nowrap="nowrap">[project]</td><td class="diff_next"><a href="#difflib_chg_to8__0">f</a></td><td class="diff_header" id="to8_1">1</td><td nowrap="nowrap">[project]</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from8_2">2</td><td nowrap="nowrap">name = "fastapi_app"</td><td class="diff_next"></td><td class="diff_header" id="to8_2">2</td><td nowrap="nowrap">name = "fastapi_app"</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from8_3">3</td><td nowrap="nowrap">version = "1.0.0"</td><td class="diff_next"></td><td class="diff_header" id="to8_3">3</td><td nowrap="nowrap">version = "1.0.0"</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from8_4">4</td><td nowrap="nowrap">description = "Create a relecloud demo application with fastapi and cosmos-mongodb"</td><td class="diff_next"></td><td class="diff_header" id="to8_4">4</td><td nowrap="nowrap">description = "Create a relecloud demo application with fastapi and cosmos-mongodb"</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from8_5">5</td><td nowrap="nowrap">dependencies = [</td><td class="diff_next"></td><td class="diff_header" id="to8_5">5</td><td nowrap="nowrap">dependencies = [</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to8__top">t</a></td><td class="diff_header" id="from8_6">6</td><td nowrap="nowrap"> "fastapi<span class="diff_sub">==0.100.1</span>",</td><td class="diff_next"><a href="#difflib_chg_to8__top">t</a></td><td class="diff_header" id="to8_6">6</td><td nowrap="nowrap"> "fastapi",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from8_7">7</td><td nowrap="nowrap"> "jinja2<span class="diff_sub">==3.1.2</span>",</td><td class="diff_next"></td><td class="diff_header" id="to8_7">7</td><td nowrap="nowrap"> "jinja2",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from8_8">8</td><td nowrap="nowrap"> "python-multipart<span class="diff_sub">==0.0.6</span>",</td><td class="diff_next"></td><td class="diff_header" id="to8_8">8</td><td nowrap="nowrap"> "python-multipart",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from8_9">9</td><td nowrap="nowrap"> "beanie<span class="diff_sub">==1.21.0</span>",</td><td class="diff_next"></td><td class="diff_header" id="to8_9">9</td><td nowrap="nowrap"> "beanie",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from8_10">10</td><td nowrap="nowrap"> "motor<span class="diff_sub">==3.3.1</span>",</td><td class="diff_next"></td><td class="diff_header" id="to8_10">10</td><td nowrap="nowrap"> "motor",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from8_11">11</td><td nowrap="nowrap"><span class="diff_sub"> "pydantic==2.3.0",</span></td><td class="diff_next"></td><td class="diff_header" id="to8_11">11</td><td nowrap="nowrap"><span class="diff_add"> "pydantic[email]",</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from8_12">12</td><td nowrap="nowrap"> "uvicorn[standard]<span class="diff_sub">==0.23.2</span>",</td><td class="diff_next"></td><td class="diff_header" id="to8_12">12</td><td nowrap="nowrap"> "uvicorn[standard]",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from8_13">13</td><td nowrap="nowrap">]</td><td class="diff_next"></td><td class="diff_header" id="to8_13">13</td><td nowrap="nowrap">]</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from8_14">14</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to8_14">14</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from8_15">15</td><td nowrap="nowrap">[build-system]</td><td class="diff_next"></td><td class="diff_header" id="to8_15">15</td><td nowrap="nowrap">[build-system]</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from8_16">16</td><td nowrap="nowrap">requires = ["flit_core<4"]</td><td class="diff_next"></td><td class="diff_header" id="to8_16">16</td><td nowrap="nowrap">requires = ["flit_core<4"]</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from8_17">17</td><td nowrap="nowrap">build-backend = "flit_core.buildapi"</td><td class="diff_next"></td><td class="diff_header" id="to8_17">17</td><td nowrap="nowrap">build-backend = "flit_core.buildapi"</td></tr> | |
</tbody> | |
</table> | |
<table class="diff" summary="Legends"> | |
<tr> <th colspan="2"> Legends </th> </tr> | |
<tr> <td> <table border="" summary="Colors"> | |
<tr><th> Colors </th> </tr> | |
<tr><td class="diff_add"> Added </td></tr> | |
<tr><td class="diff_chg">Changed</td> </tr> | |
<tr><td class="diff_sub">Deleted</td> </tr> | |
</table></td> | |
<td> <table border="" summary="Links"> | |
<tr><th colspan="2"> Links </th> </tr> | |
<tr><td>(f)irst change</td> </tr> | |
<tr><td>(n)ext change</td> </tr> | |
<tr><td>(t)op</td> </tr> | |
</table></td> </tr> | |
</table> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>/Users/kjaymiller/cookiecutters-relecloud/bmfbtfhwbqcbsrsmybaf_fastapi_cosmos_mongodb_aca/src/fastapi_app/app.py</h1><hr /> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" | |
content="text/html; charset=utf-8" /> | |
<title></title> | |
<style type="text/css"> | |
table.diff {font-family:Courier; border:medium;} | |
.diff_header {background-color:#e0e0e0} | |
td.diff_header {text-align:right} | |
.diff_next {background-color:#c0c0c0} | |
.diff_add {background-color:#aaffaa} | |
.diff_chg {background-color:#ffff77} | |
.diff_sub {background-color:#ffaaaa} | |
</style> | |
</head> | |
<body> | |
<table class="diff" id="difflib_chg_to9__top" | |
cellspacing="0" cellpadding="0" rules="groups" > | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<tbody> | |
<tr><td class="diff_next"><a href="#difflib_chg_to9__0">f</a></td><td class="diff_header" id="from9_1">1</td><td nowrap="nowrap">import os</td><td class="diff_next"><a href="#difflib_chg_to9__0">f</a></td><td class="diff_header" id="to9_1">1</td><td nowrap="nowrap">import os</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_2">2</td><td nowrap="nowrap">import pathlib</td><td class="diff_next"></td><td class="diff_header" id="to9_2">2</td><td nowrap="nowrap">import pathlib</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_3">3</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_3">3</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_4">4</td><td nowrap="nowrap">from fastapi import FastAPI, Request</td><td class="diff_next"></td><td class="diff_header" id="to9_4">4</td><td nowrap="nowrap">from fastapi import FastAPI, Request</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_5">5</td><td nowrap="nowrap">from fastapi.responses import HTMLResponse</td><td class="diff_next"></td><td class="diff_header" id="to9_5">5</td><td nowrap="nowrap">from fastapi.responses import HTMLResponse</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_6">6</td><td nowrap="nowrap">from fastapi.staticfiles import StaticFiles</td><td class="diff_next"></td><td class="diff_header" id="to9_6">6</td><td nowrap="nowrap">from fastapi.staticfiles import StaticFiles</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_7">7</td><td nowrap="nowrap">from fastapi.templating import Jinja2Templates</td><td class="diff_next"></td><td class="diff_header" id="to9_7">7</td><td nowrap="nowrap">from fastapi.templating import Jinja2Templates</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_8">8</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_8">8</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to9__0"></td><td class="diff_header" id="from9_9">9</td><td nowrap="nowrap">from .models import Cruise, Destination, InfoRequest, init_db</td><td class="diff_next"></td><td class="diff_header" id="to9_9">9</td><td nowrap="nowrap">from .models import Cruise, Destination, InfoRequest, init_db</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_10">10</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_10">10</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_11">11</td><td nowrap="nowrap">if os.environ.get("RUNNING_IN_PRODUCTION"):</td><td class="diff_next"></td><td class="diff_header" id="to9_11">11</td><td nowrap="nowrap">if os.environ.get("RUNNING_IN_PRODUCTION"):</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_12">12</td><td nowrap="nowrap"> DATABASE_URI = os.environ.get("AZURE_COSMOS_CONNECTION_STRING")</td><td class="diff_next"></td><td class="diff_header" id="to9_12">12</td><td nowrap="nowrap"> DATABASE_URI = os.environ.get("AZURE_COSMOS_CONNECTION_STRING")</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_13">13</td><td nowrap="nowrap">else:</td><td class="diff_next"></td><td class="diff_header" id="to9_13">13</td><td nowrap="nowrap">else:</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to9__1">n</a></td><td class="diff_header" id="from9_14">14</td><td nowrap="nowrap"><span class="diff_sub"> dbuser = os.environ["MONGODB_USERNAME"]</span></td><td class="diff_next"><a href="#difflib_chg_to9__1">n</a></td><td class="diff_header" id="to9_14">14</td><td nowrap="nowrap"><span class="diff_add"> DATABASE_URI = os.environ.get("DATABASE_URI")</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_15">15</td><td nowrap="nowrap"><span class="diff_sub"> dbpass = os.environ["MONGODB_PASSWORD"]</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_16">16</td><td nowrap="nowrap"><span class="diff_sub"> dbhost = os.environ["MONGODB_HOST"]</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_17">17</td><td nowrap="nowrap"><span class="diff_sub"> dbname = os.environ["MONGODB_DATABASE"]</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_18">18</td><td nowrap="nowrap"><span class="diff_sub"> DATABASE_URI = f"mongodb://{dbuser}:{dbpass}@{dbhost}/{dbname}?authSource=admin"</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_19">19</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_15">15</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_20">20</td><td nowrap="nowrap">app = FastAPI()</td><td class="diff_next"></td><td class="diff_header" id="to9_16">16</td><td nowrap="nowrap">app = FastAPI()</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_21">21</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_17">17</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_22">22</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_18">18</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_23">23</td><td nowrap="nowrap">@app.on_event("startup")</td><td class="diff_next"></td><td class="diff_header" id="to9_19">19</td><td nowrap="nowrap">@app.on_event("startup")</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_24">24</td><td nowrap="nowrap">async def startup():</td><td class="diff_next"></td><td class="diff_header" id="to9_20">20</td><td nowrap="nowrap">async def startup():</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_25">25</td><td nowrap="nowrap"> await init_db()</td><td class="diff_next"></td><td class="diff_header" id="to9_21">21</td><td nowrap="nowrap"> await init_db()</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_26">26</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_22">22</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_27">27</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_23">23</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_28">28</td><td nowrap="nowrap">parent_path = pathlib.Path(__file__).parent.parent</td><td class="diff_next"></td><td class="diff_header" id="to9_24">24</td><td nowrap="nowrap">parent_path = pathlib.Path(__file__).parent.parent</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_29">29</td><td nowrap="nowrap">app.mount("/mount", StaticFiles(directory=parent_path / "static"), name="static")</td><td class="diff_next"></td><td class="diff_header" id="to9_25">25</td><td nowrap="nowrap">app.mount("/mount", StaticFiles(directory=parent_path / "static"), name="static")</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_30">30</td><td nowrap="nowrap">templates = Jinja2Templates(directory=parent_path / "templates")</td><td class="diff_next"></td><td class="diff_header" id="to9_26">26</td><td nowrap="nowrap">templates = Jinja2Templates(directory=parent_path / "templates")</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_31">31</td><td nowrap="nowrap">templates.env.globals["prod"] = os.environ.get("RUNNING_IN_PRODUCTION", False)</td><td class="diff_next"></td><td class="diff_header" id="to9_27">27</td><td nowrap="nowrap">templates.env.globals["prod"] = os.environ.get("RUNNING_IN_PRODUCTION", False)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_32">32</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_28">28</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_33">33</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_29">29</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_34">34</td><td nowrap="nowrap">@app.get("/", response_class=HTMLResponse)</td><td class="diff_next"></td><td class="diff_header" id="to9_30">30</td><td nowrap="nowrap">@app.get("/", response_class=HTMLResponse)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_35">35</td><td nowrap="nowrap">def index(request: Request):</td><td class="diff_next"></td><td class="diff_header" id="to9_31">31</td><td nowrap="nowrap">def index(request: Request):</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_36">36</td><td nowrap="nowrap"> return templates.TemplateResponse("index.html", {"request": request})</td><td class="diff_next"></td><td class="diff_header" id="to9_32">32</td><td nowrap="nowrap"> return templates.TemplateResponse("index.html", {"request": request})</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_37">37</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_33">33</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_38">38</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_34">34</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_39">39</td><td nowrap="nowrap">@app.get("/about", response_class=HTMLResponse)</td><td class="diff_next"></td><td class="diff_header" id="to9_35">35</td><td nowrap="nowrap">@app.get("/about", response_class=HTMLResponse)</td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to9__1"></td><td class="diff_header" id="from9_40">40</td><td nowrap="nowrap">def about(request: Request):</td><td class="diff_next"></td><td class="diff_header" id="to9_36">36</td><td nowrap="nowrap">def about(request: Request):</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_41">41</td><td nowrap="nowrap"> return templates.TemplateResponse("about.html", {"request": request})</td><td class="diff_next"></td><td class="diff_header" id="to9_37">37</td><td nowrap="nowrap"> return templates.TemplateResponse("about.html", {"request": request})</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_42">42</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_38">38</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_43">43</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_39">39</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_44">44</td><td nowrap="nowrap">@app.get("/destinations", response_class=HTMLResponse)</td><td class="diff_next"></td><td class="diff_header" id="to9_40">40</td><td nowrap="nowrap">@app.get("/destinations", response_class=HTMLResponse)</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to9__2">n</a></td><td class="diff_header" id="from9_45">45</td><td nowrap="nowrap">def destinations(request: Request):</td><td class="diff_next"><a href="#difflib_chg_to9__2">n</a></td><td class="diff_header" id="to9_41">41</td><td nowrap="nowrap"><span class="diff_add">async </span>def destinations(request: Request):</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_46">46</td><td nowrap="nowrap"> all_destinations = await Destination.all()</td><td class="diff_next"></td><td class="diff_header" id="to9_42">42</td><td nowrap="nowrap"> all_destinations = await Destination.<span class="diff_add">find_</span>all()<span class="diff_add">.to_list()</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_43">43</td><td nowrap="nowrap"><span class="diff_add"> return templates.TemplateResponse(</span></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to9__2"></td><td class="diff_header" id="from9_47">47</td><td nowrap="nowrap"> <span class="diff_chg">return templates.TemplateResponse(</span>"destinations.html", {"request": request, "destinations": all_destinations}<span class="diff_sub">)</span></td><td class="diff_next"></td><td class="diff_header" id="to9_44">44</td><td nowrap="nowrap"> <span class="diff_chg"> </span>"destinations.html", {"request": request, "destinations": all_destinations}</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_45">45</td><td nowrap="nowrap"><span class="diff_add"> )</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_48">48</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_46">46</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_49">49</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_47">47</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_50">50</td><td nowrap="nowrap">@app.get("/destination/{pk}", response_class=HTMLResponse)</td><td class="diff_next"></td><td class="diff_header" id="to9_48">48</td><td nowrap="nowrap">@app.get("/destination/{pk}", response_class=HTMLResponse)</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to9__3">n</a></td><td class="diff_header" id="from9_51">51</td><td nowrap="nowrap">def destination_detail(request: Request, pk: <span class="diff_chg">any</span>):</td><td class="diff_next"><a href="#difflib_chg_to9__3">n</a></td><td class="diff_header" id="to9_49">49</td><td nowrap="nowrap"><span class="diff_add">async </span>def destination_detail(request: Request, pk: <span class="diff_chg">str</span>):</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_52">52</td><td nowrap="nowrap"> destination = await Destination.get(pk)</td><td class="diff_next"></td><td class="diff_header" id="to9_50">50</td><td nowrap="nowrap"> destination = await Destination.get(pk<span class="diff_add">, fetch_links=True</span>)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_53">53</td><td nowrap="nowrap"><span class="diff_sub"> return templates.TemplateResponse("destination_detail.html", {"request": request, "destination": destination})</span></td><td class="diff_next"></td><td class="diff_header" id="to9_51">51</td><td nowrap="nowrap"><span class="diff_add"> cruises = destination.cruises</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_52">52</td><td nowrap="nowrap"><span class="diff_add"> return templates.TemplateResponse(</span></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to9__3"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_53">53</td><td nowrap="nowrap"><span class="diff_add"> "destination_detail.html", {"request": request, "destination": destination, "cruises": cruises}</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_54">54</td><td nowrap="nowrap"><span class="diff_add"> )</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_54">54</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_55">55</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_55">55</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_56">56</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_56">56</td><td nowrap="nowrap">@app.get("/cruise/{pk}")</td><td class="diff_next"></td><td class="diff_header" id="to9_57">57</td><td nowrap="nowrap">@app.get("/cruise/{pk}")</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to9__4">n</a></td><td class="diff_header" id="from9_57">57</td><td nowrap="nowrap">def cruise_detail(request: Request, pk: <span class="diff_chg">any</span>):</td><td class="diff_next"><a href="#difflib_chg_to9__4">n</a></td><td class="diff_header" id="to9_58">58</td><td nowrap="nowrap"><span class="diff_add">async </span>def cruise_detail(request: Request, pk: <span class="diff_chg">str</span>):</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_58">58</td><td nowrap="nowrap"> cruise = await Cruise.get(pk)</td><td class="diff_next"></td><td class="diff_header" id="to9_59">59</td><td nowrap="nowrap"> cruise = await Cruise.get(pk<span class="diff_add">, fetch_links=True</span>)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_59">59</td><td nowrap="nowrap"><span class="diff_sub"> </span></td><td class="diff_next"></td><td class="diff_header" id="to9_60">60</td><td nowrap="nowrap"><span class="diff_add"> return templates.TemplateResponse(</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_60">60</td><td nowrap="nowrap"> <span class="diff_chg">return templates.TemplateResponse(</span>"cruise_detail.html", {"request": request, "cruise": cruise}<span class="diff_sub">)</span></td><td class="diff_next"></td><td class="diff_header" id="to9_61">61</td><td nowrap="nowrap"> <span class="diff_chg"> </span>"cruise_detail.html", {"request": request, "cruise": cruise}</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_62">62</td><td nowrap="nowrap"><span class="diff_add"> )</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_61">61</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_63">63</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_62">62</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_64">64</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_63">63</td><td nowrap="nowrap">@app.get("/info_request/", response_class=HTMLResponse)</td><td class="diff_next"></td><td class="diff_header" id="to9_65">65</td><td nowrap="nowrap">@app.get("/info_request/", response_class=HTMLResponse)</td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to9__4"></td><td class="diff_header" id="from9_64">64</td><td nowrap="nowrap">def info_request(request: Request):</td><td class="diff_next"></td><td class="diff_header" id="to9_66">66</td><td nowrap="nowrap">def info_request(request: Request):</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_65">65</td><td nowrap="nowrap"> return templates.TemplateResponse("info_request_create.html", {"request": request})</td><td class="diff_next"></td><td class="diff_header" id="to9_67">67</td><td nowrap="nowrap"> return templates.TemplateResponse("info_request_create.html", {"request": request})</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_66">66</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_68">68</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_67">67</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_69">69</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_68">68</td><td nowrap="nowrap">@app.post("/info_request/", response_model=InfoRequest)</td><td class="diff_next"></td><td class="diff_header" id="to9_70">70</td><td nowrap="nowrap">@app.post("/info_request/", response_model=InfoRequest)</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to9__top">t</a></td><td class="diff_header" id="from9_69">69</td><td nowrap="nowrap">def create_info_request(info_request: InfoRequest):</td><td class="diff_next"><a href="#difflib_chg_to9__top">t</a></td><td class="diff_header" id="to9_71">71</td><td nowrap="nowrap"><span class="diff_add">async </span>def create_info_request(info_request: InfoRequest):</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_70">70</td><td nowrap="nowrap"> db_info_request = await InfoRequest.create(**info_request)</td><td class="diff_next"></td><td class="diff_header" id="to9_72">72</td><td nowrap="nowrap"> db_info_request = await InfoRequest.create(**info_request)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from9_71">71</td><td nowrap="nowrap"> return db_info_request</td><td class="diff_next"></td><td class="diff_header" id="to9_73">73</td><td nowrap="nowrap"> return db_info_request</td></tr> | |
</tbody> | |
</table> | |
<table class="diff" summary="Legends"> | |
<tr> <th colspan="2"> Legends </th> </tr> | |
<tr> <td> <table border="" summary="Colors"> | |
<tr><th> Colors </th> </tr> | |
<tr><td class="diff_add"> Added </td></tr> | |
<tr><td class="diff_chg">Changed</td> </tr> | |
<tr><td class="diff_sub">Deleted</td> </tr> | |
</table></td> | |
<td> <table border="" summary="Links"> | |
<tr><th colspan="2"> Links </th> </tr> | |
<tr><td>(f)irst change</td> </tr> | |
<tr><td>(n)ext change</td> </tr> | |
<tr><td>(t)op</td> </tr> | |
</table></td> </tr> | |
</table> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>/Users/kjaymiller/cookiecutters-relecloud/bmfbtfhwbqcbsrsmybaf_fastapi_cosmos_mongodb_aca/src/fastapi_app/models.py</h1><hr /> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" | |
content="text/html; charset=utf-8" /> | |
<title></title> | |
<style type="text/css"> | |
table.diff {font-family:Courier; border:medium;} | |
.diff_header {background-color:#e0e0e0} | |
td.diff_header {text-align:right} | |
.diff_next {background-color:#c0c0c0} | |
.diff_add {background-color:#aaffaa} | |
.diff_chg {background-color:#ffff77} | |
.diff_sub {background-color:#ffaaaa} | |
</style> | |
</head> | |
<body> | |
<table class="diff" id="difflib_chg_to10__top" | |
cellspacing="0" cellpadding="0" rules="groups" > | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<tbody> | |
<tr><td class="diff_next" id="difflib_chg_to10__2"><a href="#difflib_chg_to10__1">n</a></td><td class="diff_header" id="from10_1">1</td><td nowrap="nowrap"><span class="diff_sub"># ruff: noqa: UP007</span></td><td class="diff_next"><a href="#difflib_chg_to10__1">n</a></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_2">2</td><td nowrap="nowrap"><span class="diff_sub"># ruff: noqa: UP006</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_3">3</td><td nowrap="nowrap">import os</td><td class="diff_next"></td><td class="diff_header" id="to10_1">1</td><td nowrap="nowrap">import os</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to10__2">n</a></td><td class="diff_header" id="from10_4">4</td><td nowrap="nowrap"><span class="diff_sub">import typing</span></td><td class="diff_next"><a href="#difflib_chg_to10__2">n</a></td><td class="diff_header" id="to10_2">2</td><td nowrap="nowrap"><span class="diff_add">from typing import List, Optional</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_5">5</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to10_3">3</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to10__3">n</a></td><td class="diff_header" id="from10_6">6</td><td nowrap="nowrap"><span class="diff_sub">from sqlmodel import Field, Relationship, SQLModel, create_engine</span></td><td class="diff_next"><a href="#difflib_chg_to10__3">n</a></td><td class="diff_header" id="to10_4">4</td><td nowrap="nowrap"><span class="diff_add">from beanie import (</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_7">7</td><td nowrap="nowrap"><span class="diff_sub"> </span></td><td class="diff_next"></td><td class="diff_header" id="to10_5">5</td><td nowrap="nowrap"><span class="diff_add"> BackLink,</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_8">8</td><td nowrap="nowrap"><span class="diff_sub">POSTGRES_USERNAME = os.environ.get("POSTGRES_USERNAME")</span></td><td class="diff_next"></td><td class="diff_header" id="to10_6">6</td><td nowrap="nowrap"><span class="diff_add"> Document,</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_9">9</td><td nowrap="nowrap"><span class="diff_sub">POSTGRES_PASSWORD = os.environ.get("POSTGRES_PASSWORD")</span></td><td class="diff_next"></td><td class="diff_header" id="to10_7">7</td><td nowrap="nowrap"><span class="diff_add"> Indexed,</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_10">10</td><td nowrap="nowrap"><span class="diff_sub">POSTGRES_HOST = os.environ.get("POSTGRES_HOST")</span></td><td class="diff_next"></td><td class="diff_header" id="to10_8">8</td><td nowrap="nowrap"><span class="diff_add"> Link,</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_11">11</td><td nowrap="nowrap"><span class="diff_sub">POSTGRES_DATABASE = os.environ.get("POSTGRES_DATABASE")</span></td><td class="diff_next"></td><td class="diff_header" id="to10_9">9</td><td nowrap="nowrap"><span class="diff_add"> init_beanie,</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_12">12</td><td nowrap="nowrap"><span class="diff_sub"> </span></td><td class="diff_next"></td><td class="diff_header" id="to10_10">10</td><td nowrap="nowrap"><span class="diff_add">)</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_13">13</td><td nowrap="nowrap"><span class="diff_sub">sql_url = f"postgresql://{POSTGRES_USERNAME}:{POSTGRES_PASSWORD}@{POSTGRES_HOST}/{POSTGRES_DATABASE}"</span></td><td class="diff_next"></td><td class="diff_header" id="to10_11">11</td><td nowrap="nowrap"><span class="diff_add">from motor.motor_asyncio import AsyncIOMotorClient</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_14">14</td><td nowrap="nowrap"><span class="diff_sub"> </span></td><td class="diff_next"></td><td class="diff_header" id="to10_12">12</td><td nowrap="nowrap"><span class="diff_add">from pydantic import EmailStr, Field</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_15">15</td><td nowrap="nowrap"><span class="diff_sub">if os.environ.get("POSTGRES_SSL", "disable") != "disable":</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to10__3"></td><td class="diff_header" id="from10_16">16</td><td nowrap="nowrap"><span class="diff_sub"> sql_url = f"{sql_url}?sslmode=require"</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_17">17</td><td nowrap="nowrap"><span class="diff_sub"> </span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_18">18</td><td nowrap="nowrap"><span class="diff_sub">engine = create_engine(sql_url, echo=True)</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_19">19</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to10_13">13</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_20">20</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to10_14">14</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to10__4">n</a></td><td class="diff_header" id="from10_21">21</td><td nowrap="nowrap"><span class="diff_sub">def create_db_and_tables():</span></td><td class="diff_next"><a href="#difflib_chg_to10__4">n</a></td><td class="diff_header" id="to10_15">15</td><td nowrap="nowrap"><span class="diff_add">class Destination(Document):</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_22">22</td><td nowrap="nowrap"><span class="diff_sub"> return SQLModel.metadata.create_all(engine)</span></td><td class="diff_next"></td><td class="diff_header" id="to10_16">16</td><td nowrap="nowrap"><span class="diff_add"> name: Indexed(str, unique=True)</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to10_17">17</td><td nowrap="nowrap"><span class="diff_add"> subtitle: Optional[str]</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to10_18">18</td><td nowrap="nowrap"><span class="diff_add"> description: str</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to10_19">19</td><td nowrap="nowrap"><span class="diff_add"> cruises: List[BackLink["Cruise"]] = Field(original_field="destinations")</span></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to10__4"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to10_20">20</td><td nowrap="nowrap"><span class="diff_add"> </span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to10_21">21</td><td nowrap="nowrap"><span class="diff_add"> def __str__(self):</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to10_22">22</td><td nowrap="nowrap"><span class="diff_add"> return self.name</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_23">23</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to10_23">23</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_24">24</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to10_24">24</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to10__5">n</a></td><td class="diff_header" id="from10_25">25</td><td nowrap="nowrap"><span class="diff_sub">class CruiseDestinationLink(SQLModel, table=True):</span></td><td class="diff_next"><a href="#difflib_chg_to10__5">n</a></td><td class="diff_header" id="to10_25">25</td><td nowrap="nowrap"><span class="diff_add">class Cruise(Document):</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_26">26</td><td nowrap="nowrap"><span class="diff_sub"> destination_id: typing.Optional[int] = Field(</span></td><td class="diff_next"></td><td class="diff_header" id="to10_26">26</td><td nowrap="nowrap"><span class="diff_add"> name: Indexed(str, unique=True)</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_27">27</td><td nowrap="nowrap"><span class="diff_sub"> default=None,</span></td><td class="diff_next"></td><td class="diff_header" id="to10_27">27</td><td nowrap="nowrap"><span class="diff_add"> subtitle: Optional[str]</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_28">28</td><td nowrap="nowrap"><span class="diff_sub"> foreign_key="destination.id",</span></td><td class="diff_next"></td><td class="diff_header" id="to10_28">28</td><td nowrap="nowrap"><span class="diff_add"> description: str</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_29">29</td><td nowrap="nowrap"><span class="diff_sub"> primary_key=True,</span></td><td class="diff_next"></td><td class="diff_header" id="to10_29">29</td><td nowrap="nowrap"><span class="diff_add"> destinations: List[Link[Destination]]</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_30">30</td><td nowrap="nowrap"><span class="diff_sub"> )</span></td><td class="diff_next"></td><td class="diff_header" id="to10_30">30</td><td nowrap="nowrap"><span class="diff_add"> </span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_31">31</td><td nowrap="nowrap"><span class="diff_sub"> cruise_id: typing.Optional[int] = Field(</span></td><td class="diff_next"></td><td class="diff_header" id="to10_31">31</td><td nowrap="nowrap"><span class="diff_add"> def __str__(self):</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_32">32</td><td nowrap="nowrap"><span class="diff_sub"> default=None,</span></td><td class="diff_next"></td><td class="diff_header" id="to10_32">32</td><td nowrap="nowrap"><span class="diff_add"> return self.name</span></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to10__5"></td><td class="diff_header" id="from10_33">33</td><td nowrap="nowrap"><span class="diff_sub"> foreign_key="cruise.id",</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_34">34</td><td nowrap="nowrap"><span class="diff_sub"> primary_key=True,</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_35">35</td><td nowrap="nowrap"><span class="diff_sub"> )</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_36">36</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to10_33">33</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_37">37</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to10_34">34</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to10__6">n</a></td><td class="diff_header" id="from10_38">38</td><td nowrap="nowrap"><span class="diff_sub">class Destination(SQLModel, table=True):</span></td><td class="diff_next"><a href="#difflib_chg_to10__6">n</a></td><td class="diff_header" id="to10_35">35</td><td nowrap="nowrap"><span class="diff_add">class InfoRequest(Document):</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_39">39</td><td nowrap="nowrap"><span class="diff_sub"> id: typing.Optional[int] = Field(default=None, primary_key=True)</span></td><td class="diff_next"></td><td class="diff_header" id="to10_36">36</td><td nowrap="nowrap"><span class="diff_add"> name: str</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_40">40</td><td nowrap="nowrap"><span class="diff_sub"> name: str = Field(index=True)</span></td><td class="diff_next"></td><td class="diff_header" id="to10_37">37</td><td nowrap="nowrap"><span class="diff_add"> email: EmailStr</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_41">41</td><td nowrap="nowrap"><span class="diff_sub"> subtitle: typing.Optional[str]</span></td><td class="diff_next"></td><td class="diff_header" id="to10_38">38</td><td nowrap="nowrap"><span class="diff_add"> notes: str</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_42">42</td><td nowrap="nowrap"><span class="diff_sub"> description: typing.Optional[str]</span></td><td class="diff_next"></td><td class="diff_header" id="to10_39">39</td><td nowrap="nowrap"><span class="diff_add"> cruise: Optional[Link[Cruise]]</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_43">43</td><td nowrap="nowrap"><span class="diff_sub"> cruises: typing.List["Cruise"] = Relationship(</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_44">44</td><td nowrap="nowrap"><span class="diff_sub"> back_populates="destinations",</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_45">45</td><td nowrap="nowrap"><span class="diff_sub"> link_model=CruiseDestinationLink,</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_46">46</td><td nowrap="nowrap"><span class="diff_sub"> )</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to10__6"></td><td class="diff_header" id="from10_47">47</td><td nowrap="nowrap"><span class="diff_sub"> </span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_48">48</td><td nowrap="nowrap"><span class="diff_sub"> def __str__(self):</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_49">49</td><td nowrap="nowrap"><span class="diff_sub"> return f"{self.name}"</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_50">50</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to10_40">40</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_51">51</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to10_41">41</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to10__7">n</a></td><td class="diff_header" id="from10_52">52</td><td nowrap="nowrap"><span class="diff_sub">class Cruise(SQLModel, table=True):</span></td><td class="diff_next"><a href="#difflib_chg_to10__7">n</a></td><td class="diff_header" id="to10_42">42</td><td nowrap="nowrap"><span class="diff_add">async def init_db(drop: bool = False):</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_53">53</td><td nowrap="nowrap"><span class="diff_sub"> id: typing.Optional[int] = Field(default=None, primary_key=True)</span></td><td class="diff_next"></td><td class="diff_header" id="to10_43">43</td><td nowrap="nowrap"><span class="diff_add"> client = AsyncIOMotorClient(os.environ.get("DATABASE_URI"))</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_54">54</td><td nowrap="nowrap"><span class="diff_sub"> name: str = Field(index=True)</span></td><td class="diff_next"></td><td class="diff_header" id="to10_44">44</td><td nowrap="nowrap"><span class="diff_add"> if drop:</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_55">55</td><td nowrap="nowrap"><span class="diff_sub"> description: typing.Optional[str]</span></td><td class="diff_next"></td><td class="diff_header" id="to10_45">45</td><td nowrap="nowrap"><span class="diff_add"> client.drop_database("relecloud")</span></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to10__7"></td><td class="diff_header" id="from10_56">56</td><td nowrap="nowrap"><span class="diff_sub"> subtitle: typing.Optional[str]</span></td><td class="diff_next"></td><td class="diff_header" id="to10_46">46</td><td nowrap="nowrap"><span class="diff_add"> await init_beanie(</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_57">57</td><td nowrap="nowrap"><span class="diff_sub"> destinations: typing.List["Destination"] = Relationship(</span></td><td class="diff_next"></td><td class="diff_header" id="to10_47">47</td><td nowrap="nowrap"><span class="diff_add"> database=client.relecloud,</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_58">58</td><td nowrap="nowrap"><span class="diff_sub"> back_populates="cruises",</span></td><td class="diff_next"></td><td class="diff_header" id="to10_48">48</td><td nowrap="nowrap"><span class="diff_add"> document_models=[Destination, Cruise, InfoRequest],</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_59">59</td><td nowrap="nowrap"><span class="diff_sub"> link_model=CruiseDestinationLink,</span></td><td class="diff_next"></td><td class="diff_header" id="to10_49">49</td><td nowrap="nowrap"><span class="diff_add"> allow_index_dropping=drop,</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_60">60</td><td nowrap="nowrap"> )</td><td class="diff_next"></td><td class="diff_header" id="to10_50">50</td><td nowrap="nowrap"> )</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to10__top">t</a></td><td class="diff_header" id="from10_61">61</td><td nowrap="nowrap"><span class="diff_sub"> </span></td><td class="diff_next"><a href="#difflib_chg_to10__top">t</a></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_62">62</td><td nowrap="nowrap"><span class="diff_sub"> def __str__(self):</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_63">63</td><td nowrap="nowrap"><span class="diff_sub"> return f"{self.name}"</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_64">64</td><td nowrap="nowrap"><span class="diff_sub"> </span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_65">65</td><td nowrap="nowrap"><span class="diff_sub"> </span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_66">66</td><td nowrap="nowrap"><span class="diff_sub">class InfoRequest(SQLModel, table=True):</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_67">67</td><td nowrap="nowrap"><span class="diff_sub"> id: typing.Optional[int] = Field(default=None, primary_key=True)</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_68">68</td><td nowrap="nowrap"><span class="diff_sub"> name: str = Field(index=True)</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_69">69</td><td nowrap="nowrap"><span class="diff_sub"> email: str</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_70">70</td><td nowrap="nowrap"><span class="diff_sub"> notes: str</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from10_71">71</td><td nowrap="nowrap"><span class="diff_sub"> cruise_id: int = Field(default=None, foreign_key="cruise.id")</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
</tbody> | |
</table> | |
<table class="diff" summary="Legends"> | |
<tr> <th colspan="2"> Legends </th> </tr> | |
<tr> <td> <table border="" summary="Colors"> | |
<tr><th> Colors </th> </tr> | |
<tr><td class="diff_add"> Added </td></tr> | |
<tr><td class="diff_chg">Changed</td> </tr> | |
<tr><td class="diff_sub">Deleted</td> </tr> | |
</table></td> | |
<td> <table border="" summary="Links"> | |
<tr><th colspan="2"> Links </th> </tr> | |
<tr><td>(f)irst change</td> </tr> | |
<tr><td>(n)ext change</td> </tr> | |
<tr><td>(t)op</td> </tr> | |
</table></td> </tr> | |
</table> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>/Users/kjaymiller/cookiecutters-relecloud/bmfbtfhwbqcbsrsmybaf_fastapi_cosmos_mongodb_aca/src/fastapi_app/seeder.py</h1><hr /> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" | |
content="text/html; charset=utf-8" /> | |
<title></title> | |
<style type="text/css"> | |
table.diff {font-family:Courier; border:medium;} | |
.diff_header {background-color:#e0e0e0} | |
td.diff_header {text-align:right} | |
.diff_next {background-color:#c0c0c0} | |
.diff_add {background-color:#aaffaa} | |
.diff_chg {background-color:#ffff77} | |
.diff_sub {background-color:#ffaaaa} | |
</style> | |
</head> | |
<body> | |
<table class="diff" id="difflib_chg_to11__top" | |
cellspacing="0" cellpadding="0" rules="groups" > | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<tbody> | |
<tr><td class="diff_next" id="difflib_chg_to11__1"><a href="#difflib_chg_to11__0">f</a></td><td class="diff_header" id="from11_1">1</td><td nowrap="nowrap">import json</td><td class="diff_next"><a href="#difflib_chg_to11__0">f</a></td><td class="diff_header" id="to11_1">1</td><td nowrap="nowrap">import json</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to11__1">n</a></td><td class="diff_header" id="from11_2">2</td><td nowrap="nowrap"><span class="diff_sub">import logging</span></td><td class="diff_next"><a href="#difflib_chg_to11__1">n</a></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_3">3</td><td nowrap="nowrap"><span class="diff_sub">import pathlib</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_4">4</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_2">2</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to11__2"><a href="#difflib_chg_to11__2">n</a></td><td class="diff_header" id="from11_5">5</td><td nowrap="nowrap"><span class="diff_sub">from sqlmodel import Session, SQLModel, select</span></td><td class="diff_next"><a href="#difflib_chg_to11__2">n</a></td><td class="diff_header" id="to11_3">3</td><td nowrap="nowrap"><span class="diff_add">from beanie.odm.fields import WriteRules</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_6">6</td><td nowrap="nowrap"><span class="diff_sub"> </span></td><td class="diff_next"></td><td class="diff_header" id="to11_4">4</td><td nowrap="nowrap"><span class="diff_add">import models</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_7">7</td><td nowrap="nowrap"><span class="diff_sub">from fastapi_app import models</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to11__3"></td><td class="diff_header" id="from11_8">8</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_5">5</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_9">9</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_6">6</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to11__3">n</a></td><td class="diff_header" id="from11_10">10</td><td nowrap="nowrap"><span class="diff_sub">def load_from_json():</span></td><td class="diff_next"><a href="#difflib_chg_to11__3">n</a></td><td class="diff_header" id="to11_7">7</td><td nowrap="nowrap"><span class="diff_add">async def seed_data(filename: str, drop: bool = False) -> None:</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_11">11</td><td nowrap="nowrap"><span class="diff_sub"> models.create_db_and_tables()</span></td><td class="diff_next"></td><td class="diff_header" id="to11_8">8</td><td nowrap="nowrap"><span class="diff_add"> """Uses the json file to populate the database"""</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_12">12</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_9">9</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to11__4">n</a></td><td class="diff_header" id="from11_13">13</td><td nowrap="nowrap"><span class="diff_sub"> path = pathlib.Path(__file__).parent.parent.absolute()</span></td><td class="diff_next"><a href="#difflib_chg_to11__4">n</a></td><td class="diff_header" id="to11_10">10</td><td nowrap="nowrap"><span class="diff_add"> pk_maps = {}</span></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to11__4"></td><td class="diff_header" id="from11_14">14</td><td nowrap="nowrap"><span class="diff_sub"> with open(path / "seed_data.json") as f:</span></td><td class="diff_next"></td><td class="diff_header" id="to11_11">11</td><td nowrap="nowrap"><span class="diff_add"> await models.init_db(drop=drop)</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_12">12</td><td nowrap="nowrap"><span class="diff_add"> </span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_13">13</td><td nowrap="nowrap"><span class="diff_add"> with open(filename) as f:</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_15">15</td><td nowrap="nowrap"> data = json.load(f)</td><td class="diff_next"></td><td class="diff_header" id="to11_14">14</td><td nowrap="nowrap"> data = json.load(f)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_16">16</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_15">15</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to11__5">n</a></td><td class="diff_header" id="from11_17">17</td><td nowrap="nowrap"><span class="diff_sub"> with Session(models.engine) as session:</span></td><td class="diff_next"><a href="#difflib_chg_to11__5">n</a></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_18">18</td><td nowrap="nowrap"><span class="diff_sub"> # check if data is already loaded</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_19">19</td><td nowrap="nowrap"><span class="diff_sub"> if session.exec(select(models.Destination)).first():</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_20">20</td><td nowrap="nowrap"><span class="diff_sub"> logging.info("Data already loaded, skipping seed data load")</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_21">21</td><td nowrap="nowrap"><span class="diff_sub"> return</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to11__5"></td><td class="diff_header" id="from11_22">22</td><td nowrap="nowrap"><span class="diff_sub"> </span> for entry in data:</td><td class="diff_next"></td><td class="diff_header" id="to11_16">16</td><td nowrap="nowrap"> for entry in data:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_23">23</td><td nowrap="nowrap"><span class="diff_sub"> </span> if entry["model"] == "relecloud.destination":</td><td class="diff_next"></td><td class="diff_header" id="to11_17">17</td><td nowrap="nowrap"> if entry["model"] == "relecloud.destination":</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_18">18</td><td nowrap="nowrap"><span class="diff_add"> if await models.Destination.find_one(models.Destination.name==entry["fields"]["name"]).count() == 0:</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_24">24</td><td nowrap="nowrap"> destination = models.Destination(</td><td class="diff_next"></td><td class="diff_header" id="to11_19">19</td><td nowrap="nowrap"> destination = models.Destination(</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_25">25</td><td nowrap="nowrap"> name=entry["fields"]["name"],</td><td class="diff_next"></td><td class="diff_header" id="to11_20">20</td><td nowrap="nowrap"> name=entry["fields"]["name"],</td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to11__6"><a href="#difflib_chg_to11__6">n</a></td><td class="diff_header" id="from11_26">26</td><td nowrap="nowrap"><span class="diff_sub"> id=entry["pk"],</span></td><td class="diff_next"><a href="#difflib_chg_to11__6">n</a></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_27">27</td><td nowrap="nowrap"> description=entry["fields"]<span class="diff_chg">[</span>"description"<span class="diff_sub">]</span>,</td><td class="diff_next"></td><td class="diff_header" id="to11_21">21</td><td nowrap="nowrap"> description=entry["fields"]<span class="diff_chg">.get(</span>"description",<span class="diff_add"> None),</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_22">22</td><td nowrap="nowrap"><span class="diff_add"> subtitle=entry["fields"].get("subtitle", None),</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_23">23</td><td nowrap="nowrap"><span class="diff_add"> cruises=[],</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_28">28</td><td nowrap="nowrap"> )</td><td class="diff_next"></td><td class="diff_header" id="to11_24">24</td><td nowrap="nowrap"> )</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to11__7">n</a></td><td class="diff_header" id="from11_29">29</td><td nowrap="nowrap"><span class="diff_sub"> session.add(destination)</span></td><td class="diff_next"><a href="#difflib_chg_to11__7">n</a></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_30">30</td><td nowrap="nowrap"><span class="diff_sub"> session.commit()</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to11__7"></td><td class="diff_header" id="from11_31">31</td><td nowrap="nowrap"><span class="diff_sub"> session.refresh(destination)</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_32">32</td><td nowrap="nowrap"><span class="diff_sub"> if entry["model"] == "relecloud.cruise":</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_33">33</td><td nowrap="nowrap"> destinations<span class="diff_chg"> = []</span></td><td class="diff_next"></td><td class="diff_header" id="to11_25">25</td><td nowrap="nowrap"> <span class="diff_add"> await</span> destination<span class="diff_add">.in</span>s<span class="diff_chg">ert()</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_26">26</td><td nowrap="nowrap"><span class="diff_add"> pk_maps[entry["pk"]] = destination.id</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_34">34</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_27">27</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to11__8">n</a></td><td class="diff_header" id="from11_35">35</td><td nowrap="nowrap"><span class="diff_sub"> for destination in entry["fields"]["destinations"]:</span></td><td class="diff_next"><a href="#difflib_chg_to11__8">n</a></td><td class="diff_header" id="to11_28">28</td><td nowrap="nowrap"><span class="diff_add"> if entry["model"] == "relecloud.cruise":</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_36">36</td><td nowrap="nowrap"><span class="diff_sub"> destination = session.exec(</span></td><td class="diff_next"></td><td class="diff_header" id="to11_29">29</td><td nowrap="nowrap"><span class="diff_add"> if await models.Cruise.find_one(models.Cruise.name==entry["fields"]["name"]).count() == 0:</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_37">37</td><td nowrap="nowrap"><span class="diff_sub"> select(models.Destination).where(models.Destination.id == destination)</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to11__8"></td><td class="diff_header" id="from11_38">38</td><td nowrap="nowrap"><span class="diff_sub"> )</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_39">39</td><td nowrap="nowrap"><span class="diff_sub"> destinations.append(destination.first())</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_40">40</td><td nowrap="nowrap"><span class="diff_sub"> </span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_41">41</td><td nowrap="nowrap"> cruise = models.Cruise(</td><td class="diff_next"></td><td class="diff_header" id="to11_30">30</td><td nowrap="nowrap"> cruise = models.Cruise(</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_42">42</td><td nowrap="nowrap"> name=entry["fields"]["name"],</td><td class="diff_next"></td><td class="diff_header" id="to11_31">31</td><td nowrap="nowrap"> name=entry["fields"]["name"],</td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to11__9"><a href="#difflib_chg_to11__9">n</a></td><td class="diff_header" id="from11_43">43</td><td nowrap="nowrap"><span class="diff_sub"> id=entry["pk"],</span></td><td class="diff_next"><a href="#difflib_chg_to11__9">n</a></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_44">44</td><td nowrap="nowrap"> description=entry["fields"]<span class="diff_chg">[</span>"description"<span class="diff_sub">]</span>,</td><td class="diff_next"></td><td class="diff_header" id="to11_32">32</td><td nowrap="nowrap"> description=entry["fields"]<span class="diff_chg">.get(</span>"description",<span class="diff_add"> None),</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_33">33</td><td nowrap="nowrap"><span class="diff_add"> subtitle=entry["fields"].get("subtitle", None),</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_45">45</td><td nowrap="nowrap"> destinations=<span class="diff_chg">destinations</span>,</td><td class="diff_next"></td><td class="diff_header" id="to11_34">34</td><td nowrap="nowrap"> destinations=<span class="diff_chg">[]</span>,</td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to11__10"></td><td class="diff_header" id="from11_46">46</td><td nowrap="nowrap"> )</td><td class="diff_next"></td><td class="diff_header" id="to11_35">35</td><td nowrap="nowrap"> )</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to11__10">n</a></td><td class="diff_header" id="from11_47">47</td><td nowrap="nowrap"><span class="diff_sub"> session.add(cruise)</span></td><td class="diff_next"><a href="#difflib_chg_to11__10">n</a></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_48">48</td><td nowrap="nowrap"><span class="diff_sub"> session.commit()</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_49">49</td><td nowrap="nowrap"><span class="diff_sub"> session.refresh(cruise)</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_50">50</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_36">36</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to11__11">n</a></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"><a href="#difflib_chg_to11__11">n</a></td><td class="diff_header" id="to11_37">37</td><td nowrap="nowrap"><span class="diff_add"> for destination_id in entry["fields"]["destinations"]:</span></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to11__11"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_38">38</td><td nowrap="nowrap"><span class="diff_add"> destination = await models.Destination.get(</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_39">39</td><td nowrap="nowrap"><span class="diff_add"> pk_maps[destination_id]</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_40">40</td><td nowrap="nowrap"><span class="diff_add"> )</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_41">41</td><td nowrap="nowrap"><span class="diff_add"> cruise.destinations.append(destination)</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_51">51</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_42">42</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to11__12"><a href="#difflib_chg_to11__12">n</a></td><td class="diff_header" id="from11_52">52</td><td nowrap="nowrap"><span class="diff_sub">def drop_all():</span></td><td class="diff_next"><a href="#difflib_chg_to11__12">n</a></td><td class="diff_header" id="to11_43">43</td><td nowrap="nowrap"><span class="diff_add"> await cruise.save()</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_53">53</td><td nowrap="nowrap"><span class="diff_sub"> SQLModel.metadata.drop_all(models.engine)</span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_54">54</td><td nowrap="nowrap"><span class="diff_sub"> </span></td><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_55">55</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_44">44</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from11_56">56</td><td nowrap="nowrap">if __name__ == "__main__":</td><td class="diff_next"></td><td class="diff_header" id="to11_45">45</td><td nowrap="nowrap">if __name__ == "__main__":</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to11__top">t</a></td><td class="diff_header" id="from11_57">57</td><td nowrap="nowrap"><span class="diff_sub"> load_from_json()</span></td><td class="diff_next"><a href="#difflib_chg_to11__top">t</a></td><td class="diff_header" id="to11_46">46</td><td nowrap="nowrap"><span class="diff_add"> import asyncio</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_47">47</td><td nowrap="nowrap"><span class="diff_add"> </span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to11_48">48</td><td nowrap="nowrap"><span class="diff_add"> asyncio.run(seed_data("src/seed_data.json", drop=True))</span></td></tr> | |
</tbody> | |
</table> | |
<table class="diff" summary="Legends"> | |
<tr> <th colspan="2"> Legends </th> </tr> | |
<tr> <td> <table border="" summary="Colors"> | |
<tr><th> Colors </th> </tr> | |
<tr><td class="diff_add"> Added </td></tr> | |
<tr><td class="diff_chg">Changed</td> </tr> | |
<tr><td class="diff_sub">Deleted</td> </tr> | |
</table></td> | |
<td> <table border="" summary="Links"> | |
<tr><th colspan="2"> Links </th> </tr> | |
<tr><td>(f)irst change</td> </tr> | |
<tr><td>(n)ext change</td> </tr> | |
<tr><td>(t)op</td> </tr> | |
</table></td> </tr> | |
</table> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>/Users/kjaymiller/cookiecutters-relecloud/bmfbtfhwbqcbsrsmybaf_fastapi_cosmos_mongodb_aca/src/tests/test_playwright.py</h1><hr /> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" | |
content="text/html; charset=utf-8" /> | |
<title></title> | |
<style type="text/css"> | |
table.diff {font-family:Courier; border:medium;} | |
.diff_header {background-color:#e0e0e0} | |
td.diff_header {text-align:right} | |
.diff_next {background-color:#c0c0c0} | |
.diff_add {background-color:#aaffaa} | |
.diff_chg {background-color:#ffff77} | |
.diff_sub {background-color:#ffaaaa} | |
</style> | |
</head> | |
<body> | |
<table class="diff" id="difflib_chg_to12__top" | |
cellspacing="0" cellpadding="0" rules="groups" > | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup> | |
<tbody> | |
<tr><td class="diff_next"><a href="#difflib_chg_to12__0">f</a></td><td class="diff_header" id="from12_1">1</td><td nowrap="nowrap">import re</td><td class="diff_next"><a href="#difflib_chg_to12__0">f</a></td><td class="diff_header" id="to12_1">1</td><td nowrap="nowrap">import re</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_2">2</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_2">2</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_3">3</td><td nowrap="nowrap">import pytest</td><td class="diff_next"></td><td class="diff_header" id="to12_3">3</td><td nowrap="nowrap">import pytest</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_4">4</td><td nowrap="nowrap">from playwright.sync_api import Page, expect</td><td class="diff_next"></td><td class="diff_header" id="to12_4">4</td><td nowrap="nowrap">from playwright.sync_api import Page, expect</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_5">5</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_5">5</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_6">6</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_6">6</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_7">7</td><td nowrap="nowrap">def test_home(page: Page, live_server_url: str):</td><td class="diff_next"></td><td class="diff_header" id="to12_7">7</td><td nowrap="nowrap">def test_home(page: Page, live_server_url: str):</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_8">8</td><td nowrap="nowrap"> """Test that the home page loads"""</td><td class="diff_next"></td><td class="diff_header" id="to12_8">8</td><td nowrap="nowrap"> """Test that the home page loads"""</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_9">9</td><td nowrap="nowrap"> page.goto(live_server_url)</td><td class="diff_next"></td><td class="diff_header" id="to12_9">9</td><td nowrap="nowrap"> page.goto(live_server_url)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_10">10</td><td nowrap="nowrap"> expect(page).to_have_title("ReleCloud - Expand your horizons")</td><td class="diff_next"></td><td class="diff_header" id="to12_10">10</td><td nowrap="nowrap"> expect(page).to_have_title("ReleCloud - Expand your horizons")</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_11">11</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_11">11</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_12">12</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_12">12</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_13">13</td><td nowrap="nowrap">@pytest.mark.parametrize(</td><td class="diff_next"></td><td class="diff_header" id="to12_13">13</td><td nowrap="nowrap">@pytest.mark.parametrize(</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_14">14</td><td nowrap="nowrap"> "page_title, page_url",</td><td class="diff_next"></td><td class="diff_header" id="to12_14">14</td><td nowrap="nowrap"> "page_title, page_url",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_15">15</td><td nowrap="nowrap"> (</td><td class="diff_next"></td><td class="diff_header" id="to12_15">15</td><td nowrap="nowrap"> (</td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to12__0"></td><td class="diff_header" id="from12_16">16</td><td nowrap="nowrap"> ("Request Information", "info"),</td><td class="diff_next"></td><td class="diff_header" id="to12_16">16</td><td nowrap="nowrap"> ("Request Information", "info"),</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_17">17</td><td nowrap="nowrap"> ("Destinations", "destinations"),</td><td class="diff_next"></td><td class="diff_header" id="to12_17">17</td><td nowrap="nowrap"> ("Destinations", "destinations"),</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_18">18</td><td nowrap="nowrap"> ("About", "about"),</td><td class="diff_next"></td><td class="diff_header" id="to12_18">18</td><td nowrap="nowrap"> ("About", "about"),</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_19">19</td><td nowrap="nowrap"> ),</td><td class="diff_next"></td><td class="diff_header" id="to12_19">19</td><td nowrap="nowrap"> ),</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_20">20</td><td nowrap="nowrap">)</td><td class="diff_next"></td><td class="diff_header" id="to12_20">20</td><td nowrap="nowrap">)</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to12__1">n</a></td><td class="diff_header" id="from12_21">21</td><td nowrap="nowrap"><span class="diff_sub">def test_header_has_request_info(page: Page, live_server_url: str, page_title, page_url):</span></td><td class="diff_next"><a href="#difflib_chg_to12__1">n</a></td><td class="diff_header" id="to12_21">21</td><td nowrap="nowrap"><span class="diff_add">def test_header_has_request_info(</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_22">22</td><td nowrap="nowrap"><span class="diff_add"> page: Page, live_server_url: str, page_title, page_url</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_23">23</td><td nowrap="nowrap"><span class="diff_add">):</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_22">22</td><td nowrap="nowrap"> """Test that the header loads with links"""</td><td class="diff_next"></td><td class="diff_header" id="to12_24">24</td><td nowrap="nowrap"> """Test that the header loads with links"""</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_23">23</td><td nowrap="nowrap"> page.goto(live_server_url)</td><td class="diff_next"></td><td class="diff_header" id="to12_25">25</td><td nowrap="nowrap"> page.goto(live_server_url)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_24">24</td><td nowrap="nowrap"> header = page.locator("nav")</td><td class="diff_next"></td><td class="diff_header" id="to12_26">26</td><td nowrap="nowrap"> header = page.locator("nav")</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_25">25</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_27">27</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_26">26</td><td nowrap="nowrap"> # Request Info</td><td class="diff_next"></td><td class="diff_header" id="to12_28">28</td><td nowrap="nowrap"> # Request Info</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_27">27</td><td nowrap="nowrap"> request_info = header.get_by_role("link", name=page_title)</td><td class="diff_next"></td><td class="diff_header" id="to12_29">29</td><td nowrap="nowrap"> request_info = header.get_by_role("link", name=page_title)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_28">28</td><td nowrap="nowrap"> expect(request_info).to_have_attribute("href", re.compile(rf".*{page_url}.*"))</td><td class="diff_next"></td><td class="diff_header" id="to12_30">30</td><td nowrap="nowrap"> expect(request_info).to_have_attribute("href", re.compile(rf".*{page_url}.*"))</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_29">29</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_31">31</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_30">30</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_32">32</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_31">31</td><td nowrap="nowrap">def test_request_information(page: Page, live_server_url: str):</td><td class="diff_next"></td><td class="diff_header" id="to12_33">33</td><td nowrap="nowrap">def test_request_information(page: Page, live_server_url: str):</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_32">32</td><td nowrap="nowrap"> """Test that the request info form page loads"""</td><td class="diff_next"></td><td class="diff_header" id="to12_34">34</td><td nowrap="nowrap"> """Test that the request info form page loads"""</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_33">33</td><td nowrap="nowrap"> page.goto(live_server_url)</td><td class="diff_next"></td><td class="diff_header" id="to12_35">35</td><td nowrap="nowrap"> page.goto(live_server_url)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_34">34</td><td nowrap="nowrap"> page.get_by_role("link", name="Request Information").click()</td><td class="diff_next"></td><td class="diff_header" id="to12_36">36</td><td nowrap="nowrap"> page.get_by_role("link", name="Request Information").click()</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_35">35</td><td nowrap="nowrap"> expect(page).to_have_title("ReleCloud - Request information")</td><td class="diff_next"></td><td class="diff_header" id="to12_37">37</td><td nowrap="nowrap"> expect(page).to_have_title("ReleCloud - Request information")</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_36">36</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_38">38</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_37">37</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_39">39</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_38">38</td><td nowrap="nowrap">def test_destinations(page: Page, live_server_url: str):</td><td class="diff_next"></td><td class="diff_header" id="to12_40">40</td><td nowrap="nowrap">def test_destinations(page: Page, live_server_url: str):</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_39">39</td><td nowrap="nowrap"> page.goto(live_server_url)</td><td class="diff_next"></td><td class="diff_header" id="to12_41">41</td><td nowrap="nowrap"> page.goto(live_server_url)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_40">40</td><td nowrap="nowrap"> page.get_by_role("link", name="Destinations").click()</td><td class="diff_next"></td><td class="diff_header" id="to12_42">42</td><td nowrap="nowrap"> page.get_by_role("link", name="Destinations").click()</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_41">41</td><td nowrap="nowrap"> expect(page).to_have_title("ReleCloud - Destinations")</td><td class="diff_next"></td><td class="diff_header" id="to12_43">43</td><td nowrap="nowrap"> expect(page).to_have_title("ReleCloud - Destinations")</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_42">42</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_44">44</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_43">43</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_45">45</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_44">44</td><td nowrap="nowrap">destinations = (</td><td class="diff_next"></td><td class="diff_header" id="to12_46">46</td><td nowrap="nowrap">destinations = (</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_45">45</td><td nowrap="nowrap"> "The Sun",</td><td class="diff_next"></td><td class="diff_header" id="to12_47">47</td><td nowrap="nowrap"> "The Sun",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_46">46</td><td nowrap="nowrap"> "Mercury",</td><td class="diff_next"></td><td class="diff_header" id="to12_48">48</td><td nowrap="nowrap"> "Mercury",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_47">47</td><td nowrap="nowrap"> "Venus",</td><td class="diff_next"></td><td class="diff_header" id="to12_49">49</td><td nowrap="nowrap"> "Venus",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_48">48</td><td nowrap="nowrap"> "Earth",</td><td class="diff_next"></td><td class="diff_header" id="to12_50">50</td><td nowrap="nowrap"> "Earth",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_49">49</td><td nowrap="nowrap"> "Mars",</td><td class="diff_next"></td><td class="diff_header" id="to12_51">51</td><td nowrap="nowrap"> "Mars",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_50">50</td><td nowrap="nowrap"> "Jupyter",</td><td class="diff_next"></td><td class="diff_header" id="to12_52">52</td><td nowrap="nowrap"> "Jupyter",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_51">51</td><td nowrap="nowrap"> "Saturn",</td><td class="diff_next"></td><td class="diff_header" id="to12_53">53</td><td nowrap="nowrap"> "Saturn",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_52">52</td><td nowrap="nowrap"> "Uranus",</td><td class="diff_next"></td><td class="diff_header" id="to12_54">54</td><td nowrap="nowrap"> "Uranus",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_53">53</td><td nowrap="nowrap"> "Neptune",</td><td class="diff_next"></td><td class="diff_header" id="to12_55">55</td><td nowrap="nowrap"> "Neptune",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_54">54</td><td nowrap="nowrap"> "Pluto",</td><td class="diff_next"></td><td class="diff_header" id="to12_56">56</td><td nowrap="nowrap"> "Pluto",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_55">55</td><td nowrap="nowrap">)</td><td class="diff_next"></td><td class="diff_header" id="to12_57">57</td><td nowrap="nowrap">)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_56">56</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_58">58</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_57">57</td><td nowrap="nowrap">cruises = (</td><td class="diff_next"></td><td class="diff_header" id="to12_59">59</td><td nowrap="nowrap">cruises = (</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_58">58</td><td nowrap="nowrap"> "The Sun and Earth",</td><td class="diff_next"></td><td class="diff_header" id="to12_60">60</td><td nowrap="nowrap"> "The Sun and Earth",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_59">59</td><td nowrap="nowrap"> "The Hottest Planets Tour",</td><td class="diff_next"></td><td class="diff_header" id="to12_61">61</td><td nowrap="nowrap"> "The Hottest Planets Tour",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_60">60</td><td nowrap="nowrap"> "The Cold Planets Expedition",</td><td class="diff_next"></td><td class="diff_header" id="to12_62">62</td><td nowrap="nowrap"> "The Cold Planets Expedition",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_61">61</td><td nowrap="nowrap"> "The Central Planets Expedition",</td><td class="diff_next"></td><td class="diff_header" id="to12_63">63</td><td nowrap="nowrap"> "The Central Planets Expedition",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_62">62</td><td nowrap="nowrap"> "The Grand Solar System Tour",</td><td class="diff_next"></td><td class="diff_header" id="to12_64">64</td><td nowrap="nowrap"> "The Grand Solar System Tour",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_63">63</td><td nowrap="nowrap">)</td><td class="diff_next"></td><td class="diff_header" id="to12_65">65</td><td nowrap="nowrap">)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_64">64</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_66">66</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_65">65</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_67">67</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_66">66</td><td nowrap="nowrap">@pytest.mark.parametrize(</td><td class="diff_next"></td><td class="diff_header" id="to12_68">68</td><td nowrap="nowrap">@pytest.mark.parametrize(</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_67">67</td><td nowrap="nowrap"> "destination",</td><td class="diff_next"></td><td class="diff_header" id="to12_69">69</td><td nowrap="nowrap"> "destination",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_68">68</td><td nowrap="nowrap"> destinations,</td><td class="diff_next"></td><td class="diff_header" id="to12_70">70</td><td nowrap="nowrap"> destinations,</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_69">69</td><td nowrap="nowrap">)</td><td class="diff_next"></td><td class="diff_header" id="to12_71">71</td><td nowrap="nowrap">)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_70">70</td><td nowrap="nowrap">def test_destination_options(</td><td class="diff_next"></td><td class="diff_header" id="to12_72">72</td><td nowrap="nowrap">def test_destination_options(</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_71">71</td><td nowrap="nowrap"> page: Page,</td><td class="diff_next"></td><td class="diff_header" id="to12_73">73</td><td nowrap="nowrap"> page: Page,</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_72">72</td><td nowrap="nowrap"> live_server_url: str,</td><td class="diff_next"></td><td class="diff_header" id="to12_74">74</td><td nowrap="nowrap"> live_server_url: str,</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_73">73</td><td nowrap="nowrap"> destination,</td><td class="diff_next"></td><td class="diff_header" id="to12_75">75</td><td nowrap="nowrap"> destination,</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_74">74</td><td nowrap="nowrap">):</td><td class="diff_next"></td><td class="diff_header" id="to12_76">76</td><td nowrap="nowrap">):</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_75">75</td><td nowrap="nowrap"> """Test that the destinations page loads with seeded data"""</td><td class="diff_next"></td><td class="diff_header" id="to12_77">77</td><td nowrap="nowrap"> """Test that the destinations page loads with seeded data"""</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_76">76</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_78">78</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_77">77</td><td nowrap="nowrap"> # Create a destination</td><td class="diff_next"></td><td class="diff_header" id="to12_79">79</td><td nowrap="nowrap"> # Create a destination</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_78">78</td><td nowrap="nowrap"> page.goto(live_server_url)</td><td class="diff_next"></td><td class="diff_header" id="to12_80">80</td><td nowrap="nowrap"> page.goto(live_server_url)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_79">79</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_81">81</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_80">80</td><td nowrap="nowrap"> page.get_by_role("link", name="Destinations").click()</td><td class="diff_next"></td><td class="diff_header" id="to12_82">82</td><td nowrap="nowrap"> page.get_by_role("link", name="Destinations").click()</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_81">81</td><td nowrap="nowrap"> expect(page).to_have_title("ReleCloud - Destinations")</td><td class="diff_next"></td><td class="diff_header" id="to12_83">83</td><td nowrap="nowrap"> expect(page).to_have_title("ReleCloud - Destinations")</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_82">82</td><td nowrap="nowrap"> expect(page.get_by_text(destination)).to_be_visible()</td><td class="diff_next"></td><td class="diff_header" id="to12_84">84</td><td nowrap="nowrap"> expect(page.get_by_text(destination)).to_be_visible()</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_83">83</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_85">85</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to12__1"></td><td class="diff_header" id="from12_84">84</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_86">86</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_85">85</td><td nowrap="nowrap">@pytest.mark.parametrize(</td><td class="diff_next"></td><td class="diff_header" id="to12_87">87</td><td nowrap="nowrap">@pytest.mark.parametrize(</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_86">86</td><td nowrap="nowrap"> "destination",</td><td class="diff_next"></td><td class="diff_header" id="to12_88">88</td><td nowrap="nowrap"> "destination",</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_87">87</td><td nowrap="nowrap"> destinations,</td><td class="diff_next"></td><td class="diff_header" id="to12_89">89</td><td nowrap="nowrap"> destinations,</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_88">88</td><td nowrap="nowrap">)</td><td class="diff_next"></td><td class="diff_header" id="to12_90">90</td><td nowrap="nowrap">)</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to12__2">n</a></td><td class="diff_header" id="from12_89">89</td><td nowrap="nowrap"><span class="diff_sub">def test_destination_options_have_cruises(page: Page, live_server_url: str, destination):</span></td><td class="diff_next"><a href="#difflib_chg_to12__2">n</a></td><td class="diff_header" id="to12_91">91</td><td nowrap="nowrap"><span class="diff_add">def test_destination_options_have_cruises(</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_92">92</td><td nowrap="nowrap"><span class="diff_add"> page: Page, live_server_url: str, destination</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_93">93</td><td nowrap="nowrap"><span class="diff_add">):</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_90">90</td><td nowrap="nowrap"> page.goto(live_server_url)</td><td class="diff_next"></td><td class="diff_header" id="to12_94">94</td><td nowrap="nowrap"> page.goto(live_server_url)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_91">91</td><td nowrap="nowrap"> page.get_by_role("link", name="Destinations").click()</td><td class="diff_next"></td><td class="diff_header" id="to12_95">95</td><td nowrap="nowrap"> page.get_by_role("link", name="Destinations").click()</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_92">92</td><td nowrap="nowrap"> page.get_by_role("link", name=destination).click()</td><td class="diff_next"></td><td class="diff_header" id="to12_96">96</td><td nowrap="nowrap"> page.get_by_role("link", name=destination).click()</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_93">93</td><td nowrap="nowrap"> expect(page).to_have_url(re.compile(r".*destination/\d+", re.IGNORECASE))</td><td class="diff_next"></td><td class="diff_header" id="to12_97">97</td><td nowrap="nowrap"> expect(page).to_have_url(re.compile(r".*destination/\d+", re.IGNORECASE))</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_94">94</td><td nowrap="nowrap"> expect(page).to_have_title(f"ReleCloud - {destination}")</td><td class="diff_next"></td><td class="diff_header" id="to12_98">98</td><td nowrap="nowrap"> expect(page).to_have_title(f"ReleCloud - {destination}")</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_95">95</td><td nowrap="nowrap"> expect(page.locator("#page-title")).to_have_text(destination)</td><td class="diff_next"></td><td class="diff_header" id="to12_99">99</td><td nowrap="nowrap"> expect(page.locator("#page-title")).to_have_text(destination)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_96">96</td><td nowrap="nowrap"> page_cruises = page.locator(".list-group-item").all()</td><td class="diff_next"></td><td class="diff_header" id="to12_100">100</td><td nowrap="nowrap"> page_cruises = page.locator(".list-group-item").all()</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_97">97</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_101">101</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_98">98</td><td nowrap="nowrap"> for page_cruise in page_cruises:</td><td class="diff_next"></td><td class="diff_header" id="to12_102">102</td><td nowrap="nowrap"> for page_cruise in page_cruises:</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_99">99</td><td nowrap="nowrap"> assert page_cruise.text_content() in cruises</td><td class="diff_next"></td><td class="diff_header" id="to12_103">103</td><td nowrap="nowrap"> assert page_cruise.text_content() in cruises</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_100">100</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_104">104</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next" id="difflib_chg_to12__2"></td><td class="diff_header" id="from12_101">101</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_105">105</td><td nowrap="nowrap"></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_102">102</td><td nowrap="nowrap">def test_about(page: Page, live_server_url: str):</td><td class="diff_next"></td><td class="diff_header" id="to12_106">106</td><td nowrap="nowrap">def test_about(page: Page, live_server_url: str):</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_103">103</td><td nowrap="nowrap"> """Test that the request info form page loads"""</td><td class="diff_next"></td><td class="diff_header" id="to12_107">107</td><td nowrap="nowrap"> """Test that the request info form page loads"""</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_104">104</td><td nowrap="nowrap"> page.goto(live_server_url)</td><td class="diff_next"></td><td class="diff_header" id="to12_108">108</td><td nowrap="nowrap"> page.goto(live_server_url)</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from12_105">105</td><td nowrap="nowrap"> page.get_by_role("link", name="About").click()</td><td class="diff_next"></td><td class="diff_header" id="to12_109">109</td><td nowrap="nowrap"> page.get_by_role("link", name="About").click()</td></tr> | |
<tr><td class="diff_next"><a href="#difflib_chg_to12__top">t</a></td><td class="diff_header" id="from12_106">106</td><td nowrap="nowrap"><span class="diff_sub"> expect(page.locator("#page-title")).to_have_text(re.compile(r".*about.*", re.IGNORECASE))</span></td><td class="diff_next"><a href="#difflib_chg_to12__top">t</a></td><td class="diff_header" id="to12_110">110</td><td nowrap="nowrap"><span class="diff_add"> expect(page.locator("#page-title")).to_have_text(</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_111">111</td><td nowrap="nowrap"><span class="diff_add"> re.compile(r".*about.*", re.IGNORECASE)</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to12_112">112</td><td nowrap="nowrap"><span class="diff_add"> )</span></td></tr> | |
</tbody> | |
</table> | |
<table class="diff" summary="Legends"> | |
<tr> <th colspan="2"> Legends </th> </tr> | |
<tr> <td> <table border="" summary="Colors"> | |
<tr><th> Colors </th> </tr> | |
<tr><td class="diff_add"> Added </td></tr> | |
<tr><td class="diff_chg">Changed</td> </tr> | |
<tr><td class="diff_sub">Deleted</td> </tr> | |
</table></td> | |
<td> <table border="" summary="Links"> | |
<tr><th colspan="2"> Links </th> </tr> | |
<tr><td>(f)irst change</td> </tr> | |
<tr><td>(n)ext change</td> </tr> | |
<tr><td>(t)op</td> </tr> | |
</table></td> </tr> | |
</table> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment