Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cd822c9

Browse files
authored
docs: Fix incorrect generated return types (#43)
Co-authored-by: larkee <[email protected]>
1 parent adeacee commit cd822c9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

synth.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,14 @@
133133
'"""Protocol buffer.\n\n Attributes:',
134134
)
135135

136+
# Fix LRO return types
137+
s.replace("google/cloud/spanner_admin_instance_v1/gapic/instance_admin_client.py",
138+
"cloud.spanner_admin_instance_v1.types._OperationFuture",
139+
"api_core.operation.Operation")
140+
s.replace("google/cloud/spanner_admin_database_v1/gapic/database_admin_client.py",
141+
"cloud.spanner_admin_database_v1.types._OperationFuture",
142+
"api_core.operation.Operation")
143+
136144
# ----------------------------------------------------------------------------
137145
# Add templated files
138146
# ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)