Skip to content

Commit

Permalink
Fix union type
Browse files Browse the repository at this point in the history
  • Loading branch information
abrookins committed Jul 24, 2024
1 parent fc5c0ad commit 8f6442f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prefect/states.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def format_exception(exc: BaseException, tb: TracebackType = None) -> str:


async def exception_to_crashed_state(
exc: Union[BaseException | BaseExceptionGroup],
exc: Union[BaseException, BaseExceptionGroup],
result_factory: Optional[ResultFactory] = None,
) -> State:
"""
Expand Down

0 comments on commit 8f6442f

Please sign in to comment.