Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for annotated_args (0.2 sec)

  1. fastapi/dependencies/utils.py

            use_annotation = annotation
            type_annotation = annotation
        if get_origin(use_annotation) is Annotated:
            annotated_args = get_args(annotation)
            type_annotation = annotated_args[0]
            fastapi_annotations = [
                arg
                for arg in annotated_args[1:]
                if isinstance(arg, (FieldInfo, params.Depends))
            ]
            fastapi_specific_annotations = [
                arg
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
Back to top