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.
- codeset-0.1.0a6/.release-please-manifest.json +3 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/CHANGELOG.md +8 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/PKG-INFO +1 -1
- {codeset-0.1.0a5 → codeset-0.1.0a6}/pyproject.toml +1 -1
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_version.py +1 -1
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/resources/sessions/sessions.py +8 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_create_params.py +3 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/api_resources/test_sessions.py +8 -0
- codeset-0.1.0a5/.release-please-manifest.json +0 -3
- {codeset-0.1.0a5 → codeset-0.1.0a6}/.gitignore +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/CONTRIBUTING.md +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/LICENSE +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/README.md +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/SECURITY.md +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/api.md +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/bin/check-release-environment +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/bin/publish-pypi +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/examples/.keep +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/mypy.ini +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/noxfile.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/release-please-config.json +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/requirements-dev.lock +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/requirements.lock +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/__init__.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_base_client.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_client.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_compat.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_constants.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_exceptions.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_files.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_models.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_qs.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_resource.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_response.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_streaming.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_types.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/__init__.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_logs.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_proxy.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_reflection.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_resources_proxy.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_streams.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_sync.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_transform.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_typing.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/_utils/_utils.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/lib/.keep +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/py.typed +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/resources/__init__.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/resources/health.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/resources/samples.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/resources/sessions/__init__.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/resources/sessions/verify.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/__init__.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/container_info.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/error_info.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/health_check_response.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/sample_download_params.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/sample_list_response.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_apply_diff_params.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_apply_diff_response.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_close_response.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_create_response.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_execute_command_params.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_execute_command_response.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_list_response.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/session_status.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/sessions/__init__.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/sessions/job_status.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/sessions/verify_start_response.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/src/codeset/types/sessions/verify_status_response.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/__init__.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/api_resources/__init__.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/api_resources/sessions/__init__.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/api_resources/sessions/test_verify.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/api_resources/test_health.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/api_resources/test_samples.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/conftest.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/sample_file.txt +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_client.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_deepcopy.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_extract_files.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_files.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_models.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_qs.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_required_args.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_response.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_streaming.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_transform.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_utils/test_proxy.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/test_utils/test_typing.py +0 -0
- {codeset-0.1.0a5 → codeset-0.1.0a6}/tests/utils.py +0 -0
|
@@ -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.
|
|
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
|
|
@@ -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
|
},
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|