From: James Curtin Date: Thu, 29 Jul 2021 15:30:18 +0000 (-0400) Subject: ✨ Import and re-export data structures from Starlette, used by Request properties... X-Git-Tag: 0.68.0~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4eada92883e97ea3d01ce716abfa34079c691d84;p=thirdparty%2Ffastapi%2Ffastapi.git ✨ Import and re-export data structures from Starlette, used by Request properties, on `fastapi.datastructures` (#1872) Co-authored-by: Sebastián Ramírez --- diff --git a/fastapi/datastructures.py b/fastapi/datastructures.py index 6a44a7df4f..b131712870 100644 --- a/fastapi/datastructures.py +++ b/fastapi/datastructures.py @@ -1,5 +1,10 @@ from typing import Any, Callable, Iterable, Type, TypeVar +from starlette.datastructures import URL as URL # noqa: F401 +from starlette.datastructures import Address as Address # noqa: F401 +from starlette.datastructures import FormData as FormData # noqa: F401 +from starlette.datastructures import Headers as Headers # noqa: F401 +from starlette.datastructures import QueryParams as QueryParams # noqa: F401 from starlette.datastructures import State as State # noqa: F401 from starlette.datastructures import UploadFile as StarletteUploadFile