yfsn666 commented on code in PR #12091:
URL: https://github.com/apache/inlong/pull/12091#discussion_r2882493668


##########
inlong-sdk/dataproxy-sdk-twins/dataproxy-sdk-python/inlong_dataproxy.pyi:
##########
@@ -0,0 +1,17 @@
+from collections.abc import Callable, Optional

Review Comment:
   `Optional` belongs to `typing`, not `collections.abc`. This breaks all type 
checkers (mypy/pyright) and IDE autocompletion using this stub.
   ```suggestion
   from collections.abc import Callable
   from typing import Optional
   ```



-- 
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]

Reply via email to