✏️ Fix typo on dependencies utils and cleanup unused variable (#1912)

This commit is contained in:
Marcelo Trylesinski authored and GitHub committed 2020-11-05 22:09:17 +01:00
1 parent 9fcec3abe9
commit b299792ebf
2 files changed
+1 -3

No files matched your search

-2
View File
@@ -3,8 +3,6 @@ from typing import Callable, List, Optional, Sequence
from fastapi.security.base import SecurityBase
from pydantic.fields import ModelField
param_supported_types = (str, int, float, bool)
class SecurityRequirement:
def __init__(
+1 -1
View File
@@ -94,7 +94,7 @@ def check_file_field(field: ModelField) -> None:
assert __version__
try:
# parse_options_header is only available in the right multlipart
# parse_options_header is only available in the right multipart
from multipart.multipart import parse_options_header
assert parse_options_header