Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-10767

Python TestPipeline example code does not execute

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Triage Needed
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 2.23.0
    • Fix Version/s: None
    • Component/s: website
    • Labels:
      None

      Description

      The example python code in the last section of  https://beam.apache.org/documentation/pipelines/test-your-pipeline/ does not work. TestPipeline is not in beam, it is in beam.pipeline_test and the "with" takes an object, not a class (ie.  there needs to be a pair of brackets).  I suspect there are other issues, but those are the ones which I have noticed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ensslen Steven Ensslen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: