From: Mike Bayer Date: Mon, 11 Aug 2025 14:19:12 +0000 (-0400) Subject: maintain alphabetical create_engine() param ordering X-Git-Tag: rel_2_0_43~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=385b267a2e388dcb602f77c1d8628d49665610ae;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git maintain alphabetical create_engine() param ordering the name changed on this so it needs to be moved down Change-Id: I119c3f5db9262c80b6dd2175e1e56073776607cf (cherry picked from commit bcd6bba54bf62dcd6a9fc0b84e1630d4398b19ec) --- diff --git a/lib/sqlalchemy/engine/create.py b/lib/sqlalchemy/engine/create.py index c0add3d8ea..bf1ede606b 100644 --- a/lib/sqlalchemy/engine/create.py +++ b/lib/sqlalchemy/engine/create.py @@ -171,18 +171,6 @@ def create_engine(url: Union[str, _url.URL], **kwargs: Any) -> Engine: :ref:`connections_toplevel` - :param skip_autocommit_rollback: When True, the dialect will - unconditionally skip all calls to the DBAPI ``connection.rollback()`` - method if the DBAPI connection is confirmed to be in "autocommit" mode. - The availability of this feature is dialect specific; if not available, - a ``NotImplementedError`` is raised by the dialect when rollback occurs. - - .. seealso:: - - :ref:`dbapi_autocommit_skip_rollback` - - .. versionadded:: 2.0.43 - :param connect_args: a dictionary of options which will be passed directly to the DBAPI's ``connect()`` method as additional keyword arguments. See the example @@ -539,6 +527,18 @@ def create_engine(url: Union[str, _url.URL], **kwargs: Any) -> Engine: .. versionadded:: 1.4 + :param skip_autocommit_rollback: When True, the dialect will + unconditionally skip all calls to the DBAPI ``connection.rollback()`` + method if the DBAPI connection is confirmed to be in "autocommit" mode. + The availability of this feature is dialect specific; if not available, + a ``NotImplementedError`` is raised by the dialect when rollback occurs. + + .. seealso:: + + :ref:`dbapi_autocommit_skip_rollback` + + .. versionadded:: 2.0.43 + :param use_insertmanyvalues: True by default, use the "insertmanyvalues" execution style for INSERT..RETURNING statements by default.