lamin_cli 1.0.1__py2.py3-none-any.whl → 1.0.3__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.
- lamin_cli/__init__.py +1 -1
- lamin_cli/__main__.py +1 -1
- lamin_cli/_load.py +6 -4
- {lamin_cli-1.0.1.dist-info → lamin_cli-1.0.3.dist-info}/METADATA +1 -1
- lamin_cli-1.0.3.dist-info/RECORD +12 -0
- lamin_cli-1.0.1.dist-info/RECORD +0 -12
- {lamin_cli-1.0.1.dist-info → lamin_cli-1.0.3.dist-info}/LICENSE +0 -0
- {lamin_cli-1.0.1.dist-info → lamin_cli-1.0.3.dist-info}/WHEEL +0 -0
- {lamin_cli-1.0.1.dist-info → lamin_cli-1.0.3.dist-info}/entry_points.txt +0 -0
lamin_cli/__init__.py
CHANGED
lamin_cli/__main__.py
CHANGED
|
@@ -259,7 +259,7 @@ def load(entity: str, uid: str = None, key: str = None, with_env: bool = False):
|
|
|
259
259
|
# f"! please use: lamin connect {entity}"
|
|
260
260
|
# )
|
|
261
261
|
settings_.auto_connect = True
|
|
262
|
-
return connect(
|
|
262
|
+
return connect(entity, _reload_lamindb=False)
|
|
263
263
|
else:
|
|
264
264
|
from lamin_cli._load import load as load_
|
|
265
265
|
|
lamin_cli/_load.py
CHANGED
|
@@ -66,13 +66,15 @@ def load(entity: str, uid: str = None, key: str = None, with_env: bool = False):
|
|
|
66
66
|
flags=re.DOTALL | re.MULTILINE,
|
|
67
67
|
)
|
|
68
68
|
logger.important(
|
|
69
|
-
f"
|
|
69
|
+
f"updated title to match description: {current_title} →"
|
|
70
|
+
f" {transform.description}"
|
|
70
71
|
)
|
|
71
72
|
if bump_revision:
|
|
72
73
|
uid = transform.uid
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
if uid in new_content:
|
|
75
|
+
new_uid = f"{uid[:-4]}{increment_base62(uid[-4:])}"
|
|
76
|
+
new_content = new_content.replace(uid, new_uid)
|
|
77
|
+
logger.important(f"updated uid: {uid} → {new_uid}")
|
|
76
78
|
if notebook_path.suffix == ".ipynb":
|
|
77
79
|
notebook = jupytext.reads(new_content, fmt="py:percent")
|
|
78
80
|
jupytext.write(notebook, notebook_path)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
lamin_cli/__init__.py,sha256=2lIvR7NvpzJHzY3TPBaXCoDNgR8Dm5wU4Yi0KF9FDZs,40
|
|
2
|
+
lamin_cli/__main__.py,sha256=nmGl8kj9iC1ohjy6JTJc00ZAAkzAWAHVLk5AMFrJDXU,10523
|
|
3
|
+
lamin_cli/_cache.py,sha256=kW8rqlMwQeOngm9uq2gjzPVl3EBrwh6W2F2AvyBFABY,799
|
|
4
|
+
lamin_cli/_load.py,sha256=fOA2lxEWp2l4oOwr_Y7XXDLqbIs9ivF6kBXU7I1eNww,6792
|
|
5
|
+
lamin_cli/_migration.py,sha256=KH0aVRs72ej6ieyM49JaQw1SbT8z24H2heTFnWFcgy4,1071
|
|
6
|
+
lamin_cli/_save.py,sha256=PrvZSL02jU1BWLUEVTTQsn2MLi942RKOyN3Qd3qfl6s,5677
|
|
7
|
+
lamin_cli/_settings.py,sha256=iS37mcQUHKRWxi2sHnAojEI6sWk3w232qwG-GeY2_Qc,1141
|
|
8
|
+
lamin_cli-1.0.3.dist-info/entry_points.txt,sha256=Qms85i9cZPlu-U7RnVZhFsF7vJ9gaLZUFkCjcGcXTpg,49
|
|
9
|
+
lamin_cli-1.0.3.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
10
|
+
lamin_cli-1.0.3.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
|
|
11
|
+
lamin_cli-1.0.3.dist-info/METADATA,sha256=yBERNNN3tOu5Dg1CJM9lyMzMzwABALmJnNRDiXfB490,337
|
|
12
|
+
lamin_cli-1.0.3.dist-info/RECORD,,
|
lamin_cli-1.0.1.dist-info/RECORD
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
lamin_cli/__init__.py,sha256=gI9lMHvtC1hwv7B9pa1otRVW0_bh5FQKT6ntU6ecmQA,40
|
|
2
|
-
lamin_cli/__main__.py,sha256=4Fnef6-9hmr8inzFABoc9LFxpaOWESc0orXROGVjICY,10528
|
|
3
|
-
lamin_cli/_cache.py,sha256=kW8rqlMwQeOngm9uq2gjzPVl3EBrwh6W2F2AvyBFABY,799
|
|
4
|
-
lamin_cli/_load.py,sha256=I2UGifZdIbbLm0JBOsuoR2CZeq5_uQR1BwIujDq8WfA,6694
|
|
5
|
-
lamin_cli/_migration.py,sha256=KH0aVRs72ej6ieyM49JaQw1SbT8z24H2heTFnWFcgy4,1071
|
|
6
|
-
lamin_cli/_save.py,sha256=PrvZSL02jU1BWLUEVTTQsn2MLi942RKOyN3Qd3qfl6s,5677
|
|
7
|
-
lamin_cli/_settings.py,sha256=iS37mcQUHKRWxi2sHnAojEI6sWk3w232qwG-GeY2_Qc,1141
|
|
8
|
-
lamin_cli-1.0.1.dist-info/entry_points.txt,sha256=Qms85i9cZPlu-U7RnVZhFsF7vJ9gaLZUFkCjcGcXTpg,49
|
|
9
|
-
lamin_cli-1.0.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
10
|
-
lamin_cli-1.0.1.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
|
|
11
|
-
lamin_cli-1.0.1.dist-info/METADATA,sha256=7iExJIS6YMzKM3D-k97D1bujzpT500SV4iuUWhNuO2U,337
|
|
12
|
-
lamin_cli-1.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|