fastapi 0.115.10__py3-none-any.whl → 0.115.11__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.10"
3
+ __version__ = "0.115.11"
4
4
 
5
5
  from starlette import status as status
6
6
 
@@ -449,15 +449,15 @@ def analyze_param(
449
449
  # We might check here that `default_value is RequiredParam`, but the fact is that the same
450
450
  # parameter might sometimes be a path parameter and sometimes not. See
451
451
  # `tests/test_infer_param_optionality.py` for an example.
452
- field_info = params.Path(annotation=type_annotation)
452
+ field_info = params.Path(annotation=use_annotation)
453
453
  elif is_uploadfile_or_nonable_uploadfile_annotation(
454
454
  type_annotation
455
455
  ) or is_uploadfile_sequence_annotation(type_annotation):
456
- field_info = params.File(annotation=type_annotation, default=default_value)
456
+ field_info = params.File(annotation=use_annotation, default=default_value)
457
457
  elif not field_annotation_is_scalar(annotation=type_annotation):
458
- field_info = params.Body(annotation=type_annotation, default=default_value)
458
+ field_info = params.Body(annotation=use_annotation, default=default_value)
459
459
  else:
460
- field_info = params.Query(annotation=type_annotation, default=default_value)
460
+ field_info = params.Query(annotation=use_annotation, default=default_value)
461
461
 
462
462
  field = None
463
463
  # It's a field_info, not a dependency
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fastapi
3
- Version: 0.115.10
3
+ Version: 0.115.11
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,8 +1,8 @@
1
- fastapi-0.115.10.dist-info/METADATA,sha256=DCVDfIRQ-BQPnNWPl6HZ2CZf1kUHaIhu87smfkpJGFo,27671
2
- fastapi-0.115.10.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
- fastapi-0.115.10.dist-info/entry_points.txt,sha256=GCf-WbIZxyGT4MUmrPGj1cOHYZoGsNPHAvNkT6hnGeA,61
4
- fastapi-0.115.10.dist-info/licenses/LICENSE,sha256=Tsif_IFIW5f-xYSy1KlhAy7v_oNEU4lP2cEnSQbMdE4,1086
5
- fastapi/__init__.py,sha256=nMP1hR9QRINvAUrWR4lWM1l9t-FPY5cedXhjxYc1lzQ,1082
1
+ fastapi-0.115.11.dist-info/METADATA,sha256=PH2KnmUbLuqslWRRtwHFmddi9raK7rQ7yoOZ5oul-Qk,27671
2
+ fastapi-0.115.11.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
+ fastapi-0.115.11.dist-info/entry_points.txt,sha256=GCf-WbIZxyGT4MUmrPGj1cOHYZoGsNPHAvNkT6hnGeA,61
4
+ fastapi-0.115.11.dist-info/licenses/LICENSE,sha256=Tsif_IFIW5f-xYSy1KlhAy7v_oNEU4lP2cEnSQbMdE4,1086
5
+ fastapi/__init__.py,sha256=jT25pkKhWircnSeQIXu4yR6y5dx6BD1vj2w8BFLGAVE,1082
6
6
  fastapi/__main__.py,sha256=bKePXLdO4SsVSM6r9SVoLickJDcR2c0cTOxZRKq26YQ,37
7
7
  fastapi/_compat.py,sha256=Rg7kA7uue4Z6yr8T7hf8b7G6PeC_06mK004Nnykijfk,23953
8
8
  fastapi/applications.py,sha256=Ix-o9pQAWhEDf9J0Q1hZ0nBB1uP72c-Y3oiYzvrwqiM,176316
@@ -12,7 +12,7 @@ fastapi/concurrency.py,sha256=MirfowoSpkMQZ8j_g0ZxaQKpV6eB3G-dB5TgcXCrgEA,1424
12
12
  fastapi/datastructures.py,sha256=b2PEz77XGq-u3Ur1Inwk0AGjOsQZO49yF9C7IPJ15cY,5766
13
13
  fastapi/dependencies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  fastapi/dependencies/models.py,sha256=Pjl6vx-4nZ5Tta9kJa3-RfQKkXtCpS09-FhMgs9eWNs,1507
15
- fastapi/dependencies/utils.py,sha256=UexghAjDUH8l4DudFQB-yASK8_J56oVAZGgD6dRIceU,35583
15
+ fastapi/dependencies/utils.py,sha256=UqN1H0k_4PCnP-nRYNpup1fdIuzEx1F5ZVO6WuVRx4E,35579
16
16
  fastapi/encoders.py,sha256=LvwYmFeOz4tVwvgBoC5rvZnbr7hZr73KGrU8O7zSptU,11068
17
17
  fastapi/exception_handlers.py,sha256=MBrIOA-ugjJDivIi4rSsUJBdTsjuzN76q4yh0q1COKw,1332
18
18
  fastapi/exceptions.py,sha256=taNixuFEXb67lI1bnX1ubq8y8TseJ4yoPlWjyP0fTzk,4969
@@ -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.10.dist-info/RECORD,,
50
+ fastapi-0.115.11.dist-info/RECORD,,