codeset 0.1.0a5__tar.gz → 0.1.0a6__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.

Potentially problematic release.


This version of codeset might be problematic. Click here for more details.

Files changed (93) hide show
  1. codeset-0.1.0a6/.release-please-manifest.json +3 -0
  2. {codeset-0.1.0a5 → codeset-0.1.0a6}/CHANGELOG.md +8 -0
  3. {codeset-0.1.0a5 → codeset-0.1.0a6}/PKG-INFO +1 -1
  4. {codeset-0.1.0a5 → codeset-0.1.0a6}/pyproject.toml +1 -1
  5. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_version.py +1 -1
  6. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/resources/sessions/sessions.py +8 -0
  7. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_create_params.py +3 -0
  8. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/api_resources/test_sessions.py +8 -0
  9. codeset-0.1.0a5/.release-please-manifest.json +0 -3
  10. {codeset-0.1.0a5 → codeset-0.1.0a6}/.gitignore +0 -0
  11. {codeset-0.1.0a5 → codeset-0.1.0a6}/CONTRIBUTING.md +0 -0
  12. {codeset-0.1.0a5 → codeset-0.1.0a6}/LICENSE +0 -0
  13. {codeset-0.1.0a5 → codeset-0.1.0a6}/README.md +0 -0
  14. {codeset-0.1.0a5 → codeset-0.1.0a6}/SECURITY.md +0 -0
  15. {codeset-0.1.0a5 → codeset-0.1.0a6}/api.md +0 -0
  16. {codeset-0.1.0a5 → codeset-0.1.0a6}/bin/check-release-environment +0 -0
  17. {codeset-0.1.0a5 → codeset-0.1.0a6}/bin/publish-pypi +0 -0
  18. {codeset-0.1.0a5 → codeset-0.1.0a6}/examples/.keep +0 -0
  19. {codeset-0.1.0a5 → codeset-0.1.0a6}/mypy.ini +0 -0
  20. {codeset-0.1.0a5 → codeset-0.1.0a6}/noxfile.py +0 -0
  21. {codeset-0.1.0a5 → codeset-0.1.0a6}/release-please-config.json +0 -0
  22. {codeset-0.1.0a5 → codeset-0.1.0a6}/requirements-dev.lock +0 -0
  23. {codeset-0.1.0a5 → codeset-0.1.0a6}/requirements.lock +0 -0
  24. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/__init__.py +0 -0
  25. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_base_client.py +0 -0
  26. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_client.py +0 -0
  27. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_compat.py +0 -0
  28. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_constants.py +0 -0
  29. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_exceptions.py +0 -0
  30. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_files.py +0 -0
  31. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_models.py +0 -0
  32. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_qs.py +0 -0
  33. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_resource.py +0 -0
  34. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_response.py +0 -0
  35. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_streaming.py +0 -0
  36. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_types.py +0 -0
  37. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/__init__.py +0 -0
  38. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_logs.py +0 -0
  39. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_proxy.py +0 -0
  40. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_reflection.py +0 -0
  41. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_resources_proxy.py +0 -0
  42. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_streams.py +0 -0
  43. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_sync.py +0 -0
  44. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_transform.py +0 -0
  45. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_typing.py +0 -0
  46. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_utils.py +0 -0
  47. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/lib/.keep +0 -0
  48. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/py.typed +0 -0
  49. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/resources/__init__.py +0 -0
  50. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/resources/health.py +0 -0
  51. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/resources/samples.py +0 -0
  52. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/resources/sessions/__init__.py +0 -0
  53. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/resources/sessions/verify.py +0 -0
  54. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/__init__.py +0 -0
  55. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/container_info.py +0 -0
  56. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/error_info.py +0 -0
  57. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/health_check_response.py +0 -0
  58. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/sample_download_params.py +0 -0
  59. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/sample_list_response.py +0 -0
  60. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session.py +0 -0
  61. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_apply_diff_params.py +0 -0
  62. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_apply_diff_response.py +0 -0
  63. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_close_response.py +0 -0
  64. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_create_response.py +0 -0
  65. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_execute_command_params.py +0 -0
  66. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_execute_command_response.py +0 -0
  67. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_list_response.py +0 -0
  68. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_status.py +0 -0
  69. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/sessions/__init__.py +0 -0
  70. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/sessions/job_status.py +0 -0
  71. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/sessions/verify_start_response.py +0 -0
  72. {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/sessions/verify_status_response.py +0 -0
  73. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/__init__.py +0 -0
  74. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/api_resources/__init__.py +0 -0
  75. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/api_resources/sessions/__init__.py +0 -0
  76. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/api_resources/sessions/test_verify.py +0 -0
  77. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/api_resources/test_health.py +0 -0
  78. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/api_resources/test_samples.py +0 -0
  79. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/conftest.py +0 -0
  80. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/sample_file.txt +0 -0
  81. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_client.py +0 -0
  82. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_deepcopy.py +0 -0
  83. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_extract_files.py +0 -0
  84. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_files.py +0 -0
  85. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_models.py +0 -0
  86. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_qs.py +0 -0
  87. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_required_args.py +0 -0
  88. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_response.py +0 -0
  89. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_streaming.py +0 -0
  90. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_transform.py +0 -0
  91. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_utils/test_proxy.py +0 -0
  92. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_utils/test_typing.py +0 -0
  93. {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.1.0-alpha.6"
3
+ }
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.6 (2025-07-01)
4
+
5
+ Full Changelog: [v0.1.0-alpha.5...v0.1.0-alpha.6](https://github.com/codeset-ai/codeset-sdk/compare/v0.1.0-alpha.5...v0.1.0-alpha.6)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([e5c853d](https://github.com/codeset-ai/codeset-sdk/commit/e5c853d0c2dbb936a630f1dada9e963cb0b540e0))
10
+
3
11
  ## 0.1.0-alpha.5 (2025-07-01)
4
12
 
5
13
  Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/codeset-ai/codeset-sdk/compare/v0.1.0-alpha.4...v0.1.0-alpha.5)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: codeset
3
- Version: 0.1.0a5
3
+ Version: 0.1.0a6
4
4
  Summary: The official Python library for the codeset API
5
5
  Project-URL: Homepage, https://github.com/codeset-ai/codeset-sdk
6
6
  Project-URL: Repository, https://github.com/codeset-ai/codeset-sdk
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "codeset"
3
- version = "0.1.0-alpha.5"
3
+ version = "0.1.0-alpha.6"
4
4
  description = "The official Python library for the codeset API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "codeset"
4
- __version__ = "0.1.0-alpha.5" # x-release-please-version
4
+ __version__ = "0.1.0-alpha.6" # x-release-please-version
@@ -61,6 +61,7 @@ class SessionsResource(SyncAPIResource):
61
61
  def create(
62
62
  self,
63
63
  *,
64
+ dataset: str,
64
65
  sample_id: str,
65
66
  ttl_minutes: int | NotGiven = NOT_GIVEN,
66
67
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -74,6 +75,8 @@ class SessionsResource(SyncAPIResource):
74
75
  Create a new session
75
76
 
76
77
  Args:
78
+ dataset: Dataset name for the sample.
79
+
77
80
  sample_id: Identifier of the sample to use for this session.
78
81
 
79
82
  ttl_minutes: Time to live for the session in minutes (default: 30).
@@ -90,6 +93,7 @@ class SessionsResource(SyncAPIResource):
90
93
  "/sessions",
91
94
  body=maybe_transform(
92
95
  {
96
+ "dataset": dataset,
93
97
  "sample_id": sample_id,
94
98
  "ttl_minutes": ttl_minutes,
95
99
  },
@@ -297,6 +301,7 @@ class AsyncSessionsResource(AsyncAPIResource):
297
301
  async def create(
298
302
  self,
299
303
  *,
304
+ dataset: str,
300
305
  sample_id: str,
301
306
  ttl_minutes: int | NotGiven = NOT_GIVEN,
302
307
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -310,6 +315,8 @@ class AsyncSessionsResource(AsyncAPIResource):
310
315
  Create a new session
311
316
 
312
317
  Args:
318
+ dataset: Dataset name for the sample.
319
+
313
320
  sample_id: Identifier of the sample to use for this session.
314
321
 
315
322
  ttl_minutes: Time to live for the session in minutes (default: 30).
@@ -326,6 +333,7 @@ class AsyncSessionsResource(AsyncAPIResource):
326
333
  "/sessions",
327
334
  body=await async_maybe_transform(
328
335
  {
336
+ "dataset": dataset,
329
337
  "sample_id": sample_id,
330
338
  "ttl_minutes": ttl_minutes,
331
339
  },
@@ -8,6 +8,9 @@ __all__ = ["SessionCreateParams"]
8
8
 
9
9
 
10
10
  class SessionCreateParams(TypedDict, total=False):
11
+ dataset: Required[str]
12
+ """Dataset name for the sample."""
13
+
11
14
  sample_id: Required[str]
12
15
  """Identifier of the sample to use for this session."""
13
16
 
@@ -28,6 +28,7 @@ class TestSessions:
28
28
  @parametrize
29
29
  def test_method_create(self, client: Codeset) -> None:
30
30
  session = client.sessions.create(
31
+ dataset="dataset",
31
32
  sample_id="sample_id",
32
33
  )
33
34
  assert_matches_type(SessionCreateResponse, session, path=["response"])
@@ -36,6 +37,7 @@ class TestSessions:
36
37
  @parametrize
37
38
  def test_method_create_with_all_params(self, client: Codeset) -> None:
38
39
  session = client.sessions.create(
40
+ dataset="dataset",
39
41
  sample_id="sample_id",
40
42
  ttl_minutes=0,
41
43
  )
@@ -45,6 +47,7 @@ class TestSessions:
45
47
  @parametrize
46
48
  def test_raw_response_create(self, client: Codeset) -> None:
47
49
  response = client.sessions.with_raw_response.create(
50
+ dataset="dataset",
48
51
  sample_id="sample_id",
49
52
  )
50
53
 
@@ -57,6 +60,7 @@ class TestSessions:
57
60
  @parametrize
58
61
  def test_streaming_response_create(self, client: Codeset) -> None:
59
62
  with client.sessions.with_streaming_response.create(
63
+ dataset="dataset",
60
64
  sample_id="sample_id",
61
65
  ) as response:
62
66
  assert not response.is_closed
@@ -291,6 +295,7 @@ class TestAsyncSessions:
291
295
  @parametrize
292
296
  async def test_method_create(self, async_client: AsyncCodeset) -> None:
293
297
  session = await async_client.sessions.create(
298
+ dataset="dataset",
294
299
  sample_id="sample_id",
295
300
  )
296
301
  assert_matches_type(SessionCreateResponse, session, path=["response"])
@@ -299,6 +304,7 @@ class TestAsyncSessions:
299
304
  @parametrize
300
305
  async def test_method_create_with_all_params(self, async_client: AsyncCodeset) -> None:
301
306
  session = await async_client.sessions.create(
307
+ dataset="dataset",
302
308
  sample_id="sample_id",
303
309
  ttl_minutes=0,
304
310
  )
@@ -308,6 +314,7 @@ class TestAsyncSessions:
308
314
  @parametrize
309
315
  async def test_raw_response_create(self, async_client: AsyncCodeset) -> None:
310
316
  response = await async_client.sessions.with_raw_response.create(
317
+ dataset="dataset",
311
318
  sample_id="sample_id",
312
319
  )
313
320
 
@@ -320,6 +327,7 @@ class TestAsyncSessions:
320
327
  @parametrize
321
328
  async def test_streaming_response_create(self, async_client: AsyncCodeset) -> None:
322
329
  async with async_client.sessions.with_streaming_response.create(
330
+ dataset="dataset",
323
331
  sample_id="sample_id",
324
332
  ) as response:
325
333
  assert not response.is_closed
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.1.0-alpha.5"
3
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes