Type stubs that make tortoise-orm a lot easier to work with when using type checkers.
Project description
types-tortoise
Warning: This package is deprecated. Use tortoise-orm-stubs
instead.
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
types-tortoise-0.3.6.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for types_tortoise-0.3.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0bd384ec9a87ffdfca8330f3a25cff6fd59c45bfadf4e19b34a7ee589e9e0be |
|
MD5 | bce0bb0ceb55f12baf8c20da9450e1e8 |
|
BLAKE2b-256 | 161b3ed32d6b15088d7c3a0c0c7ee7e9f160ef19c6848bac29f5d3cc4cd0680c |