[ 
https://issues.apache.org/jira/browse/BEAM-10767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17478101#comment-17478101
 ] 

Kenneth Knowles commented on BEAM-10767:
----------------------------------------

It looks like the snippet above that one has {{from 
apache_beam.testing.test_pipeline import TestPipeline}}. It certainly is 
confusing to have a snippet from a prior section be a hard requirement on the 
snippet here, unless it is pretty obvious. This ticket is quite old so it does 
look like the brackets have been added. If you have a minute to take a look at 
the current state of the page, can you give this ticket a refresh?

> Python TestPipeline example code does not execute
> -------------------------------------------------
>
>                 Key: BEAM-10767
>                 URL: https://issues.apache.org/jira/browse/BEAM-10767
>             Project: Beam
>          Issue Type: Bug
>          Components: website
>    Affects Versions: 2.23.0
>            Reporter: Steven Ensslen
>            Priority: P2
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to