shunping commented on code in PR #35884: URL: https://github.com/apache/beam/pull/35884#discussion_r2292488982
########## sdks/python/apache_beam/ml/anomaly/detectors/pyod_adapter.py: ########## @@ -29,6 +35,7 @@ from apache_beam.ml.anomaly.specifiable import specifiable from apache_beam.ml.anomaly.thresholds import FixedThreshold from apache_beam.ml.inference.base import KeyedModelHandler +from typing import cast, Any Review Comment: Please put this line after "from typing import Optional". Imports needs to be placed in order and system imports come first, then third-party imports and apache beam imports. -- 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-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org