Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Fixed

- Changed the type of the `target` key in the `Details` dictionary to represent an actual function [#72](https://github.com/python-backoff/backoff/pull/72) (from [@edgarrmondragon](https://github.com/edgarrmondragon))

### Documentation

- Switch to [Zensical for building the documentation](https://zensical.org/) [#62](https://github.com/python-backoff/backoff/pull/62) (from [@edgarrmondragon](https://github.com/edgarrmondragon))
Expand Down
3 changes: 2 additions & 1 deletion backoff/_typing.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# coding:utf-8
import logging
import sys
from types import FunctionType
from typing import (
Any,
Callable,
Expand All @@ -27,7 +28,7 @@ def __init_subclass__(cls, **kwargs: Any) -> None:


class _Details(TypedDict):
target: Callable[..., Any]
target: FunctionType
args: Tuple[Any, ...]
kwargs: Dict[str, Any]
tries: int
Expand Down
Loading