Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Feb 16, 2024
1 parent 3cd7331 commit c2f8c06
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _modules/CveXplore/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,9 @@ <h1>Source code for CveXplore.main</h1><div class="highlight"><pre>
<span class="n">database_init_parameters</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">datasource_connection_details</span><span class="p">,</span>
<span class="p">)</span><span class="o">.</span><span class="n">database_connection</span>
<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">datasource_type</span> <span class="o">!=</span> <span class="s2">&quot;api&quot;</span><span class="p">:</span>
<span class="bp">self</span><span class="o">.</span><span class="n">database</span> <span class="o">=</span> <span class="n">MainUpdater</span><span class="p">(</span><span class="n">datasource</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">datasource</span><span class="p">,</span> <span class="n">datasource_type</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">datasource_type</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">database</span> <span class="o">=</span> <span class="n">MainUpdater</span><span class="p">(</span>
<span class="n">datasource</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">datasource</span><span class="p">,</span> <span class="n">datasource_type</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">datasource_type</span>
<span class="p">)</span>

<span class="bp">self</span><span class="o">.</span><span class="n">_database_mapping</span> <span class="o">=</span> <span class="n">database_mapping</span>

Expand Down

0 comments on commit c2f8c06

Please sign in to comment.