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?