File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2583,6 +2583,7 @@ def stream_raw_predict(
2583
2583
timeout : Optional [float ] = None ,
2584
2584
) -> Iterator [requests .models .Response ]:
2585
2585
"""Makes a streaming prediction request using arbitrary headers.
2586
+ For custom model, this method is only supported for dedicated endpoint.
2586
2587
2587
2588
Example usage:
2588
2589
```
@@ -2632,7 +2633,7 @@ def stream_raw_predict(
2632
2633
if self .stream_raw_predict_request_url is None :
2633
2634
self .stream_raw_predict_request_url = f"https://{ self .location } -{ constants .base .API_BASE_PATH } /v1/projects/{ self .project } /locations/{ self .location } /endpoints/{ self .name } :streamRawPredict"
2634
2635
2635
- url = self .raw_predict_request_url
2636
+ url = self .stream_raw_predict_request_url
2636
2637
2637
2638
if use_dedicated_endpoint :
2638
2639
self ._sync_gca_resource_if_skipped ()
You can’t perform that action at this time.
0 commit comments