pybiolib 1.1.2133__py3-none-any.whl → 1.1.2138__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.
@@ -1 +1,4 @@
1
- from .resources import * # noqa: F403
1
+ from .app import * # noqa: F403
2
+ from .data_record import * # noqa: F403
3
+ from .experiment import * # noqa: F403
4
+ from .resource import * # noqa: F403
@@ -0,0 +1,9 @@
1
+ from .typing import TypedDict
2
+
3
+
4
+ class AppSlimDict(TypedDict):
5
+ pass
6
+
7
+
8
+ class AppDetailedDict(AppSlimDict):
9
+ pass
@@ -0,0 +1,20 @@
1
+ from .typing import Dict, List, Optional, TypedDict
2
+
3
+
4
+ class DataRecordValidationRuleDict(TypedDict):
5
+ path: str
6
+ type: str
7
+ rule: Dict
8
+
9
+
10
+ class DataRecordTypeDict(TypedDict):
11
+ name: str
12
+ validation_rules: List[Dict]
13
+
14
+
15
+ class DataRecordSlimDict(TypedDict):
16
+ pass
17
+
18
+
19
+ class DataRecordDetailedDict(DataRecordSlimDict):
20
+ type: Optional[DataRecordTypeDict]
@@ -0,0 +1,10 @@
1
+ from .typing import TypedDict
2
+
3
+
4
+ class ExperimentSlimDict(TypedDict):
5
+ job_count: int
6
+ job_running_count: int
7
+
8
+
9
+ class ExperimentDetailedDict(ExperimentSlimDict):
10
+ pass
@@ -0,0 +1,14 @@
1
+ from .app import AppSlimDict
2
+ from .data_record import DataRecordSlimDict
3
+ from .experiment import ExperimentSlimDict
4
+ from .typing import Optional, TypedDict
5
+
6
+
7
+ class ResourceDict(TypedDict):
8
+ uuid: str
9
+ uri: str
10
+ name: str
11
+ created_at: str
12
+ app: Optional[AppSlimDict]
13
+ data_record: Optional[DataRecordSlimDict]
14
+ experiment: Optional[ExperimentSlimDict]
@@ -50,7 +50,7 @@ class Experiment:
50
50
  return self._resource_dict['uri']
51
51
 
52
52
  @property
53
- def _experiment_dict(self) -> _types.ExperimentDict:
53
+ def _experiment_dict(self) -> _types.ExperimentSlimDict:
54
54
  if not self._resource_dict['experiment']:
55
55
  raise ValueError(f'Resource {self.uri} is not an Experiment')
56
56
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pybiolib
3
- Version: 1.1.2133
3
+ Version: 1.1.2138
4
4
  Summary: BioLib Python Client
5
5
  Home-page: https://github.com/biolib
6
6
  License: MIT
@@ -16,8 +16,11 @@ biolib/_internal/libs/__init__.py,sha256=Jdf4tNPqe_oIIf6zYml6TiqhL_02Vyqwge6IELr
16
16
  biolib/_internal/libs/fusepy/__init__.py,sha256=AWDzNFS-XV_5yKb0Qx7kggIhPzq1nj_BZS5y2Nso08k,41944
17
17
  biolib/_internal/push_application.py,sha256=8P7eXvySn7CRp5XBDkO3xjTGixS8g7-jD-_iwzM_XDI,10020
18
18
  biolib/_internal/runtime.py,sha256=9pZ3s3L7LGxdqOgnHh1KK3Jjyn_9MjhQmKHI-6hMT3U,448
19
- biolib/_internal/types/__init__.py,sha256=h2I2aupN01HbhBelL-qQa8FLuXiH1tB3kKl8dPdhmnc,39
20
- biolib/_internal/types/resources.py,sha256=LlxuiesDDv3TvfEmz_BCCxH0V650bNHtS_LpBMA25T4,256
19
+ biolib/_internal/types/__init__.py,sha256=11ZucS8jKeLGAAswXyKI7FH2KLHd6T9Sh8ZK2Ar3jlk,152
20
+ biolib/_internal/types/app.py,sha256=Mz2QGD_jESX-K9JYnLWPo4YA__Q_1FQQTk9pvidCohU,118
21
+ biolib/_internal/types/data_record.py,sha256=U1e9mqEAOOcjR2QzL8eK_xdttkN44yhxvslTyQk1QOo,369
22
+ biolib/_internal/types/experiment.py,sha256=D94iBdn2nS92lRW-TOs1a2WKXJD5ZtmzL4ypggKX2ys,176
23
+ biolib/_internal/types/resource.py,sha256=G-vPkZoe4Um6FPxsQZtRzAlbSW5sDW4NFkbjn21I3V4,372
21
24
  biolib/_internal/types/typing.py,sha256=D4EKKEe7kDx0K6lJi-H_XLtk-8w6nu2fdqn9bvzI-Xo,288
