lamindb 1.3.1__py3-none-any.whl → 1.3.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 CHANGED
@@ -72,7 +72,7 @@ Backward compatibility.
72
72
 
73
73
  # ruff: noqa: I001
74
74
  # denote a release candidate for 0.1.0 with 0.1rc1, 0.1a1, 0.1b1, etc.
75
- __version__ = "1.3.1"
75
+ __version__ = "1.3.2"
76
76
 
77
77
  import warnings
78
78
 
lamindb/models/record.py CHANGED
@@ -612,9 +612,11 @@ class Registry(ModelBase):
612
612
  f"Failed to load instance {instance}, please check your permissions!"
613
613
  )
614
614
  iresult, _ = result
615
- source_module = {
616
- modules for modules in iresult["schema_str"].split(",") if modules != ""
617
- } # type: ignore
615
+ # do not use {} syntax below, it gives rise to a dict if the schema modules
616
+ # are empty and then triggers a TypeError in missing_members = source_module - target_module
617
+ source_module = set( # noqa
618
+ [mod for mod in iresult["schema_str"].split(",") if mod != ""]
619
+ )
618
620
  target_module = ln_setup.settings.instance.modules
619
621
  if not source_module.issubset(target_module):
620
622
  missing_members = source_module - target_module
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lamindb
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: A data framework for biology.
5
5
  Author-email: Lamin Labs <open-source@lamin.ai>
6
6
  Requires-Python: >=3.10,<3.14
@@ -11,7 +11,7 @@ Classifier: Programming Language :: Python :: 3.12
11
11
  Classifier: Programming Language :: Python :: 3.13
12
12
  Requires-Dist: lamin_utils==0.13.11
13
13
  Requires-Dist: lamin_cli==1.2.0
14
- Requires-Dist: lamindb_setup[aws]==1.4.0
14
+ Requires-Dist: lamindb_setup[aws]==1.4.1
15
15
  Requires-Dist: pyyaml
16
16
  Requires-Dist: pyarrow
17
17
  Requires-Dist: pandera
@@ -23,7 +23,7 @@ Requires-Dist: anndata>=0.8.0,<=0.11.3
23
23
  Requires-Dist: fsspec
24
24
  Requires-Dist: graphviz
25
25
  Requires-Dist: psycopg2-binary
26
- Requires-Dist: bionty>=1.2a1 ; extra == "bionty"
26
+ Requires-Dist: bionty>=1.2.1 ; extra == "bionty"
27
27
  Requires-Dist: cellregistry ; extra == "cellregistry"
28
28
  Requires-Dist: clinicore ; extra == "clinicore"
29
29
  Requires-Dist: tomlkit ; extra == "dev"
@@ -1,4 +1,4 @@
1
- lamindb/__init__.py,sha256=oZOWUS3k5h0WraaCC0_gGCmoTTp64_BSia24_UVNwOQ,2468
1
+ lamindb/__init__.py,sha256=PEWc1Xf6XBM-jY-0n8kaf2pm3k3D2Fem4H7LNUw5Nt8,2468
2
2
  lamindb/_finish.py,sha256=UK9XW1qZCd32Nqz0cdKYmpX9ilFU0nGyNb6Urwfx_Nw,19612
3
3
  lamindb/_tracked.py,sha256=JKzYEpqVojklTms0VpP-tU34AHVZG8a13dSl3CfIzwQ,4472
4
4
  lamindb/_view.py,sha256=kSmG8X4ULQZEKxY7ESnthQqsUf1DEzoYGeTLYRU1I7s,4938
@@ -81,7 +81,7 @@ lamindb/models/has_parents.py,sha256=PEGDiNTK7ikHBHAGsiHK4e6TA9jqUFRom1HSQuyReyE
81
81
  lamindb/models/project.py,sha256=WSOtM6-hKPeDNOCR6Frq1bJxc27j0HJWhCmFh5L3CiM,15174
82
82
  lamindb/models/query_manager.py,sha256=RqF842cqloAv5z4zLDlWAZfVkLQbhCPry6WQW3CaznI,3713
83
83
  lamindb/models/query_set.py,sha256=buJ-zuua5MTqeEE8WD3lOBZXs19k_r4DuRWPB8Bai5Y,27060
84
- lamindb/models/record.py,sha256=E7rgMmmoAwuVBhj1Na3zEVt0TzH5McvPfjC3gyp8Crs,65100
84
+ lamindb/models/record.py,sha256=RYx1PeJkfMu6BQuROIG-sVtj3lV0Ck7PwVfQ51nVlyQ,65278
85
85
  lamindb/models/run.py,sha256=_qCFjeGcK1-MEpRJCdnl6NScCO7Rye3lYl56wEbq9mM,18716
86
86
  lamindb/models/save.py,sha256=VEq4kmDyDiw9zTQY6meA9c5yT_YU5ldFzRDgKqCX59M,13031
87
87
  lamindb/models/schema.py,sha256=zbzzQ8UOLqhJh-PC0CoRu-sN5-NnIFXoDtj1KSPhj_s,28672
@@ -89,7 +89,7 @@ lamindb/models/transform.py,sha256=PbtjakPWmw0iuCG0HPEbysISVX_CoIE2KAPF7L18Vak,1
89
89
  lamindb/models/ulabel.py,sha256=A8zJcRiGNmq24njLJv7_FuVZJmdtSkN-MSKw5c1QJMo,8605
90
90
  lamindb/setup/__init__.py,sha256=OwZpZzPDv5lPPGXZP7-zK6UdO4FHvvuBh439yZvIp3A,410
91
91
  lamindb/setup/core/__init__.py,sha256=SevlVrc2AZWL3uALbE5sopxBnIZPWZ1IB0NBDudiAL8,167
92
- lamindb-1.3.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
93
- lamindb-1.3.1.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
94
- lamindb-1.3.1.dist-info/METADATA,sha256=tksiQOHsdm3S2VgD3jxm4rYN6vCwX1-wKeXYgJIMSIM,2733
95
- lamindb-1.3.1.dist-info/RECORD,,
92
+ lamindb-1.3.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
93
+ lamindb-1.3.2.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
94
+ lamindb-1.3.2.dist-info/METADATA,sha256=JwVHPE26gd4jVRHnFY0-3n7AELypOIGZoJh0c1_uhm8,2733
95
+ lamindb-1.3.2.dist-info/RECORD,,