Navigation Menu

Skip to content

Commit

Permalink
fix(dbapi): Spanner protobuf changes causes KeyError's (#206)
Browse files Browse the repository at this point in the history
* fix: use the original protobuf

* use pb

* use pb
  • Loading branch information
Ilya Gurov committed Jan 12, 2021
1 parent 4a58bcb commit f1e21ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/spanner_dbapi/cursor.py
Expand Up @@ -99,7 +99,7 @@ def description(self):
# Size of the SQL type of the column.
display_size=code_to_display_size.get(field.type_.code),
# Client perceived size of the column.
internal_size=field.ByteSize(),
internal_size=field._pb.ByteSize(),
)
columns.append(column_info)

Expand Down

0 comments on commit f1e21ed

Please sign in to comment.