Commit b8b457a
authored
fix: propagate quota_project_id and api_endpoint in AsyncGrpcClient (#16731)
This PR fixes b/503990490 where AsyncGrpcClient fails to propagate
quota_project_id and api_endpoint from ClientOptions to the gRPC
channel.1 parent 668fec0 commit b8b457aCopy full SHA for b8b457a
2 files changed
+49Lines changed: 49 additions & 0 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- packages/google-cloud-storage
- google/cloud/storage/asyncio
- tests/unit/asyncio
Expand file treeCollapse file tree
Open diff view settings
Collapse file
packages/google-cloud-storage/google/cloud/storage/asyncio/async_grpc_client.py
Copy file name to clipboardExpand all lines: packages/google-cloud-storage/google/cloud/storage/asyncio/async_grpc_client.py+10Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
| 26 | + |
| 27 | + |
26 | 28 | |
27 | 29 | |
28 | 30 | |
| ||
109 | 111 | |
110 | 112 | |
111 | 113 | |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
112 | 120 | |
| 121 | + |
| 122 | + |
113 | 123 | |
114 | 124 | |
115 | 125 | |
|
Collapse file
packages/google-cloud-storage/tests/unit/asyncio/test_async_grpc_client.py
Copy file name to clipboardExpand all lines: packages/google-cloud-storage/tests/unit/asyncio/test_async_grpc_client.py+39Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
53 | 53 | |
54 | 54 | |
55 | 55 | |
| 56 | + |
| 57 | + |
56 | 58 | |
57 | 59 | |
58 | 60 | |
| ||
82 | 84 | |
83 | 85 | |
84 | 86 | |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
85 | 120 | |
86 | 121 | |
87 | 122 | |
| ||
105 | 140 | |
106 | 141 | |
107 | 142 | |
| 143 | + |
| 144 | + |
108 | 145 | |
109 | 146 | |
110 | 147 | |
| ||
147 | 184 | |
148 | 185 | |
149 | 186 | |
| 187 | + |
| 188 | + |
150 | 189 | |
151 | 190 | |
152 | 191 | |
|
0 commit comments