lamin_cli 1.8.1__py2.py3-none-any.whl → 1.8.2__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 +3 -2
- lamin_cli/_save.py +2 -1
- {lamin_cli-1.8.1.dist-info → lamin_cli-1.8.2.dist-info}/METADATA +1 -1
- {lamin_cli-1.8.1.dist-info → lamin_cli-1.8.2.dist-info}/RECORD +8 -8
- {lamin_cli-1.8.1.dist-info → lamin_cli-1.8.2.dist-info}/LICENSE +0 -0
- {lamin_cli-1.8.1.dist-info → lamin_cli-1.8.2.dist-info}/WHEEL +0 -0
- {lamin_cli-1.8.1.dist-info → lamin_cli-1.8.2.dist-info}/entry_points.txt +0 -0
lamin_cli/__init__.py
CHANGED
|
@@ -5,7 +5,7 @@ This is the command line interface for interacting with LaminDB & LaminHub.
|
|
|
5
5
|
The interface is defined in `__main__.py`. The root API here is used by LaminR to replicate the CLI functionality.
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
-
__version__ = "1.8.
|
|
8
|
+
__version__ = "1.8.2"
|
|
9
9
|
|
|
10
10
|
from lamindb_setup import disconnect, logout
|
|
11
11
|
from lamindb_setup._connect_instance import _connect_cli as connect
|
lamin_cli/__main__.py
CHANGED
|
@@ -180,8 +180,9 @@ def init(
|
|
|
180
180
|
# fmt: off
|
|
181
181
|
@main.command()
|
|
182
182
|
@click.argument("instance", type=str)
|
|
183
|
+
@click.option("--use_proxy_db", is_flag=True, help="Use proxy database connection.")
|
|
183
184
|
# fmt: on
|
|
184
|
-
def connect(instance: str):
|
|
185
|
+
def connect(instance: str, use_proxy_db: bool):
|
|
185
186
|
"""Configure default instance for connections.
|
|
186
187
|
|
|
187
188
|
Python/R sessions and CLI commands will then auto-connect to the configured instance.
|
|
@@ -190,7 +191,7 @@ def connect(instance: str):
|
|
|
190
191
|
|
|
191
192
|
See also: Connect in a Python session via {func}`~lamindb.connect`.
|
|
192
193
|
"""
|
|
193
|
-
return connect_(instance)
|
|
194
|
+
return connect_(instance, use_proxy_db=use_proxy_db)
|
|
194
195
|
|
|
195
196
|
|
|
196
197
|
@main.command()
|
lamin_cli/_save.py
CHANGED
|
@@ -160,7 +160,8 @@ def save(
|
|
|
160
160
|
logger.important(f"labeled with project: {project_record.name}")
|
|
161
161
|
if ln.setup.settings.instance.is_remote:
|
|
162
162
|
slug = ln.setup.settings.instance.slug
|
|
163
|
-
|
|
163
|
+
ui_url = ln.setup.settings.instance.ui_url
|
|
164
|
+
logger.important(f"go to: {ui_url}/{slug}/artifact/{artifact.uid}")
|
|
164
165
|
return None
|
|
165
166
|
|
|
166
167
|
if registry == "transform":
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
lamin_cli/__init__.py,sha256=
|
|
2
|
-
lamin_cli/__main__.py,sha256=
|
|
1
|
+
lamin_cli/__init__.py,sha256=UE_o2BSyhfXL0PkGbgUKzFvRh9nw9oZf7sdX1gNf0G0,563
|
|
2
|
+
lamin_cli/__main__.py,sha256=zuzvpfWDvrLxvcLNwAyGQHIGXiFvAra4dnPe7Nygu6M,19225
|
|
3
3
|
lamin_cli/_annotate.py,sha256=ZD76__K-mQt7UpYqyM1I2lKCs-DraTmnkjsByIHmD-g,1839
|
|
4
4
|
lamin_cli/_cache.py,sha256=oplwE8AcS_9PYptQUZxff2qTIdNFS81clGPkJNWk098,800
|
|
5
5
|
lamin_cli/_delete.py,sha256=dxItUgf7At247iYGLagmJ2Ccp5nAWgodPL7c7zfZQ_0,1420
|
|
6
6
|
lamin_cli/_load.py,sha256=OgTGqZQtoJ0GYOhuJihz-izt0F4jM4U_nSX_vhPoukg,7698
|
|
7
7
|
lamin_cli/_migration.py,sha256=XUl_L9_3pTTk5jJoBiqbzf0Bd2LdKKtHa1zPZ4Rla5c,1267
|
|
8
|
-
lamin_cli/_save.py,sha256=
|
|
8
|
+
lamin_cli/_save.py,sha256=EPYsRpl0vD_Q52ksqVyP56ZOvPXBjgTFPeJWyGokN8I,11555
|
|
9
9
|
lamin_cli/_settings.py,sha256=mTnwU5zfBGwt9x6RrhFpi4f0DeyEfI02YWs96x_JYWw,2672
|
|
10
10
|
lamin_cli/urls.py,sha256=gc72s4SpaAQA8J50CtCIWlr49DWOSL_a6OM9lXfPouM,367
|
|
11
11
|
lamin_cli/compute/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
12
|
lamin_cli/compute/modal.py,sha256=QnR7GyyvWWWkLnou95HxS9xxSQfw1k-SiefM_qRVnU0,6010
|
|
13
|
-
lamin_cli-1.8.
|
|
14
|
-
lamin_cli-1.8.
|
|
15
|
-
lamin_cli-1.8.
|
|
16
|
-
lamin_cli-1.8.
|
|
17
|
-
lamin_cli-1.8.
|
|
13
|
+
lamin_cli-1.8.2.dist-info/entry_points.txt,sha256=Qms85i9cZPlu-U7RnVZhFsF7vJ9gaLZUFkCjcGcXTpg,49
|
|
14
|
+
lamin_cli-1.8.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
15
|
+
lamin_cli-1.8.2.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
|
|
16
|
+
lamin_cli-1.8.2.dist-info/METADATA,sha256=ISh-SL8AGEvoOOSIkaUREwzYdLVk4U01NVAgySnzA20,337
|
|
17
|
+
lamin_cli-1.8.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|