You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluss.apache.org by yu...@apache.org on 2026/03/11 13:32:28 UTC
(fluss-rust) 01/01: docs: update python api reference for schema methods
This is an automated email from the ASF dual-hosted git repository.
yuxia pushed a commit to branch support_primary_key
in repository https://gitbox.apache.org/repos/asf/fluss-rust.git
commit c45a7f8d339dff85791a28aa52e0d7fe1443d2f8
Author: luoyuxia <lu...@alumni.sjtu.edu.cn>
AuthorDate: Wed Mar 11 21:32:09 2026 +0800
docs: update python api reference for schema methods
---
website/docs/user-guide/python/api-reference.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/website/docs/user-guide/python/api-reference.md b/website/docs/user-guide/python/api-reference.md
index e9113b6..fef10a8 100644
--- a/website/docs/user-guide/python/api-reference.md
+++ b/website/docs/user-guide/python/api-reference.md
@@ -241,6 +241,8 @@ for record in scan_records:
| `Schema(schema: pa.Schema, primary_keys=None)` | Create from PyArrow schema |
| `.get_column_names() -> list[str]` | Get column names |
| `.get_column_types() -> list[str]` | Get column type names |
+| `.get_columns() -> list[tuple[str, str]]` | Get `(name, type)` pairs |
+| `.get_primary_keys() -> list[str]` | Get primary key columns |
## `TableDescriptor`