Type stubs that make tortoise-orm a lot easier to work with when using type checkers.
Project description
types-tortoise
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.5.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for types_tortoise-0.3.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5db7d25eab0feb98bc22464b642b7cfa6390509a461fd5303b2591480c9f8b0 |
|
MD5 | c7b2ecca72751a37377d3f344b614e8d |
|
BLAKE2b-256 | e1b51124ebf1369f49d67b238315bdeb623034e07ef3d11b531e4a6865e8ff35 |