kobai-sdk 0.3.5rc1__py3-none-any.whl → 0.3.5rc3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of kobai-sdk might be problematic. Click here for more details.
- kobai/mobi_config.py +1 -1
- kobai/tenant_client.py +3 -2
- {kobai_sdk-0.3.5rc1.dist-info → kobai_sdk-0.3.5rc3.dist-info}/METADATA +1 -1
- {kobai_sdk-0.3.5rc1.dist-info → kobai_sdk-0.3.5rc3.dist-info}/RECORD +7 -7
- {kobai_sdk-0.3.5rc1.dist-info → kobai_sdk-0.3.5rc3.dist-info}/WHEEL +0 -0
- {kobai_sdk-0.3.5rc1.dist-info → kobai_sdk-0.3.5rc3.dist-info}/licenses/LICENSE +0 -0
- {kobai_sdk-0.3.5rc1.dist-info → kobai_sdk-0.3.5rc3.dist-info}/top_level.txt +0 -0
kobai/mobi_config.py
CHANGED
|
@@ -11,7 +11,7 @@ class MobiSettings(BaseSettings):
|
|
|
11
11
|
mobi_password: str = "admin"
|
|
12
12
|
cookies: str = ""
|
|
13
13
|
use_cookies: bool = False
|
|
14
|
-
verify_ssl = False
|
|
14
|
+
verify_ssl: bool = False
|
|
15
15
|
|
|
16
16
|
catalog_name: str = "http://mobi.com/catalog-local"
|
|
17
17
|
default_tenant_id: str = "00000000-0000-0000-0000-000000000000"
|
kobai/tenant_client.py
CHANGED
|
@@ -73,7 +73,7 @@ class TenantClient:
|
|
|
73
73
|
"""
|
|
74
74
|
self._init_post_auth_success(access_token)
|
|
75
75
|
|
|
76
|
-
def use_access_token(self, access_token: str, id_token: str = None, tenant_id: str = None):
|
|
76
|
+
def use_access_token(self, access_token: str, id_token: str = None, tenant_id: str = None, token_provider: str = None):
|
|
77
77
|
|
|
78
78
|
"""
|
|
79
79
|
Authenticate the TenantClient with the Kobai instance. Returns nothing, but stores bearer token in client.
|
|
@@ -88,7 +88,8 @@ class TenantClient:
|
|
|
88
88
|
"tenantName" : self.tenant_name,
|
|
89
89
|
"tenantId" : tenant_id,
|
|
90
90
|
"idToken" : id_token,
|
|
91
|
-
"accessToken" : access_token
|
|
91
|
+
"accessToken" : access_token,
|
|
92
|
+
"tokenProvider" : token_provider
|
|
92
93
|
}
|
|
93
94
|
|
|
94
95
|
response = self.api_client._TenantAPI__run_post(
|
|
@@ -5,13 +5,13 @@ kobai/databricks_client.py,sha256=fyqqMly2Qm0r1AHWsQjkYeNsDdH0G1JSgTkF9KJ55qA,21
|
|
|
5
5
|
kobai/demo_tenant_client.py,sha256=wlNc-bdI2wotRXo8ppUOalv4hYdBlek_WzJNARZV-AE,9293
|
|
6
6
|
kobai/genie.py,sha256=-EbEYpu9xj_3zIXaPdwbNJEAmoeM7nb9qK-h1f_STtM,8061
|
|
7
7
|
kobai/mobi.py,sha256=1pIAdn9qKmg2zm_DnH1qAsgKr-YgH6SJJWXEzSZch38,32787
|
|
8
|
-
kobai/mobi_config.py,sha256=
|
|
8
|
+
kobai/mobi_config.py,sha256=e_O4S7YjgGOb3xEOzNDx1AELuwMwXP7F3i0kGp65IrI,531
|
|
9
9
|
kobai/ms_authenticate.py,sha256=f7t_BaxK8e-SUWoB6JliBEngF2iduF-COcCZq83H5t0,2297
|
|
10
10
|
kobai/spark_client.py,sha256=opM_F-4Ut5Hq5zZjWMuLvUps9sDULvyPNZHXGL8dW1k,776
|
|
11
11
|
kobai/tenant_api.py,sha256=Q5yuFd9_V4lo3LWzvYEEO3LpDRWFgQD4TlRPXDTGbiE,4368
|
|
12
|
-
kobai/tenant_client.py,sha256=
|
|
13
|
-
kobai_sdk-0.3.
|
|
14
|
-
kobai_sdk-0.3.
|
|
15
|
-
kobai_sdk-0.3.
|
|
16
|
-
kobai_sdk-0.3.
|
|
17
|
-
kobai_sdk-0.3.
|
|
12
|
+
kobai/tenant_client.py,sha256=RBx1ITtfQTknNxOKsAbvpsjqLv-l76lCyoK5Ux3DUoo,43544
|
|
13
|
+
kobai_sdk-0.3.5rc3.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
14
|
+
kobai_sdk-0.3.5rc3.dist-info/METADATA,sha256=xPm8un74_bVJiPG9aW0RDlHxmGB1aDSNt4UO9wVsyY4,19864
|
|
15
|
+
kobai_sdk-0.3.5rc3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
16
|
+
kobai_sdk-0.3.5rc3.dist-info/top_level.txt,sha256=ns1El3BrTTHKvoAgU1XtiSaVIudYeCXbEEUVY8HFDZ4,6
|
|
17
|
+
kobai_sdk-0.3.5rc3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|