Commit c02060f
authored
fix: PubSub incompatibility with api-core 1.17.0+ (googleapis#103)
* fix: disable pre-fetching first streaming pull item
* Remove api-core version cap, but ban 1.17.0 release
* Regenerate gapic layer with synth
* Revert "Regenerate gapic layer with synth"
This reverts commit 1d24853.
* Retain only the relevant fix in generated code
* Exclude multiple incompatible api-core versions
* Fix syntax error in synth.py
* Ban all bugfix versions of problematic api-core minor versions1 parent 6c7677e commit c02060fCopy full SHA for c02060f
File tree
Expand file treeCollapse file tree
4 files changed
+34
-3
lines changedOpen diff view settings
Filter options
- google/cloud/pubsub_v1/gapic
- tests/unit/pubsub_v1/subscriber
Expand file treeCollapse file tree
4 files changed
+34
-3
lines changedOpen diff view settings
Collapse file
google/cloud/pubsub_v1/gapic/subscriber_client.py
Copy file name to clipboardExpand all lines: google/cloud/pubsub_v1/gapic/subscriber_client.py+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1175 | 1175 | |
1176 | 1176 | |
1177 | 1177 | |
| 1178 | + |
| 1179 | + |
| 1180 | + |
| 1181 | + |
| 1182 | + |
1178 | 1183 | |
1179 | 1184 | |
1180 | 1185 | |
|
Collapse file
+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | | - |
33 | | - |
| 32 | + |
| 33 | + |
34 | 34 | |
35 | | - |
| 35 | + |
36 | 36 | |
37 | 37 | |
38 | 38 | |
|
Collapse file
+14Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
185 | 185 | |
186 | 186 | |
187 | 187 | |
| 188 | + |
| 189 | + |
| 190 | + |
| 191 | + |
| 192 | + |
| 193 | + |
| 194 | + |
| 195 | + |
| 196 | + |
| 197 | + |
| 198 | + |
| 199 | + |
| 200 | + |
| 201 | + |
188 | 202 | |
189 | 203 | |
190 | 204 | |
|
Collapse file
tests/unit/pubsub_v1/subscriber/test_subscriber_client.py
Copy file name to clipboardExpand all lines: tests/unit/pubsub_v1/subscriber/test_subscriber_client.py+12Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
154 | 154 | |
155 | 155 | |
156 | 156 | |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | + |
| 165 | + |
| 166 | + |
| 167 | + |
| 168 | + |
0 commit comments