lamindb_setup 0.74.0__py2.py3-none-any.whl → 0.74.1__py2.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_setup/__init__.py CHANGED
@@ -34,7 +34,7 @@ Modules & settings:
34
34
 
35
35
  """
36
36
 
37
- __version__ = "0.74.0" # denote a release candidate for 0.1.0 with 0.1rc1
37
+ __version__ = "0.74.1" # denote a release candidate for 0.1.0 with 0.1rc1
38
38
 
39
39
  import sys
40
40
  from os import name as _os_name
@@ -270,12 +270,6 @@ def load(
270
270
  This is exactly the same as ``ln.connect()`` except for that
271
271
  ``ln.connect()`` doesn't change the state of ``auto-connect``.
272
272
  """
273
- # enable the message in the next release
274
- logger.warning(
275
- "`lamin connect` replaces `lamin load`, which will be removed in a future"
276
- " version\nif you still want to auto-connect to an instance upon lamindb"
277
- " import, call: `lamin load` on the CLI"
278
- )
279
273
  result = connect(slug, db=db, storage=storage)
280
274
  settings.auto_connect = True
281
275
  return result
@@ -113,7 +113,7 @@ class Through(BaseModel):
113
113
 
114
114
  class FieldMetadata(BaseModel):
115
115
  type: Type
116
- column: str | None = None
116
+ column_name: str | None = None
117
117
  through: Through | None = None
118
118
  field_name: str
119
119
  model_name: str
@@ -249,7 +249,7 @@ class _ModelHandler:
249
249
  field_name=field_name,
250
250
  type=internal_type,
251
251
  is_link_table=issubclass(field.model, LinkORM),
252
- column=column,
252
+ column_name=column,
253
253
  relation_type=relation_type,
254
254
  related_schema_name=related_schema_name,
255
255
  related_model_name=related_model_name,
@@ -355,8 +355,8 @@ class _SchemaHandler:
355
355
  for model in self._get_schema_module(
356
356
  module_name
357
357
  ).models.__dict__.values()
358
- if model.__class__.__name__ == "RegistryMeta"
359
- and model.__name__ not in ["Registry", "ORM"]
358
+ if model.__class__.__name__ == "RecordMeta"
359
+ and model.__name__ not in ["Record", "ORM"]
360
360
  and not model._meta.abstract
361
361
  and model.__get_schema_name__() == module_name
362
362
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lamindb_setup
3
- Version: 0.74.0
3
+ Version: 0.74.1
4
4
  Summary: Setup & configure LaminDB.
5
5
  Author-email: Lamin Labs <laminlabs@gmail.com>
6
6
  Description-Content-Type: text/markdown
@@ -14,6 +14,7 @@ Requires-Dist: requests
14
14
  Requires-Dist: universal_pathlib==0.2.2
15
15
  Requires-Dist: botocore<2.0.0
16
16
  Requires-Dist: supabase==2.2.1
17
+ Requires-Dist: psutil
17
18
  Requires-Dist: urllib3<2 ; extra == "aws"
18
19
  Requires-Dist: aiobotocore[boto3]>=2.5.4,<3.0.0 ; extra == "aws"
19
20
  Requires-Dist: s3fs>=2023.12.2,<=2024.3.1 ; extra == "aws"
@@ -1,9 +1,9 @@
1
- lamindb_setup/__init__.py,sha256=cJQ2NUW0T7g_vpNTd21VpzvTGNT733H0Kb39cuMH0Sk,1542
1
+ lamindb_setup/__init__.py,sha256=py6U8kAsM7yVxbCmuhhE_tINXO4q4Oc7G9kjonGLzT8,1542
2
2
  lamindb_setup/_cache.py,sha256=wA7mbysANwe8hPNbjDo9bOmXJ0xIyaS5iyxIpxSWji4,846
3
3
  lamindb_setup/_check.py,sha256=28PcG8Kp6OpjSLSi1r2boL2Ryeh6xkaCL87HFbjs6GA,129
4
4
  lamindb_setup/_check_setup.py,sha256=cNEL9Q4yPpmEkGKHH8JgullWl1VUZwALJ4RHn9wZypY,2613
5
5
  lamindb_setup/_close.py,sha256=1QS9p2SCacgovYn6xqWU4zFvwHN1RgIccvzwJgFvKgU,1186
