Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-19892

Replace __metaclass__ field with metaclass keyword

    XMLWordPrintableJSON

    Details

      Description

      _metaclass_ is not compatible in some scenarios of python3 e.g.

       

      >>> from pyflink.serializers import Serializer
      >>> import inspect
      >>> inspect.isabstract(Serializer)
      False

       

      We can replace _metaclass_ field with metaclass keyword to solve these problem. 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nicholasjiang Nicholas Jiang
                Reporter:
                hxbks2ks Huang Xingbo
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: