You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from prefect.blocks.system import JSON
test_kwargs = JSON.load('test-kwargs').value
@flow(
**test_kwargs
)
def test_flow():
get_run_logger().info("Running test flow...")
... where the test-kwargs block provided a name and description attribute for the flow annotation. (I first tested a custom block class, before noticing that the JSON block provided by prefect serves our purpose just right.) Tested on the faim-dev workspace.
Can we provide configuration like this one:
prefect-workflows/eicm_flows/compute_all_matrices.py
Lines 46 to 73 in 69c4c41
via a block, so we avoid
The text was updated successfully, but these errors were encountered: