lamindb 0.68.1__py3-none-any.whl → 0.68.2__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.
- lamindb/__init__.py +1 -1
- lamindb/_transform.py +4 -6
- lamindb/core/_run_context.py +1 -7
- {lamindb-0.68.1.dist-info → lamindb-0.68.2.dist-info}/METADATA +3 -3
- {lamindb-0.68.1.dist-info → lamindb-0.68.2.dist-info}/RECORD +7 -7
- {lamindb-0.68.1.dist-info → lamindb-0.68.2.dist-info}/LICENSE +0 -0
- {lamindb-0.68.1.dist-info → lamindb-0.68.2.dist-info}/WHEEL +0 -0
lamindb/__init__.py
CHANGED
lamindb/_transform.py
CHANGED
@@ -1,13 +1,11 @@
|
|
1
|
-
from typing import
|
1
|
+
from typing import Optional
|
2
2
|
|
3
|
-
from lnschema_core.models import
|
3
|
+
from lnschema_core.models import Artifact, Run, Transform
|
4
|
+
from lnschema_core.types import TransformType
|
4
5
|
|
5
6
|
from ._run import delete_run_artifacts
|
6
7
|
from .core.versioning import get_uid_from_old_version, init_uid
|
7
8
|
|
8
|
-
if TYPE_CHECKING:
|
9
|
-
from lnschema_core.types import TransformType
|
10
|
-
|
11
9
|
|
12
10
|
def __init__(transform: Transform, *args, **kwargs):
|
13
11
|
if len(args) == len(transform._meta.concrete_fields):
|
@@ -23,7 +21,7 @@ def __init__(transform: Transform, *args, **kwargs):
|
|
23
21
|
(kwargs.pop("initial_version_id") if "initial_version_id" in kwargs else None)
|
24
22
|
version: Optional[str] = kwargs.pop("version") if "version" in kwargs else None
|
25
23
|
type: Optional[TransformType] = (
|
26
|
-
kwargs.pop("type") if "type" in kwargs else
|
24
|
+
kwargs.pop("type") if "type" in kwargs else TransformType.pipeline
|
27
25
|
)
|
28
26
|
reference: Optional[str] = (
|
29
27
|
kwargs.pop("reference") if "reference" in kwargs else None
|
lamindb/core/_run_context.py
CHANGED
@@ -25,12 +25,6 @@ msg_path_failed = (
|
|
25
25
|
)
|
26
26
|
|
27
27
|
|
28
|
-
# we don't want a real error here, as this is so frequent
|
29
|
-
# in VSCode
|
30
|
-
class UpdateNbWithNonInteractiveEditor(SystemExit):
|
31
|
-
pass
|
32
|
-
|
33
|
-
|
34
28
|
class NotebookNotSavedError(Exception):
|
35
29
|
pass
|
36
30
|
|
@@ -290,7 +284,7 @@ class run_context:
|
|
290
284
|
transform_type = (
|
291
285
|
TransformType.notebook
|
292
286
|
if is_run_from_ipython
|
293
|
-
else TransformType.
|
287
|
+
else TransformType.script
|
294
288
|
)
|
295
289
|
cls._create_or_load_transform(
|
296
290
|
stem_uid=stem_uid,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: lamindb
|
3
|
-
Version: 0.68.
|
3
|
+
Version: 0.68.2
|
4
4
|
Summary: A data framework for biology.
|
5
5
|
Author-email: Lamin Labs <open-source@lamin.ai>
|
6
6
|
Requires-Python: >=3.8
|
@@ -9,10 +9,10 @@ Classifier: Programming Language :: Python :: 3.8
|
|
9
9
|
Classifier: Programming Language :: Python :: 3.9
|
10
10
|
Classifier: Programming Language :: Python :: 3.10
|
11
11
|
Classifier: Programming Language :: Python :: 3.11
|
12
|
-
Requires-Dist: lnschema_core==0.
|
12
|
+
Requires-Dist: lnschema_core==0.63.0
|
13
13
|
Requires-Dist: lamindb_setup==0.66.1
|
14
14
|
Requires-Dist: lamin_utils==0.13.0
|
15
|
-
Requires-Dist: lamin_cli==0.9.
|
15
|
+
Requires-Dist: lamin_cli==0.9.3
|
16
16
|
Requires-Dist: rapidfuzz
|
17
17
|
Requires-Dist: pyarrow
|
18
18
|
Requires-Dist: typing_extensions!=4.6.0
|
@@ -1,4 +1,4 @@
|
|
1
|
-
lamindb/__init__.py,sha256=
|
1
|
+
lamindb/__init__.py,sha256=dT1kw0e8P_VQAeAbtpZQK_tPcxm7W7oFoG9kFKvnLiM,2277
|
2
2
|
lamindb/_artifact.py,sha256=DzOWGupWqb0EUJYunmrxPU2xIPkQwGiSbtVdABvTZm0,36316
|
3
3
|
lamindb/_collection.py,sha256=esjFYaVPIz7E5J-dk3FppAOZsimszd4m7MYGxErmrk4,18097
|
4
4
|
lamindb/_feature.py,sha256=B_vjiH7wOW0mugZOmIHYKkAe20E1Ca9PnMppAW9KJU4,6677
|
@@ -13,7 +13,7 @@ lamindb/_registry.py,sha256=d_ZLG2Y4No_KBGoY-Xl9iia3enF5J50ktpC2E21ERM4,19160
|
|
13
13
|
lamindb/_run.py,sha256=O5TcVPZqgdUvk4nBmI_HXzvWOG_Zr3B_HMDaw228w-4,1719
|
14
14
|
lamindb/_save.py,sha256=2V3u0F2FFJZBlaBtViBYLIPDIVlwY-uXlhPDfA-wCMo,11102
|
15
15
|
lamindb/_storage.py,sha256=VW8xq3VRv58-ciholvOdlcgvp_OIlLxx5GxLt-e2Irs,614
|
16
|
-
lamindb/_transform.py,sha256=
|
16
|
+
lamindb/_transform.py,sha256=yVff1BbkIYSFD3mY-GgDgjCx0IE1mGVthC4rh6Yk07g,3382
|
17
17
|
lamindb/_ulabel.py,sha256=euXsDPD7wC99oopLXVkT-vq7f3E6-zP4Z4akI-yh0aM,1913
|
18
18
|
lamindb/_utils.py,sha256=LGdiW4k3GClLz65vKAVRkL6Tw-Gkx9DWAdez1jyA5bE,428
|
19
19
|
lamindb/_validate.py,sha256=w7lrUGTWldpvwaRiXBRrjfU_ZRidA7CooOu_r5MbocY,14569
|
@@ -23,7 +23,7 @@ lamindb/core/_data.py,sha256=lJRdEBW_CkcH13FuchTEMYcoW5nLiam8Uy8d_DDULek,17210
|
|
23
23
|
lamindb/core/_feature_manager.py,sha256=a1HXGmMgSRWEsE7nmlMMKYZzDo8oFAmieOM6HGa-yyU,13901
|
24
24
|
lamindb/core/_label_manager.py,sha256=zrWDSd2AkR6fKsGDxLSWqHC9fz9BcGlavPZEh92Wzjg,9063
|
25
25
|
lamindb/core/_mapped_collection.py,sha256=uoaX59BnA_EqkRvF-bQaNS6mi1PihSPTym02PEbadZg,16795
|
26
|
-
lamindb/core/_run_context.py,sha256=
|
26
|
+
lamindb/core/_run_context.py,sha256=HztuUbj4DJ-fCaP9a6lgRjZrHtSAzU-j5vnTuCQP0Yc,17139
|
27
27
|
lamindb/core/_settings.py,sha256=vJ2gIfYneapsiwhwnzbYnmbTOhkBaUJgVABSSeV9HOc,4691
|
28
28
|
lamindb/core/_track_environment.py,sha256=QjHWbyl2u8J4hbJG8Q_ToFaZIgS-H15Ej6syJgk-dvY,662
|
29
29
|
lamindb/core/_transform_settings.py,sha256=pOjCWAW0Lst_GtZqscOM76SJo8yo69BFi7DfGr0fnG8,186
|
@@ -43,7 +43,7 @@ lamindb/core/storage/file.py,sha256=FP9G6Z7Uxt86Ro2WvewDaVgKrrErW2VOCFK3-3vSUNI,
|
|
43
43
|
lamindb/core/storage/object.py,sha256=MPUb2M8Fleq2j9x1Ryqr3BETmvsDKyf11Ifvbxd3NpA,1097
|
44
44
|
lamindb/setup/__init__.py,sha256=OwZpZzPDv5lPPGXZP7-zK6UdO4FHvvuBh439yZvIp3A,410
|
45
45
|
lamindb/setup/core/__init__.py,sha256=LqIIvJNcONxkqjbnP6CUaP4d45Lbd6TSMAcXFp4C7_8,231
|
46
|
-
lamindb-0.68.
|
47
|
-
lamindb-0.68.
|
48
|
-
lamindb-0.68.
|
49
|
-
lamindb-0.68.
|
46
|
+
lamindb-0.68.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
47
|
+
lamindb-0.68.2.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
48
|
+
lamindb-0.68.2.dist-info/METADATA,sha256=RP8GwGeqWVOpb6HazhQ7hqwidk3mWiFSzsZgxY6lyZQ,2848
|
49
|
+
lamindb-0.68.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|