You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ismaël Mejía (JIRA)" <ji...@apache.org> on 2019/07/16 18:44:00 UTC
[jira] [Updated] (BEAM-7757) Tagging python transform class as
experimental breaks tests
[ https://issues.apache.org/jira/browse/BEAM-7757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismaël Mejía updated BEAM-7757:
-------------------------------
Summary: Tagging python transform class as experimental breaks tests (was: Tagging python transform as experimental breaks tests)
> Tagging python transform class as experimental breaks tests
> -----------------------------------------------------------
>
> Key: BEAM-7757
> URL: https://issues.apache.org/jira/browse/BEAM-7757
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Ismaël Mejía
> Priority: Minor
>
> {{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]
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)