Import and re-export data structures from Starlette, used by Request properties, on fastapi.datastructures (#1872)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
James Curtin 2021-07-29 11:30:18 -04:00 committed by GitHub
parent 6a74f3a0c1
commit 4eada92883
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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