lamin_cli 1.0.5__py2.py3-none-any.whl → 1.0.7__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/_save.py +6 -2
- {lamin_cli-1.0.5.dist-info → lamin_cli-1.0.7.dist-info}/METADATA +1 -1
- {lamin_cli-1.0.5.dist-info → lamin_cli-1.0.7.dist-info}/RECORD +7 -7
- {lamin_cli-1.0.5.dist-info → lamin_cli-1.0.7.dist-info}/LICENSE +0 -0
- {lamin_cli-1.0.5.dist-info → lamin_cli-1.0.7.dist-info}/WHEEL +0 -0
- {lamin_cli-1.0.5.dist-info → lamin_cli-1.0.7.dist-info}/entry_points.txt +0 -0
lamin_cli/__init__.py
CHANGED
lamin_cli/_save.py
CHANGED
|
@@ -120,10 +120,14 @@ def save_from_filepath_cli(
|
|
|
120
120
|
)
|
|
121
121
|
return "not-tracked-in-transform-registry"
|
|
122
122
|
else:
|
|
123
|
-
|
|
123
|
+
# TODO: build in the logic that queries for relative file paths
|
|
124
|
+
# we have in Context; add tests for multiple versions
|
|
125
|
+
transform = ln.Transform.filter(
|
|
126
|
+
key=filepath.name, is_latest=True
|
|
127
|
+
).one_or_none()
|
|
124
128
|
if transform is None:
|
|
125
129
|
transform = ln.Transform(
|
|
126
|
-
|
|
130
|
+
description=filepath.name,
|
|
127
131
|
key=filepath.name,
|
|
128
132
|
type="script" if filepath.suffix in {".R", ".py"} else "notebook",
|
|
129
133
|
).save()
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
lamin_cli/__init__.py,sha256=
|
|
1
|
+
lamin_cli/__init__.py,sha256=At34nwmlcGUb1vGmsRLVLk2f_sJhCINkEHKoIbl8lHc,40
|
|
2
2
|
lamin_cli/__main__.py,sha256=nmGl8kj9iC1ohjy6JTJc00ZAAkzAWAHVLk5AMFrJDXU,10523
|
|
3
3
|
lamin_cli/_cache.py,sha256=kW8rqlMwQeOngm9uq2gjzPVl3EBrwh6W2F2AvyBFABY,799
|
|
4
4
|
lamin_cli/_load.py,sha256=fOA2lxEWp2l4oOwr_Y7XXDLqbIs9ivF6kBXU7I1eNww,6792
|
|
5
5
|
lamin_cli/_migration.py,sha256=KH0aVRs72ej6ieyM49JaQw1SbT8z24H2heTFnWFcgy4,1071
|
|
6
|
-
lamin_cli/_save.py,sha256=
|
|
6
|
+
lamin_cli/_save.py,sha256=gig2BNgE0RfWXTVzv8Y1QJ5UA5fRS1xE5en6Dx0EwX8,5872
|
|
7
7
|
lamin_cli/_settings.py,sha256=iS37mcQUHKRWxi2sHnAojEI6sWk3w232qwG-GeY2_Qc,1141
|
|
8
|
-
lamin_cli-1.0.
|
|
9
|
-
lamin_cli-1.0.
|
|
10
|
-
lamin_cli-1.0.
|
|
11
|
-
lamin_cli-1.0.
|
|
12
|
-
lamin_cli-1.0.
|
|
8
|
+
lamin_cli-1.0.7.dist-info/entry_points.txt,sha256=Qms85i9cZPlu-U7RnVZhFsF7vJ9gaLZUFkCjcGcXTpg,49
|
|
9
|
+
lamin_cli-1.0.7.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
10
|
+
lamin_cli-1.0.7.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
|
|
11
|
+
lamin_cli-1.0.7.dist-info/METADATA,sha256=h1HDG-taHw9WZ9fR-g2KcqioTwkKIPwxhm2JxclLOD0,337
|
|
12
|
+
lamin_cli-1.0.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|