Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for is_bytes_or_nonable_bytes_annotation (0.16 sec)

  1. fastapi/_compat/shared.py

        return field_annotation_is_sequence(annotation) and all(
            field_annotation_is_scalar(sub_annotation)
            for sub_annotation in get_args(annotation)
        )
    
    
    def is_bytes_or_nonable_bytes_annotation(annotation: Any) -> bool:
        if lenient_issubclass(annotation, bytes):
            return True
        origin = get_origin(annotation)
        if origin is Union or origin is UnionType:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top