We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@autofields
Consider this:
from pyfields import autofields, get_fields @autofields class Foo: c: int b: str = "hello" get_fields(Foo) # <-- (<NativeField: Foo.b>, <NativeField: Foo.c>)
So the order in which the fields are returned is wrong.
The text was updated successfully, but these errors were encountered:
After investigating, this bug only happens when there are attributes that do not have default values (only an annotation).
Sorry, something went wrong.
c8d7adb
No branches or pull requests
Consider this:
So the order in which the fields are returned is wrong.
The text was updated successfully, but these errors were encountered: