From 782b9a8c04ff5e4ec25d67b9c5ec7f3b3dbe4350 Mon Sep 17 00:00:00 2001 From: Iuri de Silvio Date: Fri, 1 Dec 2023 16:25:32 +0100 Subject: [PATCH] fixup! fixup! fixup! Fixed: #1369 `get_x_arguments(as_dictionary=True)` for args without `=` --- alembic/context.pyi | 2 +- alembic/runtime/environment.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/alembic/context.pyi b/alembic/context.pyi index cc8a0c4d..5459b6f6 100644 --- a/alembic/context.pyi +++ b/alembic/context.pyi @@ -763,7 +763,7 @@ def get_x_argument( string. .. versionchanged:: 1.13.0 Support to `as_dictionary=True` and args - without `=`, generating an empty string instead of crashing. + without `=`, generating an empty string instead of crashing. For example, to support passing a database URL on the command line, the standard ``env.py`` script can be modified like this:: diff --git a/alembic/runtime/environment.py b/alembic/runtime/environment.py index 8e02e684..82a62004 100644 --- a/alembic/runtime/environment.py +++ b/alembic/runtime/environment.py @@ -371,7 +371,7 @@ def get_x_argument( string. .. versionchanged:: 1.13.0 Support to `as_dictionary=True` and args - without `=`, generating an empty string instead of crashing. + without `=`, generating an empty string instead of crashing. For example, to support passing a database URL on the command line, the standard ``env.py`` script can be modified like this::