You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "robertwb (via GitHub)" <gi...@apache.org> on 2023/08/29 21:20:43 UTC
[GitHub] [beam] robertwb commented on a diff in pull request #28191: Add some simple annotations to Python transforms.
robertwb commented on code in PR #28191:
URL: https://github.com/apache/beam/pull/28191#discussion_r1309354298
##########
sdks/python/apache_beam/ml/inference/base.py:
##########
@@ -773,6 +773,15 @@ def __init__(
# allow us to effectively disambiguate in multi-model settings.
self._model_tag = uuid.uuid4().hex
+ def annotations(self):
+ return {
+ 'model_handler': str(model_handler),
Review Comment:
Oh. Yes. Fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org