This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch users/damccorm/vertexArgs
in repository https://gitbox.apache.org/repos/asf/beam.git

commit eee81113b8bb63a428fe6f579e8914c26d8afbe5
Author: Danny McCormick <[email protected]>
AuthorDate: Thu Sep 7 11:05:42 2023 -0400

    Allow users to pass inference args into vertex ai model handler
---
 sdks/python/apache_beam/ml/inference/vertex_ai_inference.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sdks/python/apache_beam/ml/inference/vertex_ai_inference.py 
b/sdks/python/apache_beam/ml/inference/vertex_ai_inference.py
index 3c3414923c8..8c902421f60 100644
--- a/sdks/python/apache_beam/ml/inference/vertex_ai_inference.py
+++ b/sdks/python/apache_beam/ml/inference/vertex_ai_inference.py
@@ -228,3 +228,6 @@ class VertexAIModelHandlerJSON(ModelHandler[Any,
 
     return utils._convert_to_result(
         batch, prediction.predictions, prediction.deployed_model_id)
+
+  def validate_inference_args(self, inference_args: Optional[Dict[str, Any]]):
+    pass

Reply via email to