6
- lamindb_setup/_connect_instance.py,sha256=C4WURprypLpvS1oJmfyXHvXCMPc7yOOvKmOabyFr7dE,12728
6
+ lamindb_setup/_connect_instance.py,sha256=wDmXP6bZovdG9IZYNfoNmDeG5GFYeX2B7HzsG8lBkhY,12443
7
7
  lamindb_setup/_delete.py,sha256=Y8KSFYgY0UHAvjd7cCL6hZ_XiLeJwx50BguVATcj_Xo,5524
8
8
  lamindb_setup/_django.py,sha256=EoyWvFzH0i9wxjy4JZhcoXCTckztP_Mrl6FbYQnMmLE,1534
9
9
  lamindb_setup/_exportdb.py,sha256=uTIZjKKTB7arzEr1j0O6lONiT2pRBKeOFdLvOV8ZwzE,2120
@@ -12,7 +12,7 @@ lamindb_setup/_init_instance.py,sha256=e6OJSpN2eJZd22kAfUVEUbqXF48FzNfLc5xMTS8gZ
12
12
  lamindb_setup/_migrate.py,sha256=P4n3x0SYzO9szjF2-JMa7z4mQadtWjHv5ow4HbCDZLI,8864
13
13
  lamindb_setup/_register_instance.py,sha256=LlD2n44Gmh8OXrAkL9iL9NiML8QDKnk4d869MhXoOWI,1083
14
14
  lamindb_setup/_schema.py,sha256=b3uzhhWpV5mQtDwhMINc2MabGCnGLESy51ito3yl6Wc,679
15
- lamindb_setup/_schema_metadata.py,sha256=QL7Ord0BnKQnqZpLAjQX2gLhLwF_9zmZFcH8EjEMrfA,12895
15
+ lamindb_setup/_schema_metadata.py,sha256=fXqXmKOp81DSOFOem_aE7u5QENRfcNWU-OS7PmSP7qU,12901
16
16
  lamindb_setup/_set_managed_storage.py,sha256=mNZrANn-9rwZ0oGWxxg0wS0T0VOQCWyo4nSSyNAE15Q,1419
17
17
  lamindb_setup/_setup_user.py,sha256=6Oc7Rke-yRQSZbuntdUAz8QbJ6UuPzYHI9FnYlf_q-A,3670
18
18
  lamindb_setup/_silence_loggers.py,sha256=AKF_YcHvX32eGXdsYK8MJlxEaZ-Uo2f6QDRzjKFCtws,1568
@@ -40,7 +40,7 @@ lamindb_setup/core/exceptions.py,sha256=eoI7AXgATgDVzgArtN7CUvpaMUC067vsBg5LHCsW
40
40
  lamindb_setup/core/hashing.py,sha256=_JliYeCcjT_foOUJ5ck1rvcCo9q7r4b4SaSclQ_w4Qo,3071
41
41
  lamindb_setup/core/types.py,sha256=bcYnZ0uM_2NXKJCl94Mmc-uYrQlRUUVKG3sK2N-F-N4,532
42
42
  lamindb_setup/core/upath.py,sha256=dwudkTVsXuyjS-2xR16WomcWtXJAEfRZ0ZzFq8_EDhE,27157
43
- lamindb_setup-0.74.0.dist-info/LICENSE,sha256=UOZ1F5fFDe3XXvG4oNnkL1-Ecun7zpHzRxjp-XsMeAo,11324
44
- lamindb_setup-0.74.0.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
45
- lamindb_setup-0.74.0.dist-info/METADATA,sha256=JdkBfYklKlMuRjUc1VGMGFYWM3E-v0alqmYaXI6Q2kM,1620
46
- lamindb_setup-0.74.0.dist-info/RECORD,,
43
+ lamindb_setup-0.74.1.dist-info/LICENSE,sha256=UOZ1F5fFDe3XXvG4oNnkL1-Ecun7zpHzRxjp-XsMeAo,11324
44
+ lamindb_setup-0.74.1.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
45
+ lamindb_setup-0.74.1.dist-info/METADATA,sha256=r-xZGjftei2ae6s9yYK6Btrz8GXH_GOdFp-BoGvHISg,1642
46
+ lamindb_setup-0.74.1.dist-info/RECORD,,