Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
73f6330
fix(dbapi): autocommit enabling fails if no transactions begun
Nov 30, 2020
632bc20
remove unused import
Nov 30, 2020
9f09bfb
Merge branch 'master' into autocommit_change
c24t Dec 1, 2020
1f8e864
don't calculate checksums in autocommit mode
Dec 3, 2020
0841fef
Merge branch 'autocommit_change' of https://github.com/q-logic/python…
Dec 3, 2020
fcc20ae
try using dummy WHERE clause
Dec 3, 2020
73f91ef
revert where clause
Dec 3, 2020
df9c35f
unveil error
Dec 4, 2020
5f04934
fix where clauses
Dec 4, 2020
6a0ff47
add print
Dec 7, 2020
bb75c34
don't log
Dec 8, 2020
e9e5260
Merge branch 'master' into autocommit_change
c24t Dec 10, 2020
1527a0e
print failed exceptions
Dec 14, 2020
6294e97
Merge branch 'autocommit_change' of https://github.com/q-logic/python…
Dec 14, 2020
dd4e74e
don't print
Dec 14, 2020
092c334
separate insert statements
Dec 15, 2020
5d997fd
don't return
Dec 15, 2020
9e07ec8
re-run
Dec 15, 2020
914930f
don't pyformat insert args
Dec 15, 2020
824d3ff
args
Dec 15, 2020
18e815f
re-run
Dec 15, 2020
7ddd0b5
fix
Dec 15, 2020
96f5df1
Merge branch 'master' into autocommit_change
c24t Dec 15, 2020
705dd1d
Merge branch 'master' into autocommit_change
c24t Dec 17, 2020
51da009
Merge branch 'master' into autocommit_change
larkee Dec 17, 2020
e40ccc6
fix error in transactions.tests.NonAutocommitTests.test_orm_query_wit…
Dec 21, 2020
2b4d830
Merge branch 'autocommit_change' of https://github.com/q-logic/python…
Dec 21, 2020
2124092
fix "already committed" error
Dec 22, 2020
d36becb
Merge branch 'master' into autocommit_change
c24t Dec 22, 2020
6a4e248
fix for AttributeError: 'tuple' object has no attribute 'items'
Dec 23, 2020
9406e68
Merge branch 'autocommit_change' of https://github.com/q-logic/python…
Dec 23, 2020
dbd75ce
fix
Dec 23, 2020
f9306b2
fix KeyError: 'type'
Dec 24, 2020
5fa4dff
Merge branch 'master' into autocommit_change
AVaksman Dec 29, 2020
e50aa83
Merge branch 'master' into autocommit_change
larkee Dec 30, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix for AttributeError: 'tuple' object has no attribute 'items'
  • Loading branch information
IlyaFaer committed Dec 23, 2020
commit 6a4e248f6d0277d63b019246a10c0522faa1ef69
2 changes: 1 addition & 1 deletion google/cloud/spanner_dbapi/cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def execute(self, sql, args=None):
sql = parse_utils.ensure_where_clause(sql)

if classification != parse_utils.STMT_INSERT:
sql, args = sql_pyformat_args_to_spanner(sql, args)
sql, args = sql_pyformat_args_to_spanner(sql, args or None)

statement = Statement(
sql,
Expand Down