Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for DefsRef (0.27 seconds)

  1. fastapi/_compat/v2.py

                item_def["description"] = item_description
        # definitions: dict[DefsRef, dict[str, Any]]
        # but mypy complains about general str in other places that are not declared as
        # DefsRef, although DefsRef is just str:
        # DefsRef = NewType('DefsRef', str)
        # So, a cast to simplify the types here
        return field_mapping, cast(dict[str, dict[str, Any]], definitions)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 16.7K bytes
    - Click Count (0)
Back to Top