Replies: 1 comment
-
|
Hey Nick thanks for mentioning this pep which I agree is useful for ibis and several other libraries my team uses that involve schema-like classes and operations on those. Assuming others agree wrt ibis, would your thoughts be to check for any gaps in the proposal vs needs in ibis, and vice support in the comments for the pep? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
FRom the abstract of https://peps.python.org/pep-0827/:
I wanted to make there be a discussion here in ibis, because I think this would really affect how we could type our APIs for users. For example, I think we could then actually track the schema of a table throughout processing, eg so we can error if the user tries to access a column that doesn't exist.
In general I would like such a feature to exist in python's typing. But I haven't read the proposal in much detail, so I don't have specific critiques of it. But if you have thoughts, please chime in here!
Beta Was this translation helpful? Give feedback.
All reactions