Skip to content

Conversation

@naivedogger
Copy link
Contributor

@naivedogger naivedogger commented Aug 28, 2025

Purpose

Linked issue: close #16

Brief change log

Tests

API and Format

Documentation

@naivedogger naivedogger changed the title Pr/examples and stub files [feat] Add examples and stub files for Python bindings Aug 28, 2025
@naivedogger naivedogger marked this pull request as ready for review August 28, 2025 12:49
@naivedogger naivedogger force-pushed the pr/examples-and-stub-files branch from 1a42e61 to 90c14a4 Compare October 16, 2025 12:15
Copy link
Contributor

@luoyuxia luoyuxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@naivedogger Thanks for the pr. Left some comments. PTAL

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should put it to bindings/python/fluss?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

class FlussTable:
async def new_append_writer(self) -> AppendWriter: ...
def new_log_scanner(self) -> LogScanner: ...
def new_log_scanner_sync(self) -> LogScanner: ...
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

class TablePath:
def __init__(self, database: str, table: str) -> None: ...
def database(self) -> str: ...
def table(self) -> str: ...
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also add __hash__ and __eq__

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@luoyuxia
Copy link
Contributor

update uv run pdoc fluss_python to uv run pdoc fluss in README.md

@naivedogger
Copy link
Contributor Author

@luoyuxia, thanks for your kind code review. I have addressed the comments and revised the stub file. PTAL.

Copy link
Contributor

@luoyuxia luoyuxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@luoyuxia luoyuxia force-pushed the pr/examples-and-stub-files branch from 1092f2f to 1cf0a34 Compare October 17, 2025 08:34
@luoyuxia luoyuxia merged commit 1b26535 into apache:main Oct 17, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add examples and stub files for Python bindings

2 participants