I suggest adding type annotations to the following functions in the asgiref module:
is_double_callable
double_to_single_callable
guarantee_single_callable
Proposed Changes:
- Add type annotations to function parameters and return types in the specified functions.
Benefits:
- Improved code readability.
- Better tooling support for developers using the
asgiref module.
Additional Context:
This change aims to enhance the maintainability and clarity of the asgiref codebase by incorporating type annotations into key functions.