ironic/ironic/db
Riccardo Pittau 06dd82bd30 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().

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

Change-Id: I2d4c6a108eb0fee0bd5b0a20f2f508727b44e887
2019-06-18 17:39:09 +02:00
..
sqlalchemy Replace deprecated with_lockmode with with_for_update 2019-06-18 17:39:09 +02:00
__init__.py Remove copyright from empty files 2014-01-07 21:05:01 +08:00
api.py Allocation API: optimize check on candidate nodes 2019-03-04 14:52:14 +01:00
migration.py Remove downgrade support from migrations 2016-02-08 15:31:15 +00:00