-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update notebook links to release-1.1 (#501) * update links to release-1.1 * update links to release-1.1 * uncomment validation and test notebook breakage * Test notebooks * Fix cloudbuild error: #524 (comment) --------- Co-authored-by: Umesh Kumhar <[email protected]>
- Loading branch information
1 parent
842f53d
commit de03310
Showing
4 changed files
with
39 additions
and
202 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import requests | ||
import sys | ||
|
||
api_url = 'http://127.0.0.1:9443/hub/api' | ||
|
||
token = sys.argv[1].strip() | ||
|
||
r = requests.post(api_url + '/users/admin/server', | ||
headers = { | ||
'Authorization' : f'token {token}', | ||
}, | ||
json={}, | ||
) | ||
|
||
r.raise_for_status() |
This file was deleted.
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
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