pybiolib 1.1.1986__py3-none-any.whl → 1.1.1988__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.
@@ -21,6 +21,9 @@ class _AttributeDict(TypedDict):
21
21
  st_uid: int
22
22
 
23
23
 
24
+ _SUCCESS_CODE = 0
25
+
26
+
24
27
  class ExperimentFuseMount(Operations):
25
28
  def __init__(self, experiment):
26
29
  self._experiment = experiment
@@ -97,7 +100,7 @@ class ExperimentFuseMount(Operations):
97
100
  # file not found
98
101
  raise FuseOSError(errno.ENOENT) from None
99
102
 
100
- return 0 # return dummy file handle
103
+ return 1234 # dummy file handle
101
104
 
102
105
  def read(self, path: str, size: int, offset: int, fh: int) -> bytes:
103
106
  job, path_in_job = self._parse_path(path)
@@ -109,10 +112,13 @@ class ExperimentFuseMount(Operations):
109
112
  return file.get_data(start=offset, length=size)
110
113
 
111
114
  def release(self, path: str, fh: int) -> int:
112
- return 0
115
+ return _SUCCESS_CODE
113
116
 
114
117
  def releasedir(self, path: str, fh: int) -> int:
115
- return 0
118
+ return _SUCCESS_CODE
119
+
120
+ def flush(self, path: str, fh: int) -> int:
121
+ return _SUCCESS_CODE
116
122
 
117
123
  @staticmethod
118
124
  def _get_directory_attributes(timestamp_epoch_seconds: int) -> _AttributeDict:
@@ -199,8 +205,5 @@ class ExperimentFuseMount(Operations):
199
205
  def truncate(self, path, length, fh=None):
200
206
  raise FuseOSError(errno.EACCES)
201
207
 
202
- def flush(self, path, fh):
203
- raise FuseOSError(errno.EACCES)
204
-
205
208
  def fsync(self, path, datasync, fh):
206
209
  raise FuseOSError(errno.EACCES)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pybiolib
3
- Version: 1.1.1986
3
+ Version: 1.1.1988
4
4
  Summary: BioLib Python Client
5
5
  Home-page: https://github.com/biolib
6
6
  License: MIT
@@ -6,7 +6,7 @@ biolib/_internal/data_record/__init__.py,sha256=1Bk303i3rFet9veS56fIsrBYtT5X3n9v
6
6
  biolib/_internal/data_record/data_record.py,sha256=ctijrrZ-LfUxtwzS8PEVa1VBuBLVWEhmo2yHcEDkC0A,7178
7
7
  biolib/_internal/data_record/remote_storage_endpoint.py,sha256=LPq8Lr5FhKF9_o5K-bUdT7TeLe5XFUD0AAeTkNEVZug,1133
8
8
  biolib/_internal/fuse_mount/__init__.py,sha256=B_tM6RM2dBw-vbpoHJC4X3tOAaN1H2RDvqYJOw3xFwg,55
9
- biolib/_internal/fuse_mount/experiment_fuse_mount.py,sha256=MjGY9vNL-QivDF8w4qKuF3P7auv5cGK9qKKYYyDYQY4,6966
9
+ biolib/_internal/fuse_mount/experiment_fuse_mount.py,sha256=08aUdEq_bvqLBft_gSLjOClKDy5sBnMts1RfJf7AP_U,7012
10
10
  biolib/_internal/http_client.py,sha256=DdooXei93JKGYGV4aQmzue_oFzvHkozg2UCxgk9dfDM,5081
11
11
  biolib/_internal/libs/__init__.py,sha256=Jdf4tNPqe_oIIf6zYml6TiqhL_02Vyqwge6IELrAFhw,98
12
12
  biolib/_internal/libs/fusepy/__init__.py,sha256=AWDzNFS-XV_5yKb0Qx7kggIhPzq1nj_BZS5y2Nso08k,41944
@@ -109,8 +109,8 @@ biolib/utils/cache_state.py,sha256=u256F37QSRIVwqKlbnCyzAX4EMI-kl6Dwu6qwj-Qmag,3
109
109
  biolib/utils/multipart_uploader.py,sha256=XvGP1I8tQuKhAH-QugPRoEsCi9qvbRk-DVBs5PNwwJo,8452
110
110
  biolib/utils/seq_util.py,sha256=jC5WhH63FTD7SLFJbxQGA2hOt9NTwq9zHl_BEec1Z0c,4907
111
111
  biolib/utils/zip/remote_zip.py,sha256=0wErYlxir5921agfFeV1xVjf29l9VNgGQvNlWOlj2Yc,23232
112
- pybiolib-1.1.1986.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
113
- pybiolib-1.1.1986.dist-info/METADATA,sha256=p82i2WtF6K3qM7lWMT00MKh7Eqp2HuFOrqZEeEU98_0,1508
114
- pybiolib-1.1.1986.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
115
- pybiolib-1.1.1986.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
116
- pybiolib-1.1.1986.dist-info/RECORD,,
112
+ pybiolib-1.1.1988.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
113
+ pybiolib-1.1.1988.dist-info/METADATA,sha256=XIgluZ7kse6hsGgEvV_WuogxaTHLLDbqp-ogSllCZmg,1508
114
+ pybiolib-1.1.1988.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
115
+ pybiolib-1.1.1988.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
116
+ pybiolib-1.1.1988.dist-info/RECORD,,