dbapi/Cursor: fix execute default args value by odeke-em · Pull Request #34 · googleapis/python-spanner-django

Skip to content

Navigation Menu

Sign in

Appearance settings

This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Conversation

Reported by @timgraham while working on the
Django adapter, the prior signature of:

    def execute(self, *args, **kwargs)

was passing args=() into

    self.__do_execute_non_update(sql, *args, **kwargs)

so changed it to

    def execute(self, args=None)

@odeke-em odeke-em deleted the fix-Cursor.execute-signature branch

November 11, 2019 00:05

This was referenced

Mar 31, 2026