You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/04/29 23:23:52 UTC
[GitHub] [beam] AnandInguva commented on a diff in pull request #17483: Fix lint and types, add __init__ to inference
AnandInguva commented on code in PR #17483:
URL: https://github.com/apache/beam/pull/17483#discussion_r862254915
##########
sdks/python/apache_beam/ml/inference/base.py:
##########
@@ -44,10 +44,10 @@
from apache_beam.utils import shared
try:
- # pylint: disable=g-import-not-at-top
+ # pylint: disable=wrong-import-order, wrong-import-position
import resource
except ImportError:
- resource = None
+ resource = None # type: ignore[assignment]
Review Comment:
I think this is fine for now.
--
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