JingsongLi commented on code in PR #9529:
URL: https://github.com/apache/paimon/pull/9529#discussion_r3912521553
##########
docs/docs/pypaimon/multimodal-api.mdx:
##########
@@ -524,26 +524,32 @@ 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(
+result = conn.load_from_lerobot(
"robot_data",
"/data/lerobot_dataset",
)
-print(snapshot_id)
+print(result.version_id)
+print(result.frames_snapshot_id)
Review Comment:
Just version_id is enough?
--
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]