codemie-sdk-python 0.1.701__py3-none-any.whl → 0.1.702__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.
@@ -1,4 +1,5 @@
1
1
  import re
2
+ import warnings
2
3
  from datetime import datetime
3
4
  from enum import Enum
4
5
  from typing import Tuple
@@ -387,7 +388,14 @@ class UpdateXWikiDataSourceRequest(BaseUpdateDataSourceRequest, XWiki):
387
388
 
388
389
 
389
390
  class CodeAnalysisDataSourceRequest(BaseModel):
390
- """Model for provider-based datasource creation requests"""
391
+ """Model for provider-based datasource creation requests.
392
+
393
+ Deprecated: targets the standalone 'CodeAnalysisServiceProvider', which
394
+ the combined AICE provider (CodeExplorationToolkit) has superseded for
395
+ datasource creation. Kept for now since we have not confirmed that
396
+ provider type is fully retired on every deployment — use
397
+ CodeExplorationDataSourceRequest for new code.
398
+ """
391
399
 
392
400
  model_config = ConfigDict(extra="ignore", populate_by_name=True)
393
401
 
@@ -405,6 +413,16 @@ class CodeAnalysisDataSourceRequest(BaseModel):
405
413
  )
406
414
  datasource_root: str = Field("/", description="Root directory to analyze")
407
415
 
416
+ def __init__(self, **data):
417
+ warnings.warn(
418
+ "CodeAnalysisDataSourceRequest targets the standalone "
419
+ "'CodeAnalysisServiceProvider', superseded by the combined AICE "
420
+ "provider. Use CodeExplorationDataSourceRequest instead.",
421
+ DeprecationWarning,
422
+ stacklevel=2,
423
+ )
424
+ super().__init__(**data)
425
+
408
426
 
409
427
  class CodeExplorationDataSourceRequest(BaseModel):
410
428
  """Model for CodeExplorationToolkit datasource creation requests"""
@@ -417,10 +435,12 @@ class CodeExplorationDataSourceRequest(BaseModel):
417
435
  project_space_visible: bool = Field(
418
436
  False, description="Make the datasource visible to the whole project"
419
437
  )
420
- code_analysis_datasource_ids: list[str] = Field(
421
- ...,
438
+ code_analysis_datasource_ids: list[str] | None = Field(
439
+ None,
422
440
  alias="code_analysis_datasource_ids",
423
- description="List of CodeAnalysisToolkit datasource IDs",
441
+ description="List of CodeAnalysisToolkit datasource IDs. Optional: the "
442
+ "combined AICE provider creates a CodeExplorationToolkit datasource from "
443
+ "name/description alone, with no separate CodeAnalysisToolkit datasources.",
424
444
  )
425
445
 
426
446
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codemie-sdk-python
3
- Version: 0.1.701
3
+ Version: 0.1.702
4
4
  Summary: CodeMie SDK for Python
5
5
  License: Apache-2.0
6
6
  Author: CodeMie
@@ -19,7 +19,7 @@ codemie_sdk/models/categories.py,sha256=eq7_sw-sevNLeWpjaW3N055Xcgbbevs0Bl_rj--m
19
19
  codemie_sdk/models/common.py,sha256=ipNNdQlv4Ct1UyIAknjJbrdjjvv0lZJYK6dnPm8wai4,1170
20
20
  codemie_sdk/models/conversation.py,sha256=r5gV5BD-Euj4OfeLYn6NBiO-S6uFQtwACVobvFgLUcA,10204
21
21
  codemie_sdk/models/cost_center.py,sha256=X2hyQ2iewtbG5y9X5qUh1roZ0MJs_i7Vh0Ojh9aut8I,1597
22
- codemie_sdk/models/datasource.py,sha256=NOI7w9pVBhEvDnAM8PpeZc8108y7_angEdOfFQIgpK0,17110
22
+ codemie_sdk/models/datasource.py,sha256=RC4CCsGjUDnjzTxBV8XjhvXulUZiYjiaqMclWolxSTc,18034
23
23
  codemie_sdk/models/errors.py,sha256=tQXoPUhM2U95NoyTxsSSJws8PQ-Fr3iOQQ8IjJCsx78,11658
24
24
  codemie_sdk/models/file_operation.py,sha256=h5UBCCAbQQGm1EavF0AHn_dNE2t_Cc9be20lv_K5Vo8,722
25
25
  codemie_sdk/models/guardrails.py,sha256=813PRnu9VEF6hoUB-lw5xG_qAZXPic38qL40AwYkSMQ,2114
@@ -76,6 +76,6 @@ codemie_sdk/services/workflow_execution_state.py,sha256=u1xmGvaHjqvQS5ujhyvJ_Ac7
76
76
  codemie_sdk/services/workspace.py,sha256=eLwZ0fhi1BfOesrXaQlTdOll8q7ENP9b_jb5eybKSVw,5038
77
77
  codemie_sdk/utils/__init__.py,sha256=EzK_UrS5KHmAnE73Hci9LaObB5omjVUhIq4svh0gfwo,137
78
78
  codemie_sdk/utils/http.py,sha256=PWejBKa5pwzQ5eLVhdN8lYKEu1B1QtwGTRmZfnGFL6c,14158
79
- codemie_sdk_python-0.1.701.dist-info/METADATA,sha256=ye87_G2DgsAEL7He18o7mhNeb9h6rxXdXTrnH8Ry2kw,47938
80
- codemie_sdk_python-0.1.701.dist-info/WHEEL,sha256=L-WvLdSBvJWHXv5zrQxDvNRnIgoBzLUpcbuiw19KCuQ,88
81
- codemie_sdk_python-0.1.701.dist-info/RECORD,,
79
+ codemie_sdk_python-0.1.702.dist-info/METADATA,sha256=dEG10eokIOazPMAme-PXYercgJQv8BGHyS1QbQv-GMg,47938
80
+ codemie_sdk_python-0.1.702.dist-info/WHEEL,sha256=L-WvLdSBvJWHXv5zrQxDvNRnIgoBzLUpcbuiw19KCuQ,88
81
+ codemie_sdk_python-0.1.702.dist-info/RECORD,,