matelab-python-sdk 0.2.0a9__py3-none-any.whl → 0.2.0a10__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.
@@ -11,7 +11,7 @@ from pydantic import ConfigDict, Field, RootModel, SecretStr, StrictBool, Strict
11
11
 
12
12
  from matelab._wire_validation import WireModel
13
13
 
14
- OPENAPI_INFO_VERSION = "2026.11.1"
14
+ OPENAPI_INFO_VERSION = "2026.11.2"
15
15
 
16
16
 
17
17
  class ResponseEnvelope(WireModel):
@@ -2759,9 +2759,9 @@ class StageTemporaryFileRequest(WireModel):
2759
2759
  """
2760
2760
  file: bytes | None = None
2761
2761
  """
2762
- Required for upload branches and omitted for abort. The multipart
2763
- filename's sanitized final extension selects the temporary bytes;
2764
- keep that extension unchanged throughout continuation.
2762
+ Required for upload branches and omitted for abort. Filename and
2763
+ extension may change between fragments in the same uid/tempid
2764
+ session. Completion uses the final fragment's source filename.
2765
2765
 
2766
2766
  """
2767
2767
 
@@ -79,7 +79,7 @@ class Uploads:
79
79
  complete_sha256: str | None = None,
80
80
  content_type: str = "application/octet-stream",
81
81
  ) -> StagedUploadSession | StagedFile:
82
- """Stage bytes; preserve the sanitized, case-sensitive filename extension when resuming."""
82
+ """Stage bytes; continuation filenames may change, and completion uses the final filename."""
83
83
  if session is None:
84
84
  session = StagedUploadSession(
85
85
  binding=UploadBindingRef.new(), upload_session_id=f"tmp-{secrets.token_urlsafe(24)}"
@@ -163,7 +163,7 @@ class Uploads:
163
163
  )
164
164
 
165
165
  async def abort(self, upload: StagedUploadSession | StagedFile) -> None:
166
- """Cancel incomplete extension variants; completed staging identities remain untouched (PVD-052)."""
166
+ """Cancel extensionless incomplete bytes; completed staging identities remain untouched (PVD-052)."""
167
167
  if isinstance(upload, StagedFile):
168
168
  # The completed file keeps this Provider identity private except for same-module cleanup.
169
169
  upload_session_id = upload._upload_session_id # pyright: ignore[reportPrivateUsage]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: matelab-python-sdk
3
- Version: 0.2.0a9
3
+ Version: 0.2.0a10
4
4
  Summary: Reusable async Python client for the Matelab Integration Contract
5
5
  Author: CMPDC, Institute of Physics, Chinese Academy of Sciences
6
6
  License-Expression: Apache-2.0
@@ -8,7 +8,7 @@ matelab/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
8
8
  matelab/session.py,sha256=D8i9uyAt32-bADotS-Lrb7RpmWRNYNIkIpZUijTYvy4,899
9
9
  matelab/streaming.py,sha256=36epH2josWk87Ors_JY0YsjNmtiq3NZa2iB9djLmlnY,3792
10
10
  matelab/_generated/__init__.py,sha256=jmGbXLLe3JorsGU7OUdF8iKGewFMRqkCzgyFAw7C15w,79
11
- matelab/_generated/models.py,sha256=VhE1ixBb-qflSTEO8VEbixnB6jtHshXqCd9gAgJBGQ8,179704
11
+ matelab/_generated/models.py,sha256=MLUIQ5uB7ICVd9NLCuD2gqwswZJeUOg7u8sGsh-HNf4,179707
12
12
  matelab/domains/__init__.py,sha256=C34IWsGoCAwP7r6uYKJ79DJkToZyrZ4LWA87ufc1i0Q,65
13
13
  matelab/domains/_attachment_content.py,sha256=z26hwFpdgAk2x1w8EGe00XBLtJ3QFDX8BPS35Zc5SoE,1461
14
14
  matelab/domains/cloud_drive.py,sha256=EoqAYWvLVUfVOsic3g-TxsQEtAI3wTp5h0_vB79KpwY,10406
@@ -17,10 +17,10 @@ matelab/domains/literature.py,sha256=xpdHuFCR1RpEPB_Lk8VOaddlIpGQ2rnp4kxl5a8Bk4M
17
17
  matelab/domains/notebooks.py,sha256=_SvffaViECSEOkN5iwXtSv6El3fK2OYaR4RJvUCXfGk,13477
18
18
  matelab/domains/records.py,sha256=U3zOLwTjJ1YbnuayGXKroEKhUZLhsmjRCYtnFaDyJzQ,95614
19
19
  matelab/domains/templates.py,sha256=-x7RqRLhrRnAK3HGK3c4I3C-SsAk7zpicIcvzoVd414,17698
20
- matelab/domains/uploads.py,sha256=6y4i85UWGxumasWw9HAubcgtK_fqgZLnBUbX0oghxQU,7699
20
+ matelab/domains/uploads.py,sha256=NcOSJg5Q54e-rv7WIBRz3us4qUU9U4rmYvkkKiKq_tI,7702
21
21
  matelab/domains/users.py,sha256=ZhlLzC_AadwYqNqxQrqkUBgIUqL7MJ6FgMyxwq-az8s,1445
22
- matelab_python_sdk-0.2.0a9.dist-info/METADATA,sha256=l5luHe5D2BRV0uAUoy1EusPL6A_bpCGQSlqHEp08_Ro,2436
23
- matelab_python_sdk-0.2.0a9.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
24
- matelab_python_sdk-0.2.0a9.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
25
- matelab_python_sdk-0.2.0a9.dist-info/licenses/NOTICE,sha256=Hc4scCJTof5VL3JCPI2aaewnnzCejIHUGuBVYBf-klc,98
26
- matelab_python_sdk-0.2.0a9.dist-info/RECORD,,
22
+ matelab_python_sdk-0.2.0a10.dist-info/METADATA,sha256=oI_KwlIqo4BMollJLjX7bm-4eDMoaNXpY4NUW99yYhI,2437
23
+ matelab_python_sdk-0.2.0a10.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
24
+ matelab_python_sdk-0.2.0a10.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
25
+ matelab_python_sdk-0.2.0a10.dist-info/licenses/NOTICE,sha256=Hc4scCJTof5VL3JCPI2aaewnnzCejIHUGuBVYBf-klc,98
26
+ matelab_python_sdk-0.2.0a10.dist-info/RECORD,,