Files
watcher/watcher
ericxiett 9ca44fa3ab Replace deprecated with_lockmode with with_for_update
The Query.with_lockmode() method is deprecated since version 0.9.0
and will be removed in a future release. [1]
This patch replaces it with Query.with_for_update().
The 'faultstring' was been modified to 'Exactly 5 or 6 columns has to be
specified for iterator expression', so adds one space between "iterator"
and "expression" for 'expected_error_msg'.

Also use upper-constraints in doc build to avoid issues in pdf build.

[1]
https://docs.sqlalchemy.org/en/13/orm/query.html#sqlalchemy.orm.query.Query.with_lockmode

Closes-Bug: #1933226
Change-Id: I0ad514da647bb08790259fd27e56a41f6dbbbaa0
2021-06-30 09:18:54 +00:00
..
2020-09-30 16:25:13 +08:00
2020-10-12 05:41:00 +00:00
2020-10-29 10:29:55 +00:00
2020-04-16 16:00:37 +08:00
2020-04-22 15:59:15 +08:00
2017-01-11 15:23:06 +05:30
2017-06-08 09:48:26 +07:00