Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
956: Fix reported type of decorator r=curquiza a=sanders41 # Pull Request ## Related issue Fixes #<issue_number> Reported on Discord https://discord.com/channels/1006923006964154428/1006923007559729154/1235605897418506401 The Return type is getting swallowed by the `version_error_hint_message` decorator. ![image](https://github.com/meilisearch/meilisearch-python/assets/25045024/1467c6b1-3d86-449a-ba6c-15b2a7c33777) ## What does this PR do? - Uses a generic instead of `Any` for the decorator. After the update: ![image](https://github.com/meilisearch/meilisearch-python/assets/25045024/3eb434a2-08ab-46fd-8bd1-24db11e8ce64) ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Paul Sanders <paul@paulsanders.dev>
- Loading branch information