def cursor(self): """Return a new cursor object. :rtype: :class:`~google.cloud.bigquery.dbapi.Cursor` :returns: A DB-API cursor that uses this connection. """ return cursor.Cursor(self)
def cursor(self): """Return a new cursor object. Returns: google.cloud.bigquery.dbapi.Cursor: A DB-API cursor that uses this connection. """ return cursor.Cursor(self)
def cursor(self): """Return a new cursor object. Returns: google.cloud.bigquery.dbapi.Cursor: A DB-API cursor that uses this connection. """ new_cursor = cursor.Cursor(self) self._cursors_created.add(new_cursor) return new_cursor