mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
Suggested by community member in an un-merged PR. Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
12 lines
172 B
Python
12 lines
172 B
Python
import sys
|
|
|
|
def get_stdin():
|
|
buf = ""
|
|
for line in sys.stdin:
|
|
buf = buf + line
|
|
return buf
|
|
|
|
if __name__ == "__main__":
|
|
st = get_stdin()
|
|
print(st)
|