lamindb 1.0.3__py3-none-any.whl → 1.0.4__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
@@ -53,7 +53,7 @@ Modules and settings.
53
53
  """
54
54
 
55
55
  # denote a release candidate for 0.1.0 with 0.1rc1, 0.1a1, 0.1b1, etc.
56
- __version__ = "1.0.3"
56
+ __version__ = "1.0.4"
57
57
 
58
58
  from lamindb_setup._check_setup import InstanceNotSetupError as _InstanceNotSetupError
59
59
  from lamindb_setup._check_setup import _check_instance_setup
@@ -0,0 +1,21 @@
1
+ # Generated by Django 5.2 on 2025-01-21 17:03
2
+
3
+ from django.db import migrations
4
+
5
+ import lamindb.base.fields
6
+
7
+
8
+ class Migration(migrations.Migration):
9
+ dependencies = [
10
+ ("lamindb", "0080_polish_lamindbv1"),
11
+ ]
12
+
13
+ operations = [
14
+ migrations.AlterField(
15
+ model_name="collection",
16
+ name="description",
17
+ field=lamindb.base.fields.TextField(
18
+ blank=True, db_index=True, default=None, null=True
19
+ ),
20
+ ),
21
+ ]
lamindb/models.py CHANGED
@@ -3008,7 +3008,10 @@ class Collection(Record, IsVersioned, TracksRun, TracksUpdates):
3008
3008
  """Universal id, valid across DB instances."""
3009
3009
  key: str = CharField(db_index=True)
3010
3010
  """Name or path-like key."""
3011
- description: str | None = CharField(null=True, db_index=True)
3011
+ # these here is the only case in which we use a TextField
3012
+ # for description; we do so because users had descriptions exceeding 255 chars
3013
+ # in their instances
3014
+ description: str | None = TextField(null=True, db_index=True)
3012
3015
  """A description or title."""
3013
3016
  hash: str | None = CharField(max_length=HASH_LENGTH, db_index=True, null=True)
3014
3017
  """Hash of collection content. 86 base64 chars allow to store 64 bytes, 512 bits."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lamindb
3
- Version: 1.0.3
3
+ Version: 1.0.4
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.13
@@ -1,4 +1,4 @@
1
- lamindb/__init__.py,sha256=uV_nFvYAz9x_edJcb9bqtnDx2C9wHhbDbnvMN2EIQHM,2255
1
+ lamindb/__init__.py,sha256=bKJLQZmbvlVCRAU9HxyoOpMUjG7p-gqbGRxCyCFXy_8,2255
2
2
  lamindb/_artifact.py,sha256=22pKCA05PoIAgP2xszCHUovZ1VbMGIyrQqNLs5xDG_s,46580
3
3
  lamindb/_can_curate.py,sha256=pIu9Ylgq5biUd_67rRbAHg9tkXSQrxMRM8TnVboL9YA,20341
4
4
  lamindb/_collection.py,sha256=j2yTfR9v-NGUI85JfQk7vOQNExkWE5H_ulsSlBh1AOI,14456
@@ -18,7 +18,7 @@ lamindb/_transform.py,sha256=LYFf8gScJrYLMZJECLYZ5nrW2vLPObdzRP47md-Tq-s,5731
18
18
  lamindb/_ulabel.py,sha256=YTiUCYrcEqyUKD8nZO4iOqiyYnUP5bW_r7yry4KSeWA,2068
19
19
  lamindb/_utils.py,sha256=LGdiW4k3GClLz65vKAVRkL6Tw-Gkx9DWAdez1jyA5bE,428
20
20
  lamindb/_view.py,sha256=c4eN5hcBlg3TVnljKefbyWAq0eBncjMp2xQcb5OaGWg,4982
21
- lamindb/models.py,sha256=85eBwsFmoKfZfefviUt8DmfW1n6kyFQO2VfP3pa-xUc,147536
21
+ lamindb/models.py,sha256=9zjdIPuuBdjKi3V-LqdPK0uMrVocGhosOi29YViuwgo,147706
22
22
  lamindb/base/__init__.py,sha256=J0UpYObi9hJBFyBpAXp4wB3DaJx48R2SaUeB4wjiFvc,267
23
23
  lamindb/base/fields.py,sha256=RdwYHQmB7B-jopD_K2QNL5vjhOelu7DWGgqQItXr3pg,8024
24
24
  lamindb/base/ids.py,sha256=WzHWiHZtlRUKqxz_p-76ks_JSW669ztvriE7Z3A0yHg,1736
@@ -92,10 +92,11 @@ lamindb/migrations/0077_lamindbv1_part6b.py,sha256=v7k8OZX9o5ppSJU_yhHlIXGTobTm3
92
92
  lamindb/migrations/0078_lamindbv1_part6c.py,sha256=RWRXBwyyQ_rFTN5kwstBziV6tqHJcGYI2vsFmuYCCz0,17084
93
93
  lamindb/migrations/0079_alter_rundata_value_json_and_more.py,sha256=yQmbs8yWrFLOVQJqAfzLNMZOqTSnXyG-mQgpO7ls1u8,995
94
94
  lamindb/migrations/0080_polish_lamindbv1.py,sha256=VfCwJtHlBsMPIyFQ2oh24oWkiRXjDvXRpKe5fBZ63aM,17660
95
+ lamindb/migrations/0081_revert_textfield_collection.py,sha256=uHuJ0W4Ips7BrnQnQBGPMn2eFQz29a1QAdHzN7XlDxo,490
95
96
  lamindb/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
96
97
  lamindb/setup/__init__.py,sha256=OwZpZzPDv5lPPGXZP7-zK6UdO4FHvvuBh439yZvIp3A,410
97
98
  lamindb/setup/core/__init__.py,sha256=SevlVrc2AZWL3uALbE5sopxBnIZPWZ1IB0NBDudiAL8,167
98
- lamindb-1.0.3.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
99
- lamindb-1.0.3.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
100
- lamindb-1.0.3.dist-info/METADATA,sha256=SoOQz-aPtNZiT7IUmNBqKeoj9PZgedTPwNPl_iRyftY,2611
101
- lamindb-1.0.3.dist-info/RECORD,,
99
+ lamindb-1.0.4.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
100
+ lamindb-1.0.4.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
101
+ lamindb-1.0.4.dist-info/METADATA,sha256=9Y2mkw39jPE4YdbNPQoGwliwHBVWwN1o15jBG5OwtCU,2611
102
+ lamindb-1.0.4.dist-info/RECORD,,