]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Update docstring to suggest raw string (#1186)
authorTim Penhey <tim@penhey.net>
Thu, 23 Feb 2023 21:17:57 +0000 (10:17 +1300)
committerGitHub <noreply@github.com>
Thu, 23 Feb 2023 21:17:57 +0000 (22:17 +0100)
commitb53ec0004a08c40a25a4dbf047c51cd140971a9c
tree9d68ba6b5a2d1290c7990538665dd2848b41d5de
parentdf26520617fa6f9ed65f7047d7e158cd31ba7154
Update docstring to suggest raw string (#1186)

* Update docstring to suggest raw string

When escaping the `:` for `op.execute` if a normal string is used, you need to escape the backslash, eg. `'\\:colon_value'` or using a raw string.
For the docs I feel it is nicer to show the raw string.

* Update stub documentation

Change-Id: Ia605c6c036fe82cebff9b427333404f1c59ea74d

---------

Co-authored-by: CaselIT <cfederico87@gmail.com>
alembic/op.pyi
alembic/operations/ops.py
tools/write_pyi.py