Skip to content

Commit

Permalink
Update prefect_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-S-Rosen authored Sep 19, 2024
1 parent c39345b commit c082991
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/quacc/wflow_tools/prefect_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ def resolve_futures_to_results(expr: PrefectFuture | Any) -> State | Any:
Unsupported object types will be returned without modification.
This function is a trivial change from resolve_futures_to_states here:
https://github.com/PrefectHQ/prefect/blob/main/src/prefect/futures.py
https://github.com/PrefectHQ/prefect/blob/main/src/prefect/futures.py.
The upstream Prefect code is licensed under Apache 2.0:
https://github.com/PrefectHQ/prefect/blob/main/LICENSE
"""
futures: set[PrefectFuture] = set()

Expand Down Expand Up @@ -86,6 +89,9 @@ async def resolve_futures_to_results_async(expr: PrefectFuture | Any) -> State |
This function is a trivial change from resolve_futures_to_states here:
https://github.com/PrefectHQ/prefect/blob/main/src/prefect/futures.py
The upstream Prefect code is licensed under Apache 2.0:
https://github.com/PrefectHQ/prefect/blob/main/LICENSE
"""
futures: set[PrefectFuture] = set()

Expand Down

0 comments on commit c082991

Please sign in to comment.