-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π₯ Remove password arg from API (#839)
* π₯ Remove password arg from API * π Attempt fixing test * β»οΈ Install from github * Fix install
- Loading branch information
Showing
4 changed files
with
13 additions
and
22 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -55,7 +55,7 @@ | |
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"If we add an email or handle it looks up the password from the stored env file (`lamin login [email protected]`):" | ||
"If we add an email or handle it looks up credentials from the stored env file (`lamin login [email protected]`):" | ||
] | ||
}, | ||
{ | ||
|
@@ -103,15 +103,15 @@ | |
"outputs": [], | ||
"source": [ | ||
"with pytest.raises(SystemExit):\n", | ||
" ln_setup.login(\"testuser1\", password=\"dummy\")" | ||
" ln_setup.login(\"testuser1\", key=\"dummy\")" | ||
] | ||
}, | ||
{ | ||
"attachments": {}, | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"If we try to login without password, this will error:" | ||
"If we try to login without key, this will error:" | ||
] | ||
}, | ||
{ | ||
|
@@ -129,7 +129,7 @@ | |
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"If we try login with a wrong password, this will error:" | ||
"If we try login with a wrong key, this will error:" | ||
] | ||
}, | ||
{ | ||
|
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
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
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