You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 04:00:56 UTC

[GitHub] [beam] kennknowles opened a new issue, #19569: Tagging python transform class as experimental breaks tests

kennknowles opened a new issue, #19569:
URL: https://github.com/apache/beam/issues/19569

   `As part of BEAM-7715 I tried to add the `@experimental()` annotation in the external.py `External` and generate_sequence transform too. However it broke the tests apparently on a typing issue related to the annotation.`
   
   `Log:`
   *15:53:42* File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_PVR_Flink_Commit/src/sdks/python/apache_beam/runners/portability/flink_runner_test.py", line 172, in test_external_transforms*15:53:42* expansion_service=get_expansion_service()))}}
    `*15:53:42* File "apache_beam/utils/annotations.py", line 146, in inner*15:53:42* return fnc(*args, **kwargs)**`
    `*15:53:42* File "apache_beam/io/external/generate_sequence.py", line 56, in __init_`
   `___*15:53:42* super(GenerateSequence, self).__init__()*15:53:42* TypeError: super() argument 1 must be type, not functionRef.`
   
   Ref.
   [https://builds.apache.org/job/beam_PreCommit_Python_PVR_Flink_Commit/3794/console](https://builds.apache.org/job/beam_PreCommit_Python_PVR_Flink_Commit/3794/console)
   
   Imported from Jira [BEAM-7757](https://issues.apache.org/jira/browse/BEAM-7757). Original Jira may contain additional context.
   Reported by: iemejia.


-- 
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-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org