Skip to content

Commit

Permalink
Fix status handler type annotation to include client instance
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjacob committed Aug 19, 2024
1 parent 02b76c1 commit 77cdfe3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.3.1] - 2024-08-19

### Fixed
- Type annotation of status handler to include client parameter

## [1.3.0] - 2024-08-11

### Changed
Expand Down
2 changes: 1 addition & 1 deletion tiny_api_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
P = ParamSpec('P')
T = TypeVar('T')

APIStatusHandler = Callable[[Any, Any], None] | None
APIStatusHandler = Callable[[Any, Any, Any], None] | None
APIClient = TypeVar('APIClient', bound=type[Any])


Expand Down

0 comments on commit 77cdfe3

Please sign in to comment.