fastapi 0.118.1__py3-none-any.whl → 0.118.3__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.118.1"
3
+ __version__ = "0.118.3"
4
4
 
5
5
  from starlette import status as status
6
6
 
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.1
3
+ Version: 0.118.3
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
@@ -30,6 +30,7 @@ Classifier: Programming Language :: Python :: 3.10
30
30
  Classifier: Programming Language :: Python :: 3.11
31
31
  Classifier: Programming Language :: Python :: 3.12
32
32
  Classifier: Programming Language :: Python :: 3.13
33
+ Classifier: Programming Language :: Python :: 3.14
33
34
  Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
34
35
  Classifier: Topic :: Internet :: WWW/HTTP
35
36
  Project-URL: Homepage, https://github.com/fastapi/fastapi
@@ -1,10 +1,10 @@
1
- fastapi-0.118.1.dist-info/METADATA,sha256=1lJR4RMjB0KOujx5btnmcdNbsJTv37qlicYZUphrEQY,28135
2
- fastapi-0.118.1.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
3
- fastapi-0.118.1.dist-info/entry_points.txt,sha256=GCf-WbIZxyGT4MUmrPGj1cOHYZoGsNPHAvNkT6hnGeA,61
4
- fastapi-0.118.1.dist-info/licenses/LICENSE,sha256=Tsif_IFIW5f-xYSy1KlhAy7v_oNEU4lP2cEnSQbMdE4,1086
5
- fastapi/__init__.py,sha256=b1Y5tsac-lGeykg5dBEqr560dTxtO-XapvIgZVeg3_o,1081
1
+ fastapi-0.118.3.dist-info/METADATA,sha256=ohgvM1p79CKb9b7MWSbCq5SmCcyR4xlsvEYKeYNOi_0,28186
2
+ fastapi-0.118.3.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
3
+ fastapi-0.118.3.dist-info/entry_points.txt,sha256=GCf-WbIZxyGT4MUmrPGj1cOHYZoGsNPHAvNkT6hnGeA,61
4
+ fastapi-0.118.3.dist-info/licenses/LICENSE,sha256=Tsif_IFIW5f-xYSy1KlhAy7v_oNEU4lP2cEnSQbMdE4,1086
5
+ fastapi/__init__.py,sha256=LmVb1lKosa22IaZFC9pm5Jxn41U6-SxtveBq3a_VEqM,1081
6
6
  fastapi/__main__.py,sha256=bKePXLdO4SsVSM6r9SVoLickJDcR2c0cTOxZRKq26YQ,37
7
- fastapi/_compat.py,sha256=n1chC6BiNuBbXVnvOskZSo_8_VeZ2ESoyaG9gt48W_g,24944
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.1.dist-info/RECORD,,
51
+ fastapi-0.118.3.dist-info/RECORD,,