fastapi 0.115.14__py3-none-any.whl → 0.116.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fastapi might be problematic. Click here for more details.

fastapi/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  """FastAPI framework, high performance, easy to learn, fast to code, ready for production"""
2
2
 
3
- __version__ = "0.115.14"
3
+ __version__ = "0.116.1"
4
4
 
5
5
  from starlette import status as status
6
6
 
fastapi/routing.py CHANGED
@@ -9,6 +9,7 @@ from typing import (
9
9
  Any,
10
10
  AsyncIterator,
11
11
  Callable,
12
+ Collection,
12
13
  Coroutine,
13
14
  Dict,
14
15
  List,
@@ -862,7 +863,7 @@ class APIRouter(routing.Router):
862
863
  def route(
863
864
  self,
864
865
  path: str,
865
- methods: Optional[List[str]] = None,
866
+ methods: Optional[Collection[str]] = None,
866
867
  name: Optional[str] = None,
867
868
  include_in_schema: bool = True,
868
869
  ) -> Callable[[DecoratedCallable], DecoratedCallable]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fastapi
3
- Version: 0.115.14
3
+ Version: 0.116.1
4
4
  Summary: FastAPI framework, high performance, easy to learn, fast to code, ready for production
5
5
  Author-Email: =?utf-8?q?Sebasti=C3=A1n_Ram=C3=ADrez?= <tiangolo@gmail.com>
6
6
  Classifier: Intended Audience :: Information Technology
@@ -38,18 +38,25 @@ Project-URL: Repository, https://github.com/fastapi/fastapi
38
38
  Project-URL: Issues, https://github.com/fastapi/fastapi/issues
39
39
  Project-URL: Changelog, https://fastapi.tiangolo.com/release-notes/
40
40
  Requires-Python: >=3.8
41
- Requires-Dist: starlette<0.47.0,>=0.40.0
41
+ Requires-Dist: starlette<0.48.0,>=0.40.0
42
42
  Requires-Dist: pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4
43
43
  Requires-Dist: typing-extensions>=4.8.0
44
44
  Provides-Extra: standard
45
- Requires-Dist: fastapi-cli[standard]>=0.0.5; extra == "standard"
45
+ Requires-Dist: fastapi-cli[standard]>=0.0.8; extra == "standard"
46
46
  Requires-Dist: httpx>=0.23.0; extra == "standard"
47
47
  Requires-Dist: jinja2>=3.1.5; extra == "standard"
48
48
  Requires-Dist: python-multipart>=0.0.18; extra == "standard"
49
49
  Requires-Dist: email-validator>=2.0.0; extra == "standard"
50
50
  Requires-Dist: uvicorn[standard]>=0.12.0; extra == "standard"
51
+ Provides-Extra: standard-no-fastapi-cloud-cli
52
+ Requires-Dist: fastapi-cli[standard-no-fastapi-cloud-cli]>=0.0.8; extra == "standard-no-fastapi-cloud-cli"
53
+ Requires-Dist: httpx>=0.23.0; extra == "standard-no-fastapi-cloud-cli"
54
+ Requires-Dist: jinja2>=3.1.5; extra == "standard-no-fastapi-cloud-cli"
55
+ Requires-Dist: python-multipart>=0.0.18; extra == "standard-no-fastapi-cloud-cli"
56
+ Requires-Dist: email-validator>=2.0.0; extra == "standard-no-fastapi-cloud-cli"
57
+ Requires-Dist: uvicorn[standard]>=0.12.0; extra == "standard-no-fastapi-cloud-cli"
51
58
  Provides-Extra: all
52
- Requires-Dist: fastapi-cli[standard]>=0.0.5; extra == "all"
59
+ Requires-Dist: fastapi-cli[standard]>=0.0.8; extra == "all"
53
60
  Requires-Dist: httpx>=0.23.0; extra == "all"
54
61
  Requires-Dist: jinja2>=3.1.5; extra == "all"
55
62
  Requires-Dist: python-multipart>=0.0.18; extra == "all"
@@ -535,15 +542,20 @@ Used by Starlette:
535
542
  * <a href="https://jinja.palletsprojects.com" target="_blank"><code>jinja2</code></a> - Required if you want to use the default template configuration.
536
543
  * <a href="https://github.com/Kludex/python-multipart" target="_blank"><code>python-multipart</code></a> - Required if you want to support form <abbr title="converting the string that comes from an HTTP request into Python data">"parsing"</abbr>, with `request.form()`.
537
544
 
538
- Used by FastAPI / Starlette:
545
+ Used by FastAPI:
539
546
 
540
547
  * <a href="https://www.uvicorn.org" target="_blank"><code>uvicorn</code></a> - for the server that loads and serves your application. This includes `uvicorn[standard]`, which includes some dependencies (e.g. `uvloop`) needed for high performance serving.
541
- * `fastapi-cli` - to provide the `fastapi` command.
548
+ * `fastapi-cli[standard]` - to provide the `fastapi` command.
549
+ * This includes `fastapi-cloud-cli`, which allows you to deploy your FastAPI application to <a href="https://fastapicloud.com" class="external-link" target="_blank">FastAPI Cloud</a>.
542
550
 
543
551
  ### Without `standard` Dependencies
544
552
 
545
553
  If you don't want to include the `standard` optional dependencies, you can install with `pip install fastapi` instead of `pip install "fastapi[standard]"`.
546
554
 
555
+ ### Without `fastapi-cloud-cli`
556
+
557
+ If you want to install FastAPI with the standard dependencies but without the `fastapi-cloud-cli`, you can install with `pip install "fastapi[standard-no-fastapi-cloud-cli]"`.
558
+
547
559
  ### Additional Optional Dependencies
548
560
 
549
561
  There are some additional dependencies you might want to install.
@@ -1,8 +1,8 @@
1
- fastapi-0.115.14.dist-info/METADATA,sha256=BKQS5L_nvCHYJUCYQujjjM8dxMoJDV84thmsHYxZiI0,27180
2
- fastapi-0.115.14.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
3
- fastapi-0.115.14.dist-info/entry_points.txt,sha256=GCf-WbIZxyGT4MUmrPGj1cOHYZoGsNPHAvNkT6hnGeA,61
4
- fastapi-0.115.14.dist-info/licenses/LICENSE,sha256=Tsif_IFIW5f-xYSy1KlhAy7v_oNEU4lP2cEnSQbMdE4,1086
5
- fastapi/__init__.py,sha256=zto_Knb1xNkut8EXy4Q4enLzjY6UIFsGKNCJUQpgcwc,1082
1
+ fastapi-0.116.1.dist-info/METADATA,sha256=pnu4s6rAsNuB66sYhB59UFxRuZv2ua6fbH_jUM6HM2k,28115
2
+ fastapi-0.116.1.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
3
+ fastapi-0.116.1.dist-info/entry_points.txt,sha256=GCf-WbIZxyGT4MUmrPGj1cOHYZoGsNPHAvNkT6hnGeA,61
4
+ fastapi-0.116.1.dist-info/licenses/LICENSE,sha256=Tsif_IFIW5f-xYSy1KlhAy7v_oNEU4lP2cEnSQbMdE4,1086
5
+ fastapi/__init__.py,sha256=-U8vW9K3Hy78v_3O0ECrEfMmPtSuHaA1yAql96bd8ts,1081
6
6
  fastapi/__main__.py,sha256=bKePXLdO4SsVSM6r9SVoLickJDcR2c0cTOxZRKq26YQ,37
7
7
  fastapi/_compat.py,sha256=PwGTZd6d-u2o6YF9M8pQahuBtD_3q3Kpj7vU5-ngChc,24228
8
8
  fastapi/applications.py,sha256=rZTr0Ix-vdMwh6MQGCI_NC-Ir9lpfIGHHBY-JnNWZ_E,176550
@@ -33,7 +33,7 @@ fastapi/params.py,sha256=g450axUBQgQJODdtM7WBxZbQj9Z64inFvadrgHikBbU,28237
33
33
  fastapi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
34
  fastapi/requests.py,sha256=zayepKFcienBllv3snmWI20Gk0oHNVLU4DDhqXBb4LU,142
35
35
  fastapi/responses.py,sha256=QNQQlwpKhQoIPZTTWkpc9d_QGeGZ_aVQPaDV3nQ8m7c,1761
36
- fastapi/routing.py,sha256=gnGRnOzM-CBOYj7hI0bZlC_5c-RQKh6BPmlsDD8IVUo,176315
36
+ fastapi/routing.py,sha256=-SaOgqaseKw5mlTCk-FliS6Wx5la_CjdV5FqSPDmW9g,176337
37
37
  fastapi/security/__init__.py,sha256=bO8pNmxqVRXUjfl2mOKiVZLn0FpBQ61VUYVjmppnbJw,881
38
38
  fastapi/security/api_key.py,sha256=cBI5Z4zWVjL1uJrsjTeLy7MafHPAO2HQPzTrpyoIYWA,9094
39
39
  fastapi/security/base.py,sha256=dl4pvbC-RxjfbWgPtCWd8MVU-7CB2SZ22rJDXVCXO6c,141
@@ -47,4 +47,4 @@ fastapi/testclient.py,sha256=nBvaAmX66YldReJNZXPOk1sfuo2Q6hs8bOvIaCep6LQ,66
47
47
  fastapi/types.py,sha256=nFb36sK3DSoqoyo7Miwy3meKK5UdFBgkAgLSzQlUVyI,383
48
48
  fastapi/utils.py,sha256=y8Bj5ttMaI9tS4D60OUgXqKnktBr99NdYUnHHV9LgoY,7948
49
49
  fastapi/websockets.py,sha256=419uncYObEKZG0YcrXscfQQYLSWoE10jqxVMetGdR98,222
50
- fastapi-0.115.14.dist-info/RECORD,,
50
+ fastapi-0.116.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: pdm-backend (2.4.4)
2
+ Generator: pdm-backend (2.4.5)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any