-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python Language Generation #808
base: master
Are you sure you want to change the base?
Conversation
I'm not really sure what a lot of these things other than "Tables" are. Materialized Views? Why are there different types for different operations? CompositeTypes? Anyway, if we agree on the TDD output, I'll make it work 🙂 |
I'd also like to do this again, but for rust. |
Man I'm looking forward to that :) |
happy to be early tester! |
I've dropped my work on it atm if someone wants to take it the final mile, or wants to answer my questions on this pr, that would be great! Eventually i'll get back to working on supabase. |
This is really cool @ryanpeach! Not a supabase team member, just a supabase user who'd love to have python types generated by the CLI. Just wondering, what questions or todos remain before making this an open PR (instead of draft)? |
I need someone to check the tests. I’m know I’ve not covered all cases, but I don’t understand some of the test cases in the other code generators. Basically I need a code review. |
What kind of change does this PR introduce?
Feature
What is the current behavior?
Does not generate python,
What is the new behavior?
Practicing TDD, designing tests first and asking the community for feedback.
Additional Comments
I'd like everyones feedback on this format for the python types. I'm using pydantic and mimicing the go structure, since its closest to python dataclasses (basically structs).