Skip to content

Commit 118b879

Browse files
committed
Fix typing error
1 parent 8f1491a commit 118b879

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/prefect/results.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
from prefect.transactions import IsolationLevel
6767

6868

69-
ResultStorage = WritableFileSystem | str
70-
ResultSerializer = Serializer | str
69+
ResultStorage = Union[WritableFileSystem, str]
70+
ResultSerializer = Union[Serializer, str]
7171
LITERAL_TYPES: set[type] = {type(None), bool, UUID}
7272

7373

0 commit comments

Comments
 (0)