Skip to content

Commit

Permalink
Update prelude.py
Browse files Browse the repository at this point in the history
Undo remove line jump.
  • Loading branch information
AlejandroCabeza committed Sep 2, 2024
1 parent 830f432 commit fb8e709
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rusty_results/prelude.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from dataclasses import dataclass
from typing import cast, TypeVar, Union, Callable, Generic, Iterator, Tuple, Dict, Any, Optional
from rusty_results.exceptions import UnwrapException, EarlyReturnException

try:
from pydantic.fields import ModelField
except ImportError: # pragma: no cover
Expand Down Expand Up @@ -1052,4 +1053,4 @@ def __get_validators__(cls):
yield from ResultProtocol.__get_validators__()


Result = Union[Ok[T, E], Err[T, E]]
Result = Union[Ok[T, E], Err[T, E]]

0 comments on commit fb8e709

Please sign in to comment.