]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Fixup: consistency: re-apply black code formatting to Operation.create_primary_key...
authorJames Addison <james@reciperadar.com>
Wed, 26 Apr 2023 10:20:53 +0000 (11:20 +0100)
committerJames Addison <james@reciperadar.com>
Wed, 26 Apr 2023 10:26:54 +0000 (11:26 +0100)
Follows-on-from commit 84462eee9b742e58e0f1937f17820e946508b4e3.

alembic/operations/ops.py

index 8dccc4288ebeeb5c6c25877ec6ea0253db33b70a..f95ab70ff2385ebd4f6aeb2bac13dc8aad5888e9 100644 (file)
@@ -308,9 +308,7 @@ class CreatePrimaryKeyOp(AddConstraintOp):
 
             from alembic import op
 
-            op.create_primary_key(
-                "pk_my_table", "my_table", ["id", "version"]
-            )
+            op.create_primary_key("pk_my_table", "my_table", ["id", "version"])
 
         This internally generates a :class:`~sqlalchemy.schema.Table` object
         containing the necessary columns, then generates a new