Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
Zethson committed Mar 9, 2025
1 parent d55835e commit 827a8ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions jupyter-book/_static/default_text_lamindb_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@ We acknowledge free hosting from [Lamin Labs](https://lamin.ai/).

```python
import lamindb as ln
af = ln.Artifact.get(key="key_of_dataset", is_latest=True)
af = ln.Artifact.get(key="key_of_dataset", is_latest=True) # or ln.Artifact("SOMEID").get()
obj = af.load()
```

The object is now accessible in memory and is ready for analysis.
Adapt the `ln.Artifact("SOMEID").get()` suffix to get older versions like `ln.Artifact("SOMEID0001").get()` to get the second uploaded version.

6. **Accessing notebooks (Transforms)**

Expand All @@ -57,7 +58,8 @@ We acknowledge free hosting from [Lamin Labs](https://lamin.ai/).
```

which will download the notebook to the current working directory.
Analogously to `Artifacts`, you can adapt the suffix ID to get older versions.

7. \*\*On `ln.track()` and `ln.finish()`
7. **On `ln.track()` and `ln.finish()`**

- These functions are currently only available for users with write access and may error. Please comment them out for now.
2 changes: 1 addition & 1 deletion jupyter-book/trajectories/pseudotemporal.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"`````\n",
"``````\n",
"\n",
"````{dropdown} Access to data and notebook\n",
"````{dropdown} <i class=\"fa-solid fa-database\"></i>&nbsp;&nbsp;&nbsp;Access to data and notebook\n",
"```{include} ../_static/default_text_lamindb_setup.md\n",
"```\n",
"````"
Expand Down

0 comments on commit 827a8ec

Please sign in to comment.