[ https://issues.apache.org/jira/browse/FLINK-31281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17705762#comment-17705762 ]
Ran Tao commented on FLINK-31281: --------------------------------- got it. i will close it.[~mapohl] > PythonFunctionRunner doesn't extend AutoCloseable but implements close > ---------------------------------------------------------------------- > > Key: FLINK-31281 > URL: https://issues.apache.org/jira/browse/FLINK-31281 > Project: Flink > Issue Type: Improvement > Components: API / Python > Reporter: Ran Tao > Priority: Major > > The PythonFunctionRunner provides a {{close}} method (see > [PythonFunctionRunner|https://github.com/apache/flink/blob/0612a997ddcc791ee54f500fbf1299ce04987679/flink-python/src/main/java/org/apache/flink/python/PythonFunctionRunner.java]) > but doesn't implement {{{}AutoCloseable{}}}. However {{AutoCloseable}} would > enable us to use Java's try-with-resources feature and more generic utility > classes. -- This message was sent by Atlassian Jira (v8.20.10#820010)