Skip to content
Permalink
Browse files
fix(dbapi): Spanner protobuf changes causes KeyError's (#206)
* fix: use the original protobuf

* use pb

* use pb
  • Loading branch information
Ilya Gurov committed Jan 12, 2021
1 parent 4a58bcb commit f1e21edbf37aab93615fd415d61f829d2574916b
Showing with 1 addition and 1 deletion.
  1. +1 −1 google/cloud/spanner_dbapi/cursor.py
@@ -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)

0 comments on commit f1e21ed

Please sign in to comment.