Commit 8630f57
committed
Python: Add up-/downgrade scripts
Adds up- and downgrade scripts for the support for type parameter
defaults.
In the upgrade direction we do nothing, matching the behaviour of
`getDefault` not having a result for old databases.
In the downgrade direction, we explicitly remove the relevant child (via
the `py_exprs` database relation) for `TypeVar`, `TypeVarTuple`, and
`ParamSpec` parameters.1 parent 819b3d7 commit 8630f57
7 files changed
Lines changed: 4985 additions & 0 deletions
File tree
- python
- downgrades/5af903da088e3746aa283700a43a779302453523
- ql/lib/upgrades/728c6d65e61d808ae276013ebc15abc3a97aaef1
0 commit comments