https://prefect.io logo
a

Andres

07/04/2023, 1:22 PM
What would be the equivalent of
signals.LOOP
in prefect 2?
1
c

Chris Reuter

07/04/2023, 1:37 PM
You can just write a
for
loop:
Copy code
import random
from prefect import flow

configs = random (

	@flow
	for config in configs.items():
	def print_message(message):
		print(message)
	
print_message(config["message"])
1