Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f1e21ed

Browse filesBrowse files
author
Ilya Gurov
authored
fix(dbapi): Spanner protobuf changes causes KeyError's (#206)
* fix: use the original protobuf * use pb * use pb
1 parent 4a58bcb commit f1e21ed
Copy full SHA for f1e21ed

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎google/cloud/spanner_dbapi/cursor.py

Copy file name to clipboardExpand all lines: google/cloud/spanner_dbapi/cursor.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def description(self):
9999
# Size of the SQL type of the column.
100100
display_size=code_to_display_size.get(field.type_.code),
101101
# Client perceived size of the column.
102-
internal_size=field.ByteSize(),
102+
internal_size=field._pb.ByteSize(),
103103
)
104104
columns.append(column_info)
105105

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.