Updated multiple Python modules (now in libs and custom_libs directories) and React libraries

This commit is contained in:
morpheus65535
2024-03-03 12:15:23 -05:00
committed by GitHub
parent 9ae684240b
commit 03afeb3470
3550 changed files with 200757 additions and 117862 deletions

View File

@@ -1,5 +1,5 @@
# testing/assertsql.py
# Copyright (C) 2005-2023 the SQLAlchemy authors and contributors
# Copyright (C) 2005-2024 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
@@ -21,7 +21,6 @@ from ..schema import BaseDDLElement
class AssertRule:
is_consumed = False
errormessage = None
consume_statement = True
@@ -51,6 +50,7 @@ class CursorSQL(SQLMatchRule):
if self.statement != stmt.statement or (
self.params is not None and self.params != stmt.parameters
):
self.consume_statement = True
self.errormessage = (
"Testing for exact SQL %s parameters %s received %s %s"
% (
@@ -88,9 +88,9 @@ class CompiledSQL(SQLMatchRule):
dialect.supports_default_metavalue = True
if self.enable_returning:
dialect.insert_returning = (
dialect.update_returning
) = dialect.delete_returning = True
dialect.insert_returning = dialect.update_returning = (
dialect.delete_returning
) = True
dialect.use_insertmanyvalues = True
dialect.supports_multivalues_insert = True
dialect.update_returning_multifrom = True
@@ -128,7 +128,6 @@ class CompiledSQL(SQLMatchRule):
map_ = None
if isinstance(execute_observed.clauseelement, BaseDDLElement):
compiled = execute_observed.clauseelement.compile(
dialect=compare_dialect,
schema_translate_map=map_,