alex
x slots
Tri
Mehdi
Nevin Yilmaz
Jasmine Cheung
Christian Sicari
prefect.exceptions.UnfinishedRun: Run is in PENDING state, its result is not available.
from random import randint from prefect import task, flow class DummyError(Exception): pass @task def say_hello(): print("Hello, world!") @task def t1(): print("t1") @task def t2(): print("t2") @task def t3(): raise DummyError("t3") @task def mapper(): task_id = randint(1, 2) task_instance = globals()[f"t{task_id}"] # dynamically select a task return [ task_instance.submit(), t3.submit() ] @task def reducer(futures): for future in futures: try: future.result() except Exception as e: print(f"Error: {e}") @flow def myflow(): say_hello() futures = mapper() reducer(futures) say_hello() return "OK" if __name__ == "__main__": result = myflow()
Andrea C.
Error creating flow run: Validation failed for field 'env'. Failure reason: '' is not of type 'object'
mondras
Task parameter introspection took 19.636 seconds , exceeding `PREFECT_TASK_INTROSPECTION_WARN_THRESHOLD` of 10.0. Try wrapping large task parameters with `prefect.utilities.annotations.quote` for increased performance, e.g. `my_task(quote(param))`. To disable this message set `PREFECT_TASK_INTROSPECTION_WARN_THRESHOLD=0`
James Brady
dask_kubernetes.KubeCluster
<http://nvidia.com/gpu|nvidia.com/gpu>: 1
haris khan
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.