Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zmievsa/tortoise-orm-stubs
Type stubs that make tortoise a bit easier to work with when using type checkers
https://github.com/zmievsa/tortoise-orm-stubs
orm tortoise-orm type-stubs typehints
Last synced: 19 days ago
JSON representation
Type stubs that make tortoise a bit easier to work with when using type checkers
- Host: GitHub
- URL: https://github.com/zmievsa/tortoise-orm-stubs
- Owner: zmievsa
- License: mit
- Created: 2022-09-21T19:00:15.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-20T15:07:59.000Z (12 months ago)
- Last Synced: 2024-09-06T05:58:40.614Z (2 months ago)
- Topics: orm, tortoise-orm, type-stubs, typehints
- Language: Python
- Homepage:
- Size: 87.9 KB
- Stars: 7
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tortoise-orm-stubs
Type stubs that make **tortoise-orm** a bit easier to work with when using type checkers.
Specifically, data fields' types automatically reflect the value of null argument (i.e. become optional if you set null=True)
## Installation
`pip install tortoise-orm-stubs`
## Disclaimer
Previously **tortoise-orm-stubs** provided a lot more value but now the majority of its functionality has become a part of **tortoise-orm**. Hopefully, it will become completely unnecessary in the future.