This guide is for Beta9, the open-source and self-hosted version of Beam. If
you are looking for the cloud-hosted version of Beam, you can find that
here.
from beta9 import function@function(cpu=8)def square(i: int): return i**2def main(): numbers = list(range(10)) squared = [] # Run a remote container for every item in list for result in square.map(numbers): squared.append(result)