Type stubs that make tortoise-orm a lot easier to work with when using type checkers.
Project description
tortoise-orm-stubs
Type stubs that make tortoise-orm a lot easier to work with when using type checkers.
Specifically,
- ForeignKeyField can be typehinted without an extra type ignore
- OneToOneField can be typehinted without an extra type ignore
- Data fields' types are now automatically typehinted as the primitive types they describe, not Field subclasses
- Data fields' types automatically reflect the value of null argument (i.e. become optional if you set null=True)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for tortoise_orm_stubs-0.3.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68bb4d87098d619e20b44d852129a7ed5457449348fbc27b4da735f2dd09c25e |
|
MD5 | 5948f7d41f8958ef4f109d03203acc5c |
|
BLAKE2b-256 | 28c81e4efee1f50499cdf64c4216c7b557f86a92a6e12a3edb649be7c387295a |