Commit Graph

5 Commits

Author SHA1 Message Date
Rodolfo Alonso Hernandez d4a85833a7 [sqlalchemy-20] The Session.begin.subtransactions flag is deprecated
Closes-Bug: #2008276
Change-Id: I5472db98c6ae24b8b1e6add2c0d73aeb1ed016ca
2023-03-03 08:04:14 +00:00
Brian Haley c3b83a9ca6 Fix all pep8 E265 errors
Fixed all pep8 E265 errors and changed tox.ini to no longer
ignore them.  Also removed an N536 comment missed from a
previous change.

Change-Id: Ie6db8406c3b884c95b2a54a7598ea83476b8dba1
2018-04-30 16:35:52 -04:00
Brian Haley de243a3513 Fix E402 pep8 errors
Fix E402 (module level import not at top of file) pep8 errors
and no longer ignore new failures.

Trivialfix

Change-Id: If9a202f1f322b5b03966c692e33e94b7c872079b
2018-04-20 18:13:07 +00:00
Kevin Benton f91d84c577 Fix QoS standardattr migration foreign key step
MySQL doesn't like foreign key columns to be modified,
this adjusts the script to add all constraints and make
modifications before setting up the foreign key relationship.

Change-Id: Ifdb9e57b27aae21cf0ec7c8fec25683b9b0892cf
2016-09-01 07:09:46 -07:00
Kevin Benton f3f90027b1 Add standard attributes to qospolicy
This adds the standard attributes relationship to QoSPolicy.
This has the advantage of providing created_at and updated_at,
however, the primary reason is to ensure it has a revision number
so QoSPolicy objects can be safely used in push notifications.

Partially-Implements: blueprint push-notifications
Change-Id: I8c0c33eef5d53c704b609e5bc503f46f5caad1bb
2016-08-28 06:27:39 +00:00