codemie-sdk-python 0.1.90__py3-none-any.whl → 0.1.91__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.

codemie_sdk/__init__.py CHANGED
@@ -19,5 +19,5 @@ Basic usage:
19
19
 
20
20
  from .client.client import CodeMieClient
21
21
 
22
- __version__ = "0.1.24"
22
+ __version__ = "0.1.25"
23
23
  __all__ = ["CodeMieClient"]
@@ -161,16 +161,20 @@ class DatasourceService:
161
161
  params["sort_key"] = sort_key
162
162
  params["sort_order"] = sort_order
163
163
 
164
+ unified_filters = {}
164
165
  if datasource_types:
165
- params["index_type"] = datasource_types
166
+ unified_filters["index_type"] = datasource_types
166
167
  if projects:
167
- params["project"] = projects
168
+ unified_filters["project"] = projects
168
169
  if status:
169
- params["status"] = status.value
170
+ unified_filters["status"] = status.value
170
171
  if owner:
171
- params["created_by"] = owner
172
+ unified_filters["created_by"] = owner
172
173
  if filters:
173
- params["filters"] = json.dumps(filters)
174
+ unified_filters.update(filters)
175
+ if unified_filters:
176
+ params["filters"] = json.dumps(unified_filters)
177
+
174
178
  return self._api.get("/v1/index", List[DataSource], params=params)
175
179
 
176
180
  def get(self, datasource_id: str) -> DataSource:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: codemie-sdk-python
3
- Version: 0.1.90
3
+ Version: 0.1.91
4
4
  Summary: CodeMie SDK for Python
5
5
  Author: Vadym Vlasenko
6
6
  Author-email: vadym_vlasenko@epam.com
@@ -1,4 +1,4 @@
1
- codemie_sdk/__init__.py,sha256=G9qZsljJ27VMX2-PS9L7q6PHR8imeP7zXHBu9DyVetc,567
1
+ codemie_sdk/__init__.py,sha256=leeACpTc2113BsY_IgO-ceFHPrQKC2WhuOfuuyyIqDE,567
2
2
  codemie_sdk/auth/__init__.py,sha256=IksEj223xEZtJ-cQ0AT9L0Bs9psIJ8QNzDXrPTUQ3xQ,126
3
3
  codemie_sdk/auth/credentials.py,sha256=u2eLNsD8fELTgreQghVb0g0kk82zchUkux0M5lzq-u8,4320
4
4
  codemie_sdk/client/__init__.py,sha256=yf6C39MmrJ6gK9ZHMhBeynKwUUYVSUTQbKxU8-4qpKg,101
@@ -15,7 +15,7 @@ codemie_sdk/models/user.py,sha256=Q0rjimZh-IbeaPfq6b6fk6ZaCtwLqWHEIlU863suCS4,17
15
15
  codemie_sdk/models/workflow.py,sha256=pr8ap_70pzv3Ugvdo4RivNOFyoQVr1E5fze2O87L4gM,2431
16
16
  codemie_sdk/models/workflow_state.py,sha256=CMYFQZ7sy4QxmnWmc83TFfqP7TG_3rW5MdH5fxsS9kY,1251
17
17
  codemie_sdk/services/assistant.py,sha256=hd5_Bt6Cuf8_hOcnYIi6-S1z7PuCE3zXwf0U9UAMPlY,7885
18
- codemie_sdk/services/datasource.py,sha256=gIP9D-sq4733x9f0mWL87bMI1pWYxIsv5eYXkAs0O6Q,7150
18
+ codemie_sdk/services/datasource.py,sha256=SCykr3t9QEaZVhjNgGT_PU8Ngg0MAdu2BB-6xrHz8Dg,7296
19
19
  codemie_sdk/services/integration.py,sha256=SdwFwR3hCPyJYilzzlkpKPLNbO89nfqmIXXoT7bDEBI,5410
20
20
  codemie_sdk/services/llm.py,sha256=0-e4_7RvLHs2giCyoQ5U4KDTh6p5VXgPKNxnDP9ZDFU,1100
21
21
  codemie_sdk/services/task.py,sha256=3e9t8_LMkR4xfeMBwMCo7ZF87PxPS-ZbzDg85ilda2M,1031
@@ -25,6 +25,6 @@ codemie_sdk/services/workflow_execution.py,sha256=aGoT3rdTmh5-doAsrmBBjLEuOfvL5a
25
25
  codemie_sdk/services/workflow_execution_state.py,sha256=tXoaa8yT09xgYEUNiHhVULe76TwGwVgZupMIUyyLxdo,2070
26
26
  codemie_sdk/utils/__init__.py,sha256=BXAJJfAzO89-kMYvWWo9wSNhSbGgF3vB1In9sePFhMM,109
27
27
  codemie_sdk/utils/http.py,sha256=FWU56W_-vBGbHfX1EC1zsoRjDoNCyNK2HCdNb4IkQVc,9233
28
- codemie_sdk_python-0.1.90.dist-info/METADATA,sha256=nQPmNJMB9RV_PLoh90xUwUFExoVwd1IqGGWID4K-oqY,23620
29
- codemie_sdk_python-0.1.90.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
30
- codemie_sdk_python-0.1.90.dist-info/RECORD,,
28
+ codemie_sdk_python-0.1.91.dist-info/METADATA,sha256=Me3ufZvfABCChh7gSdJw2qsi6Dr3rA8QsMnds6VAp1Y,23620
29
+ codemie_sdk_python-0.1.91.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
30
+ codemie_sdk_python-0.1.91.dist-info/RECORD,,