superdup95
commited on
Commit
•
7d9aae6
1
Parent(s):
d60008d
Update api_usage.py
Browse files- api_usage.py +2 -3
api_usage.py
CHANGED
@@ -418,7 +418,7 @@ def check_key_aws_availability(key):
|
|
418 |
username = check_username(session)
|
419 |
#print(username)
|
420 |
if not username[0]:
|
421 |
-
return False, "", "", "", "", username[1], ""
|
422 |
|
423 |
if username[0] == 'root':
|
424 |
root = True
|
@@ -434,8 +434,7 @@ def check_key_aws_availability(key):
|
|
434 |
quarantine = True
|
435 |
|
436 |
enable_region = check_bedrock_invoke(session)
|
437 |
-
|
438 |
-
enable_region_sonnet = "None"
|
439 |
if enable_region[0]:
|
440 |
enable_region_v2 = enable_region[0]
|
441 |
if enable_region[1]:
|
|
|
418 |
username = check_username(session)
|
419 |
#print(username)
|
420 |
if not username[0]:
|
421 |
+
return False, "", "", "", "", username[1], "", ""
|
422 |
|
423 |
if username[0] == 'root':
|
424 |
root = True
|
|
|
434 |
quarantine = True
|
435 |
|
436 |
enable_region = check_bedrock_invoke(session)
|
437 |
+
|
|
|
438 |
if enable_region[0]:
|
439 |
enable_region_v2 = enable_region[0]
|
440 |
if enable_region[1]:
|