Skip to content

Commit

Permalink
Testing out persisting output to minio
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinugu committed Sep 24, 2024
1 parent 6387539 commit 540b7c3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/omnipy/modules/prefect/engine/prefect.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@ def _task_flow(*inner_args, **inner_kwargs):

def _init_flow(self, flow: IsFlow, call_func: Callable) -> Any:
assert isinstance(self._config, PrefectEngineConfig)
flow_kwargs = dict(name=flow.name,)
flow_kwargs = dict(
name=flow.name,
# persist_result=True,
result_storage='nird-minio',
result_storage_key=flow.name,
result_serializer='pickle')
if flow.has_coroutine_func():

@prefect_flow(**flow_kwargs)
Expand Down

0 comments on commit 540b7c3

Please sign in to comment.