codeset 0.1.0a5__py3-none-any.whl → 0.1.0a7__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 codeset might be problematic. Click here for more details.

codeset/_version.py CHANGED
@@ -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.7" # 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
  },
codeset/types/session.py CHANGED
@@ -15,6 +15,9 @@ class Session(BaseModel):
15
15
  created_at: datetime
16
16
  """Timestamp when the session was created (UTC)."""
17
17
 
18
+ dataset: str
19
+ """Dataset name for the sample."""
20
+
18
21
  expires_at: datetime
19
22
  """Timestamp when the session will expire (UTC)."""
20
23
 
@@ -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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: codeset
3
- Version: 0.1.0a5
3
+ Version: 0.1.0a7
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
@@ -11,7 +11,7 @@ codeset/_resource.py,sha256=MhmvrwixEq6echG2IFv1gO_nE_zfFTNw65s0JjsMee0,1106
11
11
  codeset/_response.py,sha256=lC6V1z6Az0X_Rk9MgwN8hOzYUSEwtp6_py_H3agR04A,28794
12
12
  codeset/_streaming.py,sha256=HqkgFE-gv9S7T4QfGa5pD4suEOvQ8BHZRxJR_NQcXak,10104
13
13
  codeset/_types.py,sha256=vWg2CtlXHiPre02gXyJkXvCkxVygqATc07iCsEZmceA,6198
14
- codeset/_version.py,sha256=Yqn7t1RPDJB1DtF6HpMB4LbFmd0iUGlVnG0g8t4EjKc,167
14
+ codeset/_version.py,sha256=FjKyckFvsV8xbOvz6QmbGX1xZmv6CL2As0zSGryzRFo,167
15
15
  codeset/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  codeset/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
17
17
  codeset/_utils/_logs.py,sha256=3sgppSduJj3mlW7qLTrVdtoy3NXJnuu7MFZrpGzamJQ,777
@@ -28,7 +28,7 @@ codeset/resources/__init__.py,sha256=32sOQt72KXOla0dUQqu1djbaLIWbd6zukrIh9Gotws0
28
28
  codeset/resources/health.py,sha256=WaI8xSzaym_p5rIEHz2QJ2E5dYXnwHSXbqKdm1tq4Nc,4859
29
29
  codeset/resources/samples.py,sha256=b8u-QetzIrEtlCADnkD-mU_SubolN7YmTKytzlUkS4w,8731
30
30
  codeset/resources/sessions/__init__.py,sha256=NinDKd-EXVeconYzUm9S-pKs1VHxZUCWFsascKZLdRQ,1028
31
- codeset/resources/sessions/sessions.py,sha256=JUm83oJsglauM39_-lzO1EVGhFzFjzNLohhkE7rtZlY,23500
31
+ codeset/resources/sessions/sessions.py,sha256=CUD34p0HLjH7ankpOJm1xAu9EsGSFAlbpg0kRP8zKaA,23722
32
32
  codeset/resources/sessions/verify.py,sha256=76xpNzpqiGSdc5RNnnpft8OZPlKuQi-LHgAXaqjQO3Y,9334
33
33
  codeset/types/__init__.py,sha256=71dgu8C0vmb5wghxwZcav96WNPZsYcvh0UC2wm5AcVk,1277
34
34
  codeset/types/container_info.py,sha256=b0vVBnOx8mDIu35HWpGn65VtOxpJUl2Awn0p8q74v_8,664
@@ -36,11 +36,11 @@ codeset/types/error_info.py,sha256=1yThCkLmcA_bA31pLlm4h-tk9TsmqnPb0yS5p1UQBPI,3
36
36
  codeset/types/health_check_response.py,sha256=hHMXvlEIQj98rsbkiKSX2SZaaRl-3mVuAFKY5k1FM_c,437
37
37
  codeset/types/sample_download_params.py,sha256=tRPvOupAg4rkWgdtQlWYKQHqbvTZIQYNM4u8TwLyuAE,346
38
38
  codeset/types/sample_list_response.py,sha256=KtllR5nvU-XZTzDb2U_vlOcpIe9bDobI6mRleBUyAos,1182
39
- codeset/types/session.py,sha256=FsBo5RmJ9KHKvwr_-QLoa4cTYGPHgXS-CR8Y7L6B5Iw,1120
39
+ codeset/types/session.py,sha256=-isUdFqbxVTMg2wsFmjrVgfFPpMtvw9PW4YVDIOlijo,1177
40
40
  codeset/types/session_apply_diff_params.py,sha256=EaEqnk9jyl4UOx6IDKN4kBzOXrZhFC2sF7WcFXMwURs,344
41
41
  codeset/types/session_apply_diff_response.py,sha256=jzOYdMWcNzWHjDFkivjHJInp5R3KsoXoFGeqHMYxWbY,339
42
42
  codeset/types/session_close_response.py,sha256=_vWgm4IHWcwUuw4lmGolEG3CkIv0H0A5yf8eaWB4f-I,342
43
- codeset/types/session_create_params.py,sha256=bqiIZO6H8Y9FUsYbSj3ac5lItt0iUea2yTwBwfdud0I,437
43
+ codeset/types/session_create_params.py,sha256=cFl5O1jI5qAjh9SqfLRerHo10TnY4QIYwi9j1Fv70MY,504
44
44
  codeset/types/session_create_response.py,sha256=87vgZPPCI3qA4_Gc8oS32RzglhwGSf7fgYxXOplrSYM,494
45
45
  codeset/types/session_execute_command_params.py,sha256=VIRFXCnRe7Erl1TbJs8-St-Aqll39K5HujtfluzaaqU,436
46
46
  codeset/types/session_execute_command_response.py,sha256=vh-i_V3-VP7Fi2WnxYLNDPdSUBwqKsQJdQW-pum_SgY,471
@@ -50,7 +50,7 @@ codeset/types/sessions/__init__.py,sha256=hRiBeT3umo01iicnTjI3UOh_Q6AspqzyyG-OEt
50
50
  codeset/types/sessions/job_status.py,sha256=-BwrXSe6dZJaofc2J08HVu1croIV9-C3cURHR947PF4,279
51
51
  codeset/types/sessions/verify_start_response.py,sha256=Dk1iyafuj1IAL39VQji_znUUMxDXI8QXn2QKB-ME4uw,482
52
52
  codeset/types/sessions/verify_status_response.py,sha256=WI1QkwnsBAYvqjRzD4ewZ0685SwIhTjX6Hber3AadxY,1722
53
- codeset-0.1.0a5.dist-info/METADATA,sha256=wQRIMgNog18_pv7YwkuTft_v3QSL_VJMZ9GJ30pCXvk,13345
54
- codeset-0.1.0a5.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
55
- codeset-0.1.0a5.dist-info/licenses/LICENSE,sha256=SzrebAd3MnL58zf3dEBLJvstQvQe33mCCY2TmzKEmY8,11337
56
- codeset-0.1.0a5.dist-info/RECORD,,
53
+ codeset-0.1.0a7.dist-info/METADATA,sha256=ap32AQbBif8qnx-LQE4QL1-ulEpHM6F5z0yzzdDN8Yw,13345
54
+ codeset-0.1.0a7.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
55
+ codeset-0.1.0a7.dist-info/licenses/LICENSE,sha256=SzrebAd3MnL58zf3dEBLJvstQvQe33mCCY2TmzKEmY8,11337
56
+ codeset-0.1.0a7.dist-info/RECORD,,