fastapi 0.118.1__py3-none-any.whl → 0.118.2__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 +1 -1
- fastapi/_compat.py +3 -0
- {fastapi-0.118.1.dist-info → fastapi-0.118.2.dist-info}/METADATA +1 -1
- {fastapi-0.118.1.dist-info → fastapi-0.118.2.dist-info}/RECORD +7 -7
- {fastapi-0.118.1.dist-info → fastapi-0.118.2.dist-info}/WHEEL +0 -0
- {fastapi-0.118.1.dist-info → fastapi-0.118.2.dist-info}/entry_points.txt +0 -0
- {fastapi-0.118.1.dist-info → fastapi-0.118.2.dist-info}/licenses/LICENSE +0 -0
fastapi/__init__.py
CHANGED
fastapi/_compat.py
CHANGED
|
@@ -590,6 +590,9 @@ def field_annotation_is_complex(annotation: Union[Type[Any], None]) -> bool:
|
|
|
590
590
|
if origin is Union or origin is UnionType:
|
|
591
591
|
return any(field_annotation_is_complex(arg) for arg in get_args(annotation))
|
|
592
592
|
|
|
593
|
+
if origin is Annotated:
|
|
594
|
+
return field_annotation_is_complex(get_args(annotation)[0])
|
|
595
|
+
|
|
593
596
|
return (
|
|
594
597
|
_annotation_is_complex(annotation)
|
|
595
598
|
or _annotation_is_complex(origin)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fastapi
|
|
3
|
-
Version: 0.118.
|
|
3
|
+
Version: 0.118.2
|
|
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
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
fastapi-0.118.
|
|
2
|
-
fastapi-0.118.
|
|
3
|
-
fastapi-0.118.
|
|
4
|
-
fastapi-0.118.
|
|
5
|
-
fastapi/__init__.py,sha256=
|
|
1
|
+
fastapi-0.118.2.dist-info/METADATA,sha256=yrkrXAQmgRf8K6sPfw5HCFzK8cTuCYbqOMTPdbYiaDU,28135
|
|
2
|
+
fastapi-0.118.2.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
|
|
3
|
+
fastapi-0.118.2.dist-info/entry_points.txt,sha256=GCf-WbIZxyGT4MUmrPGj1cOHYZoGsNPHAvNkT6hnGeA,61
|
|
4
|
+
fastapi-0.118.2.dist-info/licenses/LICENSE,sha256=Tsif_IFIW5f-xYSy1KlhAy7v_oNEU4lP2cEnSQbMdE4,1086
|
|
5
|
+
fastapi/__init__.py,sha256=r514dIK-FjZ0GBeqdtq5TSIaheEY4WiYLBgSb6noK8o,1081
|
|
6
6
|
fastapi/__main__.py,sha256=bKePXLdO4SsVSM6r9SVoLickJDcR2c0cTOxZRKq26YQ,37
|
|
7
|
-
fastapi/_compat.py,sha256=
|
|
7
|
+
fastapi/_compat.py,sha256=gK1ZeDQYNr6gBYY0Hefr2HZiEawOCuDqm021uU1xOTs,25041
|
|
8
8
|
fastapi/applications.py,sha256=nLbGcVdmCxXsl4aTSuP0WVS_XGY7wXBL3vC7nqlplmA,180276
|
|
9
9
|
fastapi/background.py,sha256=rouLirxUANrcYC824MSMypXL_Qb2HYg2YZqaiEqbEKI,1768
|
|
10
10
|
fastapi/cli.py,sha256=OYhZb0NR_deuT5ofyPF2NoNBzZDNOP8Salef2nk-HqA,418
|
|
@@ -48,4 +48,4 @@ fastapi/testclient.py,sha256=nBvaAmX66YldReJNZXPOk1sfuo2Q6hs8bOvIaCep6LQ,66
|
|
|
48
48
|
fastapi/types.py,sha256=nFb36sK3DSoqoyo7Miwy3meKK5UdFBgkAgLSzQlUVyI,383
|
|
49
49
|
fastapi/utils.py,sha256=S59stPvKPUJ7MSkke3FaegSyig_4Uwhd32jnLiMF1jE,8032
|
|
50
50
|
fastapi/websockets.py,sha256=419uncYObEKZG0YcrXscfQQYLSWoE10jqxVMetGdR98,222
|
|
51
|
-
fastapi-0.118.
|
|
51
|
+
fastapi-0.118.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|