kobai-sdk 0.3.5rc1__tar.gz → 0.3.5rc3__tar.gz

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.
Files changed (23) hide show
  1. {kobai_sdk-0.3.5rc1/kobai_sdk.egg-info → kobai_sdk-0.3.5rc3}/PKG-INFO +1 -1
  2. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/kobai/mobi_config.py +1 -1
  3. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/kobai/tenant_client.py +3 -2
  4. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3/kobai_sdk.egg-info}/PKG-INFO +1 -1
  5. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/pyproject.toml +1 -1
  6. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/LICENSE +0 -0
  7. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/MANIFEST.in +0 -0
  8. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/README.md +0 -0
  9. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/kobai/__init__.py +0 -0
  10. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/kobai/ai_query.py +0 -0
  11. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/kobai/ai_rag.py +0 -0
  12. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/kobai/databricks_client.py +0 -0
  13. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/kobai/demo_tenant_client.py +0 -0
  14. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/kobai/genie.py +0 -0
  15. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/kobai/mobi.py +0 -0
  16. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/kobai/ms_authenticate.py +0 -0
  17. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/kobai/spark_client.py +0 -0
  18. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/kobai/tenant_api.py +0 -0
  19. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/kobai_sdk.egg-info/SOURCES.txt +0 -0
  20. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/kobai_sdk.egg-info/dependency_links.txt +0 -0
  21. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/kobai_sdk.egg-info/requires.txt +0 -0
  22. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/kobai_sdk.egg-info/top_level.txt +0 -0
  23. {kobai_sdk-0.3.5rc1 → kobai_sdk-0.3.5rc3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kobai-sdk
3
- Version: 0.3.5rc1
3
+ Version: 0.3.5rc3
4
4
  Summary: A package that enables interaction with a Kobai tenant.
5
5
  Author-email: Ryan Oattes <ryan@kobai.io>
6
6
  License: Apache License
@@ -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"
@@ -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(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kobai-sdk
3
- Version: 0.3.5rc1
3
+ Version: 0.3.5rc3
4
4
  Summary: A package that enables interaction with a Kobai tenant.
5
5
  Author-email: Ryan Oattes <ryan@kobai.io>
6
6
  License: Apache License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "kobai-sdk"
7
- version = "0.3.5rc1"
7
+ version = "0.3.5rc3"
8
8
  description = "A package that enables interaction with a Kobai tenant."
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Ryan Oattes", email = "ryan@kobai.io" }]
File without changes
File without changes
File without changes
File without changes
File without changes