Parcs Python
Parcs Python
• gcloud compute
firewall-rules create allow-all
--direction=INGRESS --priority=1000
--network=default --action=ALLOW
--rules=all --source-ranges=0.0.0.0/0
• 🎉🎉🎉
Instances
@staticmethod @staticmethod
@expose @expose
def mymap(a, b): def myreduce(mapped):
print (a, b) output = 0
res = 0 for x in mapped:
for i in xrange(a, b): output += x.value
res += i return output
return res
Done!
🎉
https://git.sr.ht/~hummer12007/parcs-python