Skip to content

Commit d5c65f5

Browse files
committed
changed init files to remove author
1 parent faa1d66 commit d5c65f5

File tree

13 files changed

+14
-350
lines changed

13 files changed

+14
-350
lines changed

build/lib/cloudshell/__init__.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

build/lib/cloudshell/sandbox_rest/__init__.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

build/lib/cloudshell/sandbox_rest/flow_helpers.py

Whitespace-only changes.

build/lib/cloudshell/sandbox_rest/sandbox_api.py

Lines changed: 0 additions & 331 deletions
This file was deleted.

cloudshell/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
__author__ = "quali"
21
from pkgutil import extend_path
3-
42
__path__ = extend_path(__path__, __name__)
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
__author__ = "quali"
21
from pkgutil import extend_path
3-
42
__path__ = extend_path(__path__, __name__)
0 Bytes
Binary file not shown.
245 Bytes
Binary file not shown.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from pkgutil import extend_path
2+
3+
__path__ = extend_path(__path__, __name__)

cloudshell/sandbox_rest/sandbox_api.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import json
2-
import time
32
from dataclasses import asdict, dataclass
43
from typing import List
5-
64
import requests
75

86

@@ -428,11 +426,13 @@ def delete_execution(self, execution_id: str):
428426

429427

430428
if __name__ == "__main__":
431-
TARGET_END_USER = "domain_admin"
432429
TARGET_END_USER = "natti"
430+
TARGET_DOMAIN = "end_users"
431+
TARGET_DOMAIN = "Global"
433432

434-
admin_api = SandboxRestApiSession(host="localhost", username="admin", password="admin")
435-
433+
# admin_api = SandboxRestApiSession(host="localhost", username="admin", password="admin", domain=TARGET_DOMAIN)
434+
admin_api = SandboxRestApiSession(host="localhost", username="admin", password="admin", domain=TARGET_DOMAIN)
435+
from cloudshell.api.cloudshell_api import CloudShellAPISession
436436
with admin_api:
437437
all_sandboxes = admin_api.get_sandboxes()
438438
print(f"Sandbox count pulled by system admin: {len(all_sandboxes)}")

0 commit comments

Comments
 (0)