-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deployed 606beda with MkDocs version: 1.5.3
- Loading branch information
Showing
4 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -765,7 +765,7 @@ <h2 id="pass-usernamepassword-to-client-not-recommended">Pass Username/Password | |
<p>You can directly pass a username and password to the <code>client</code> object. This is <strong>not</strong> recommended as it opens up the possibility of your credentials accidentally being committed to your code repo. However, it can be used in rare circumstances when necessary.</p> | ||
<div class="highlight"><pre><span></span><code><span class="kn">from</span> <span class="nn">chemcloud</span> <span class="kn">import</span> <span class="n">CCClient</span> | ||
<span class="n">client</span> <span class="o">=</span> <span class="n">CCClient</span><span class="p">(</span> | ||
<span class="n">CHEMCLOUD_username</span><span class="o">=</span><span class="s2">"[email protected]"</span><span class="p">,</span> <span class="n">CHEMCLOUD_password</span><span class="o">=</span><span class="s2">"super_secret_password"</span> <span class="c1"># pragma: allowlist secret</span> | ||
<span class="n">chemcloud_username</span><span class="o">=</span><span class="s2">"[email protected]"</span><span class="p">,</span> <span class="n">chemcloud_password</span><span class="o">=</span><span class="s2">"super_secret_password"</span> <span class="c1"># pragma: allowlist secret</span> | ||
<span class="p">)</span> | ||
</code></pre></div> | ||
|
||
|