dianfu commented on a change in pull request #13462:
URL: https://github.com/apache/flink/pull/13462#discussion_r494763521



##########
File path: flink-python/pyflink/common/state.py
##########
@@ -0,0 +1,65 @@
+################################################################################
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+# limitations under the License.
+################################################################################
+from abc import ABC, abstractmethod
+
+from typing import TypeVar, Generic, Iterable, List, Iterator

Review comment:
       Unused imports **Iterable, List, Iterator**

##########
File path: flink-python/pyflink/fn_execution/beam/beam_coder_impl_slow.py
##########
@@ -82,12 +81,20 @@ def decode_from_stream(self, in_stream, nested):
             in_stream.read_var_int64()
             yield self._decode_one_row_from_stream(in_stream, nested)[1]
 
+    def _encode_one_row_to_stream_with_row_kind(self, value: Row, out_stream, 
nested):

Review comment:
       ```suggestion
       def _encode_one_row_to_stream(self, value: Row, out_stream, nested):
   ```




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to