What is a single bar in python?

274 Views Asked by At

I was reading a word count example for Apache beam when I saw this Python code

p | beam.io.ReadFromText(
'gs://dataflow-samples/shakespeare/kinglear.txt')

In this p is a already defined variable

Ignoring the Apache beam part I am a bit confused from Python perspective. I have never seen this | in Python before. What is this language construct known as?

0

There are 0 best solutions below