JingsongLi commented on code in PR #9529:
URL: https://github.com/apache/paimon/pull/9529#discussion_r3912856662
##########
docs/docs/pypaimon/multimodal-api.mdx:
##########
@@ -524,26 +524,31 @@ source drift. Calling it again with the same input
appends the rows again.
`load_from_lerobot` imports a local directory, FileIO URI, or Hugging Face
repository. It derives the schema from `meta/info.json`, writes one row per
-frame, and commits once.
+frame, and creates a LeRobot dataset backed by the frame table,
+`<table>__versions`, `<table>__episodes`, and `<table>__tasks`. A manifest row
is
+reserved as `PENDING` before the component writes and marked `READY` only after
+all components are committed and tagged with the same numeric `version_id`.
+Readers ignore `PENDING`.
```shell
pip install 'pypaimon[lerobot]'
```
```python
-snapshot_id = conn.load_from_lerobot(
+version_id = conn.load_from_lerobot(
"robot_data",
"/data/lerobot_dataset",
)
-print(snapshot_id)
+print(version_id)
```
-The return value is `None` when the source has no frames.
+The returned `version_id` is the common tag name for the frame, Episode, and
+Task tables.
For FileIO URIs, pass credentials through `source_options`:
```python
-snapshot_id = conn.load_from_lerobot(
+version_id = conn.load_from_lerobot(
Review Comment:
I think it is OK, if none you should find latest.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]