mirror of
https://github.com/morpheus65535/bazarr.git
synced 2026-05-05 03:46:06 -05:00
Updated multiple Python modules (now in libs and custom_libs directories) and React libraries
This commit is contained in:
@@ -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_,
|
||||
|
||||
Reference in New Issue
Block a user