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. We need to change the logic. This is consistent with tfx code. So I would keep it like this 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
