pythonasyncioapiasyncfastapiframeworkjsonjson-schemaopenapiopenapi3pydanticpython-typespython3redocreststarletteswaggerswagger-uiuvicornweb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
241 B
8 lines
241 B
from fastapi.dependencies.utils import get_typed_annotation
|
|
|
|
|
|
def test_get_typed_annotation():
|
|
# For coverage
|
|
annotation = "None"
|
|
typed_annotation = get_typed_annotation(annotation, globals())
|
|
assert typed_annotation is None
|
|
|