22
25
  biolib/_internal/utils/__init__.py,sha256=p5vsIFyu-zYqBgdSMfwW9NC_jk7rXvvCbV4Bzd3As7c,630
23
26
  biolib/_runtime/runtime.py,sha256=zy9HrE4X5hBqm8doUHkckyflquSBDSXV3REhT2MQGas,2767
@@ -94,7 +97,7 @@ biolib/compute_node/webserver/webserver_types.py,sha256=2t8EaFKESnves3BA_NBdnS2y
94
97
  biolib/compute_node/webserver/webserver_utils.py,sha256=XWvwYPbWNR3qS0FYbLLp-MDDfVk0QdaAmg3xPrT0H2s,4234
95
98
  biolib/compute_node/webserver/worker_thread.py,sha256=26tG73TADnOcXsAr7Iyf6smrLlCqB4x-vvmpUb8WqnA,11569
96
99
  biolib/experiments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
97
- biolib/experiments/experiment.py,sha256=4VkeRMxDnROQ0CE_su299FjzODEHwpvlLH-h4-TFPNQ,7610
100
+ biolib/experiments/experiment.py,sha256=jIRixmQm3Gq9YdJ3I0-rE1vFukXqq6U4zXehFOJ1yZk,7614
98
101
  biolib/jobs/__init__.py,sha256=aIb2H2DHjQbM2Bs-dysFijhwFcL58Blp0Co0gimED3w,32
99
102
  biolib/jobs/job.py,sha256=OfG8cLd3AjGjiMWRlJRZdVVbLsRWSX-OM5nxJhR6mPQ,19136
100
103
  biolib/jobs/job_result.py,sha256=rALHiKYNaC9lHi_JJqBob1RubzNLwG9Z386kwRJjd2M,5885
@@ -113,8 +116,8 @@ biolib/utils/cache_state.py,sha256=u256F37QSRIVwqKlbnCyzAX4EMI-kl6Dwu6qwj-Qmag,3
113
116
  biolib/utils/multipart_uploader.py,sha256=XvGP1I8tQuKhAH-QugPRoEsCi9qvbRk-DVBs5PNwwJo,8452
114
117
  biolib/utils/seq_util.py,sha256=jC5WhH63FTD7SLFJbxQGA2hOt9NTwq9zHl_BEec1Z0c,4907
115
118
  biolib/utils/zip/remote_zip.py,sha256=0wErYlxir5921agfFeV1xVjf29l9VNgGQvNlWOlj2Yc,23232
116
- pybiolib-1.1.2133.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
117
- pybiolib-1.1.2133.dist-info/METADATA,sha256=k2ZjDKeN9CN3wAWU_s7tnvroLfIDh57_vsPHy-JmElU,1508
118
- pybiolib-1.1.2133.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
119
- pybiolib-1.1.2133.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
120
- pybiolib-1.1.2133.dist-info/RECORD,,
119
+ pybiolib-1.1.2138.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
120
+ pybiolib-1.1.2138.dist-info/METADATA,sha256=kchNYjho0XuOe-z7E79uzYosSujZ-2wPJZfNEMsKAY0,1508
121
+ pybiolib-1.1.2138.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
122
+ pybiolib-1.1.2138.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
123
+ pybiolib-1.1.2138.dist-info/RECORD,,
@@ -1,14 +0,0 @@
1
- from .typing import Optional, TypedDict
2
-
3
-
4
- class ExperimentDict(TypedDict):
5
- job_count: int
6
- job_running_count: int
7
-
8
-
9
- class ResourceDict(TypedDict):
10
- created_at: str
11
- experiment: Optional[ExperimentDict]
12
- name: str
13
- uri: str
14
- uuid: str