Skip to content

Commit a22b28a

Browse files
committed
Add guidelines for Rust-backed Python classes and add Gemini workspace context document
- Updated AGENTS.md to include instructions for handling Python classes that wrap Rust implementations: update Rust code first, then Python wrappers. - Added GEMINI.md with detailed project overview, key technologies, repo structure, build instructions, testing, and linting info to assist in code assistance tasks.
1 parent 90d7db7 commit a22b28a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ When generating Rust code for DataFusion, follow these guidelines:
4747

4848
3. Follow the standard Rust style conventions from rustfmt
4949

50+
## Rust-backed Classes
51+
52+
Some Python classes in this project are thin wrappers around Rust
53+
implementations. If a change affects such a class, update the Rust code
54+
first and then adjust the Python wrappers accordingly.
55+
5056
## Code Organization
5157
- Keep functions focused and under about 50 lines.
5258
- Break complex tasks into well-named helper functions and reuse existing

0 commit comments

Comments
 (0)