codemie-sdk-python 0.1.153__py3-none-any.whl → 0.1.155__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 codemie-sdk-python might be problematic. Click here for more details.

@@ -36,14 +36,15 @@ class KeycloakCredentials:
36
36
  self.password = password
37
37
  self.verify_ssl = verify_ssl
38
38
 
39
- if not ((client_id and client_secret) or (username and password)):
39
+ def get_token(self) -> str:
40
+ """Get access token using either client credentials or password grant."""
41
+ if not (
42
+ (self.client_id and self.client_secret) or (self.username and self.password)
43
+ ):
40
44
  raise ValueError(
41
45
  "Either client credentials (client_id, client_secret) or "
42
46
  "user credentials (username, password) must be provided"
43
47
  )
44
-
45
- def get_token(self) -> str:
46
- """Get access token using either client credentials or password grant."""
47
48
  url = (
48
49
  f"{self.server_url}/realms/{self.realm_name}/protocol/openid-connect/token"
49
50
  )
@@ -36,6 +36,7 @@ class CredentialTypes(str, Enum):
36
36
  A2A = "A2A"
37
37
  MCP = "MCP"
38
38
  LITE_LLM = "LiteLLM"
39
+ REPORT_PORTAL = "ReportPortal"
39
40
 
40
41
 
41
42
  class IntegrationType(str, Enum):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: codemie-sdk-python
3
- Version: 0.1.153
3
+ Version: 0.1.155
4
4
  Summary: CodeMie SDK for Python
5
5
  Author: Vadym Vlasenko
6
6
  Author-email: vadym_vlasenko@epam.com
@@ -1,6 +1,6 @@
1
1
  codemie_sdk/__init__.py,sha256=leeACpTc2113BsY_IgO-ceFHPrQKC2WhuOfuuyyIqDE,567
2
2
  codemie_sdk/auth/__init__.py,sha256=IksEj223xEZtJ-cQ0AT9L0Bs9psIJ8QNzDXrPTUQ3xQ,126
3
- codemie_sdk/auth/credentials.py,sha256=u2eLNsD8fELTgreQghVb0g0kk82zchUkux0M5lzq-u8,4320
3
+ codemie_sdk/auth/credentials.py,sha256=OzR_CXPBNTEC6VmNdzcCHF7rWWGrVf3agAlGKgPtTiU,4361
4
4
  codemie_sdk/client/__init__.py,sha256=yf6C39MmrJ6gK9ZHMhBeynKwUUYVSUTQbKxU8-4qpKg,101
5
5
  codemie_sdk/client/client.py,sha256=6yXXNYF4m1vh_0UMPENaxL39hmt_wdPF_b5NtsKMJQQ,5174
6
6
  codemie_sdk/exceptions.py,sha256=XoVPyognx-JmyVxLHkZPAcX1CMi1OoT1diBFJLU54so,1183
@@ -9,7 +9,7 @@ codemie_sdk/models/assistant.py,sha256=w0Oc4ArB-Rf6KiBjhVMVJgbmXpd48Tdt-dGLJJ7qJ
9
9
  codemie_sdk/models/common.py,sha256=gmZ-ps8TbaieNKr0kUKoQEjhVrHD2CAYomOpZQRatH8,1195
10
10
  codemie_sdk/models/conversation.py,sha256=Nax_3hkK1ce7Nz5bS1qFJ4wCYfsADuNYGN4bXL3-ABk,3958
11
11
  codemie_sdk/models/datasource.py,sha256=yCFB_wg9Lo2V6mzF2N3lsVBXJoyc8pyfMgMZUorn0ng,10852
12
- codemie_sdk/models/integration.py,sha256=aJ2DQPhU4vcAgX8WUWrB8cbJKjqqvw2FHHjq0aiIlps,2293
12
+ codemie_sdk/models/integration.py,sha256=IxTbbyEHsD8HWWFDtZDoWuE1ZwR9wwiBk3XUwlf1KZI,2328
13
13
  codemie_sdk/models/llm.py,sha256=ppb9-1dx1UFhRuJpSR3ij7H6Pfhe9nO4C4BEOIbToy4,1192
14
14
  codemie_sdk/models/task.py,sha256=J4ZFRY3s8qBGrqB5NLQF0rMbInLh4s7OEZ0ZfmnW0Ho,1476
15
15
  codemie_sdk/models/user.py,sha256=Q0rjimZh-IbeaPfq6b6fk6ZaCtwLqWHEIlU863suCS4,1777
@@ -27,6 +27,6 @@ codemie_sdk/services/workflow_execution.py,sha256=aGoT3rdTmh5-doAsrmBBjLEuOfvL5a
27
27
  codemie_sdk/services/workflow_execution_state.py,sha256=tXoaa8yT09xgYEUNiHhVULe76TwGwVgZupMIUyyLxdo,2070
28
28
  codemie_sdk/utils/__init__.py,sha256=BXAJJfAzO89-kMYvWWo9wSNhSbGgF3vB1In9sePFhMM,109
29
29
  codemie_sdk/utils/http.py,sha256=ZtXb-hlwqXmjSTKRncgO-9MYoXnmHt2Dljno0kPy7mA,9506
30
- codemie_sdk_python-0.1.153.dist-info/METADATA,sha256=WHSCKoioxXq4KHOvgYmihq8LtPVKo64DiK0KKNsakL4,24494
31
- codemie_sdk_python-0.1.153.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
32
- codemie_sdk_python-0.1.153.dist-info/RECORD,,
30
+ codemie_sdk_python-0.1.155.dist-info/METADATA,sha256=zRNbrjnBgefS1fiPRUrEUPnG-GO8B5TvFxvmRDTksTA,24494
31
+ codemie_sdk_python-0.1.155.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
32
+ codemie_sdk_python-0.1.155.dist-info/RECORD,,