Skip to main content

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


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)

Uploaded Source

Built Distribution

types_tortoise-0.3.6-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page