GitXplorerGitXplorer
J

sqlalchemy-stubs

public
25 stars
2 forks
0 issues

Commits

List of commits on branch master.
Verified
a6b8f9740f7aeb441e1f17c261c35292937435ab

mention deprecation here

JJelleZijlstra committed 6 years ago
Verified
00dd12a8aa4a1e4270c2b6b13614f54c100a8984

Merge pull request #9 from lukasjuhrich/master

JJelleZijlstra committed 6 years ago
Unverified
d60bf25b72059b22a1d98559e82c61fd992c7482

Add missing abstract methods

llukasjuhrich committed 6 years ago
Verified
5e89b66ca6ad5cecf152400e74cdfe37eb297c6a

Merge pull request #6 from JelleZijlstra/travis

JJelleZijlstra committed 7 years ago
Unverified
2f285ee5597a13331dd1d03c41163d8612c8e40e

Any -> _Any in one place that I missed

JJelleZijlstra committed 7 years ago
Unverified
099b8f1adfc7779eba995847eb7342354366997f

give up on pytype for now

JJelleZijlstra committed 7 years ago

README

The README file for this repository.

sqlalchemy-stubs

Deprecated

This repo is deprecated. If you're interested in using typing with SQLAlchemy, please use Dropbox's stubs instead.

About

This repository contains external type annotations (see PEP 484) for the SQLAlchemy package. Such type annotations are normally included in typeshed, but SQLAlchemy's annotations were frequently problematic and have therefore been deleted from typeshed. This repo provides SQLAlchemy stubs with some issues fixed for those who find them useful. Hopefully it can eventually be merged back into typeshed.

Usage

To use these stubs, clone this repo and point your type checker to it. For example, to use them in mypy, you can set the $MYPYPATH environment variable or set mypy_path = /path/to/sqlalchemy-stubs in your mypy.ini.

Contributing

Contributions should follow the same style guidelines as typeshed.

Git history

The early git history of this repo contains commits from typeshed, filtered to only changes that affect typeshed (using git filter-branch). The SQLAlchemy stubs were moved around a few times (from third_party/2.7 to third_party/2 to third_party/2and3), and commits from all of these locations are included.

Authors

This repository was created by Jelle Zijlstra. Numerous others have contributed to the SQLAlchemy stubs; see the git history for details.

TODOs

  • Provide testing (both a local test script and a Travis setup)
  • Document in this file what problems led to SQLAlchemy being deleted from typeshed.
  • Maybe provide an automated installation script. (For example, I think we could make a pip package that depends on mypy and installs these stubs inside mypy's copy of typeshed. Or we could wait for mypy to provide a standardized way to add third-party stubs.)