Commit 3d380ba
Copybara import of the project:
--
2681770 by Yashwant Bezawada <yashwant_b@me.com>:
fix: PrivateEndpoint.raw_predict parameter name
Fixes #6101
Changed parameter name from 'body' to 'data' in PrivateEndpoint.raw_predict
to match google-auth-transport's AuthorizedSession.post() API signature.
The google-auth-transport library updated its API, changing the parameter
name from 'body' to 'data'. The Endpoint class was already updated to use
'data', but PrivateEndpoint class was missed, causing TypeError when calling
raw_predict() on PrivateEndpoint instances.
This fix aligns PrivateEndpoint.raw_predict() with Endpoint.raw_predict()
implementation.
Signed-off-by: Yashwant Bezawada <yashwant_b@me.com>
COPYBARA_INTEGRATE_REVIEW=#6107 from yashwantbezawada:fix/private-endpoint-raw-predict-parameter e550151
PiperOrigin-RevId: 9041805591 parent e566540 commit 3d380ba
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4240 | 4240 | | |
4241 | 4241 | | |
4242 | 4242 | | |
4243 | | - | |
| 4243 | + | |
4244 | 4244 | | |
4245 | 4245 | | |
4246 | 4246 | | |
| |||
0 commit comments