sqlalchemy-stubs
SQLAlchemy stubs and mypy plugin
0.4
2.1M downloads/mo
#3276 most downloaded on PyPI
dropbox/sqlalchemy-stubs
What this package is like to depend on
Last release 6 years ago
no release in 18 months
Ships fairly regularly
a new release about every 5 months
This project publishes no release notes
the list below is its commits, not an announcement
Nothing withdrawn
no release was ever pulled
8 years old
4 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
4 releases · Feb 2019 to Jan 2021Releases
latest 4-
0.412 Jan 2021Commits, not release notes
This project publishes no release notes. Between
v0.3andv0.4there were 18 commits, 17 of them substantive:- Fix default type for Numeric columns to Decimal (#132)
- Add next to ResultProxy stub (#133)
- Typed queries 2 (reduced) (#149)
- Add one overload to Session.query to type queries of one single item (#151)
- Allow bool or string for relationship(passive_deletes=...) arg (#143)
- Update spec of sqlalchemy.ext.hybrid.hybrid_property (#142)
- Session merge should an object of the type passed (#165)
- Update external/mypy to 0.790 (#179)
- Add missing types to Session (#144)
- Add type stub for sqlalchemy.orm.session.close_all_sessions (#147)
- Type relationship as list (#154)
- Add CTE prefixes (#157)
- Make name argument optional (#158)
- Fix re-export of some names according to new PEP 484 rules (#198)
- Test with python 3.8 (#186)
- Fix single item query return type (#199)
- Fix in operator annotations (and corresponding imports) (#200)
-
0.323 Nov 2019Commits, not release notes
This project publishes no release notes. Between
v0.2andv0.3there were 22 commits, 21 of them substantive:- Add some annotations to Connection (#89)
- Fix JSON type + update Enum (#72)
- Better mixins support (#80)
- Add a fake eq method to relationship() to avoid false positives with --strict-equality (#92)
- Add sqlalchemy.orm.query_expression definition (#100)
- Add sqlalchemy.orm.with_expression function alias (#101)
- Allow TextClause in Index init (#99)
- Fix incompatibility with the latest typeshed stubs (#103)
- Add type stubs for new load strategies (#106)
- Add type to Session begin and begin_nested (#108)
- Annotate orm.mapper.validates (#111)
- add type str to parameter other (#110)
- Allow TableClause to with_for_update (#118)
- Add types to execute method parameter statement (#119)
- Add return type to RowProxy:items() method (#120)
- Allow bool in update
synchronize_session(#117) - Add missing types (#102)
- Type asc/desc operators (#122)
- Fix types and add test for concat (#125)
- Update mypy pin and fix related issues (#127)
…and 1 more.
-
0.227 Jun 2019Commits, not release notes
This project publishes no release notes. Between
v0.1andv0.2there were 16 commits, 15 of them substantive:- In sqlalchemy-stubs/sql/schema.pyi Sequence should be typing.Sequence (#56)
- Plugin: handle
declarative_baseclsargument (#57) - Enable mypy check for plugin (#62)
- Sync mypy (#64)
- Update README and setup.py in preparation for the release (#70)
- Build out postgres typings (#47)
- Use setuptools in setup.py (#71)
- Infer better types for Grouping() calls (#61)
- Some stub fixes (#68)
- Add additional typing to column queries + regression test (#66)
- Fix FromClause.outerjoin (#79)
- Fix another typo in README
- Fix problems found locally (#84)
- Update mypy and use new semantic analyzer (#85)
- Run basic tests also on Python 3.5.1 (#87)
-
0.108 Feb 2019Nothing published for this version