Browse Source

linting

pull/9255/head
JONEMI19 3 years ago
parent
commit
846ae007c8
  1. 2
      fastapi/dependencies/utils.py
  2. 2
      tests/test_query.py

2
fastapi/dependencies/utils.py

@ -77,7 +77,7 @@ sequence_shape_to_type = {
}
mapping_shapes = {SHAPE_MAPPING}
mapping_types = (Mapping)
mapping_types = Mapping
mapping_shapes_to_type = {SHAPE_MAPPING: Mapping}
multipart_not_installed_error = (

2
tests/test_query.py

@ -63,7 +63,7 @@ response_not_valid_int = {
"/query/sequence-params?first-query=1&first-query=2",
200,
"foo bar {'first-query': [1, 2]}",
)
),
],
)
def test_get_path(path, expected_status, expected_response):

Loading…
Cancel
Save