Coverage for fastapi/__init__.py: 100%

21 statements  

« prev     ^ index     » next       coverage.py v7.6.1, created at 2024-08-08 03:53 +0000

1"""FastAPI framework, high performance, easy to learn, fast to code, ready for production""" 

2 

3__version__ = "0.112.0" 1abcde

4 

5from starlette import status as status 1abcde

6 

7from .applications import FastAPI as FastAPI 1abcde

8from .background import BackgroundTasks as BackgroundTasks 1abcde

9from .datastructures import UploadFile as UploadFile 1abcde

10from .exceptions import HTTPException as HTTPException 1abcde

11from .exceptions import WebSocketException as WebSocketException 1abcde

12from .param_functions import Body as Body 1abcde

13from .param_functions import Cookie as Cookie 1abcde

14from .param_functions import Depends as Depends 1abcde

15from .param_functions import File as File 1abcde

16from .param_functions import Form as Form 1abcde

17from .param_functions import Header as Header 1abcde

18from .param_functions import Path as Path 1abcde

19from .param_functions import Query as Query 1abcde

20from .param_functions import Security as Security 1abcde

21from .requests import Request as Request 1abcde

22from .responses import Response as Response 1abcde

23from .routing import APIRouter as APIRouter 1abcde

24from .websockets import WebSocket as WebSocket 1abcde

25from .websockets import WebSocketDisconnect as WebSocketDisconnect 1abcde