Skip to content

Commit

Permalink
docs: improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
CaselIT committed Aug 12, 2024
1 parent 95d7e9e commit c50f425
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions falcon/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
from falcon.typing import SyncResponderMethod


# TODO: if is_async is removed there protocol would no longer be needed, since
# TODO: if is_async is removed these protocol would no longer be needed, since
# ParamSpec could be used together with Concatenate to use a simple Callable
# to type the before and after function. This approach was prototyped in
# to type the before and after functions. This approach was prototyped in
# https://github.com/falconry/falcon/pull/2234
class SyncBeforeFn(Protocol):
def __call__(
Expand Down

0 comments on commit c50f425

Please sign in to comment.