Skip to content

Add Type Annotations to asgiref Module Functions #428

@davitacols

Description

@davitacols

I suggest adding type annotations to the following functions in the asgiref module:

  1. is_double_callable
  2. double_to_single_callable
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions