Skip to content

Commit

Permalink
Use Optional
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Story <mark@mark-story.com>
  • Loading branch information
andrew-cybsafe and markstory authored Jul 18, 2024
1 parent 95085f4 commit 350cbb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion responses/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ def activate(
func: Optional["_F"] = None,
*,
registry: Optional[Type[Any]] = None,
assert_all_requests_are_fired: bool | None = None,
assert_all_requests_are_fired: Optional[bool] = None,
) -> Union[Callable[["_F"], "_F"], "_F"]:
if func is not None:
return get_wrapped(func, self)
Expand Down

0 comments on commit 350cbb6

Please sign in to comment.