tosnativeclient 1.0.2__cp313-cp313-macosx_11_0_arm64.whl → 1.0.4__cp313-cp313-macosx_11_0_arm64.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.
- tosnativeclient/tosnativeclient.cpython-313-darwin.so +0 -0
- tosnativeclient/tosnativeclient.pyi +7 -3
- {tosnativeclient-1.0.2.dist-info → tosnativeclient-1.0.4.dist-info}/METADATA +1 -1
- tosnativeclient-1.0.4.dist-info/RECORD +6 -0
- tosnativeclient-1.0.2.dist-info/RECORD +0 -6
- {tosnativeclient-1.0.2.dist-info → tosnativeclient-1.0.4.dist-info}/WHEEL +0 -0
|
Binary file
|
|
@@ -45,7 +45,7 @@ class ReadStream(object):
|
|
|
45
45
|
size: int
|
|
46
46
|
etag: str
|
|
47
47
|
|
|
48
|
-
def read(self, offset: int, length: int) -> bytes:
|
|
48
|
+
def read(self, offset: int, length: int) -> Optional[bytes]:
|
|
49
49
|
...
|
|
50
50
|
|
|
51
51
|
def close(self) -> None:
|
|
@@ -72,6 +72,10 @@ class TosClient(object):
|
|
|
72
72
|
part_size: int
|
|
73
73
|
max_retry_count: int
|
|
74
74
|
max_prefetch_tasks: int
|
|
75
|
+
directives: str
|
|
76
|
+
directory: str
|
|
77
|
+
file_name_prefix: str
|
|
78
|
+
shared_prefetch_tasks: int
|
|
75
79
|
|
|
76
80
|
def __init__(self, region: str, endpoint: str, ak: str = '', sk: str = '', part_size: int = 8388608,
|
|
77
81
|
max_retry_count: int = 3, max_prefetch_tasks: int = 3, directives: str = '', directory: str = '',
|
|
@@ -147,10 +151,10 @@ class GetObjectOutput(object):
|
|
|
147
151
|
content_range: str
|
|
148
152
|
hash_crc64ecma: int
|
|
149
153
|
|
|
150
|
-
def read_all(self) -> bytes:
|
|
154
|
+
def read_all(self) -> Optional[bytes]:
|
|
151
155
|
...
|
|
152
156
|
|
|
153
|
-
def read(self) -> bytes:
|
|
157
|
+
def read(self) -> Optional[bytes]:
|
|
154
158
|
...
|
|
155
159
|
|
|
156
160
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
tosnativeclient-1.0.4.dist-info/METADATA,sha256=ZWaXIKtQak0QejtyjsBwtbwvwDcNA65jpJPzmZVrgCc,406
|
|
2
|
+
tosnativeclient-1.0.4.dist-info/WHEEL,sha256=YLLGMgiebwxzWB63F0KVTBu1H1ad3TdbsHYfFKfk6fc,104
|
|
3
|
+
tosnativeclient/__init__.py,sha256=HMlQnJ7kkLhK35BeX3i1ClGuKnd9TcUQ_jHCpR67kmc,748
|
|
4
|
+
tosnativeclient/tosnativeclient.cpython-313-darwin.so,sha256=GI_sPR79TDQaBKKvgmj6scjVF3Xps5_nI3yHxWDRyeU,8510304
|
|
5
|
+
tosnativeclient/tosnativeclient.pyi,sha256=lvcdCvTo5OLMObCSQlPOy01OF4-muVDtSwOwoSUvMTo,4536
|
|
6
|
+
tosnativeclient-1.0.4.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
tosnativeclient-1.0.2.dist-info/METADATA,sha256=kxKXDUqD1di91wyOB9PGVgZ6Fqbmv1atCxw2XRXObxc,406
|
|
2
|
-
tosnativeclient-1.0.2.dist-info/WHEEL,sha256=YLLGMgiebwxzWB63F0KVTBu1H1ad3TdbsHYfFKfk6fc,104
|
|
3
|
-
tosnativeclient/__init__.py,sha256=HMlQnJ7kkLhK35BeX3i1ClGuKnd9TcUQ_jHCpR67kmc,748
|
|
4
|
-
tosnativeclient/tosnativeclient.cpython-313-darwin.so,sha256=V1-utFxaZA3ukonBruAkIKoJP3Q3azZYZs4RQgIh8Ec,8482672
|
|
5
|
-
tosnativeclient/tosnativeclient.pyi,sha256=p4quUdDXzVLDLlMInT2aYm4WrM3SeBJBq2GHz07k6g8,4410
|
|
6
|
-
tosnativeclient-1.0.2.dist-info/RECORD,,
|
|
File without changes
|