Skip to content

Commit e44e780

Browse files
author
Andrei Neagu
committed
revert
1 parent 57ac5a2 commit e44e780

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/common-library/src/common_library/pydantic_networks_extension.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import Annotated, TypeAlias
22

3-
from pydantic import AfterValidator, AnyHttpUrl, AnyUrl, FileUrl, HttpUrl
3+
from pydantic import AfterValidator, AnyHttpUrl, AnyUrl, HttpUrl
44
from pydantic_core import Url
55

66

@@ -23,8 +23,3 @@ def _strip_last_slash(url: Url) -> str:
2323
HttpUrl,
2424
AfterValidator(_strip_last_slash),
2525
]
26-
27-
FileUrlLegacy: TypeAlias = Annotated[
28-
FileUrl,
29-
AfterValidator(_strip_last_slash),
30-
]

0 commit comments

Comments
 (0)