Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Include py.typed in package build #637

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 27, 2022
Merged

Include py.typed in package build #637

merged 2 commits into from
Dec 27, 2022

Conversation

sanders41
Copy link
Collaborator

Pull Request

Related issue

Fixes #636

What does this PR do?

  • Adds the py.typed file to the package

I know this works when using poetry so I think it will work here. In a "normal" setup.py situation the file would be included in the setup.py so there is a chance the file will need to be added there instead/also as it used to be.

PR checklist

Please check if your PR fulfills the following requirements:

  • Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • Have you read the contributing guidelines?
  • Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

@sanders41
Copy link
Collaborator Author

I went ahead and added it to setup.py also just to be sure.

@alallema alallema added the bug Something isn't working label Dec 27, 2022
Copy link
Contributor

@alallema alallema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @sanders41 for catching this error ❀️
LGTM! πŸ”₯

@alallema
Copy link
Contributor

bors merge

@bors
Copy link
Contributor

bors bot commented Dec 27, 2022

@bors bors bot merged commit a6dc063 into main Dec 27, 2022
@bors bors bot deleted the types branch December 27, 2022 09:22
bors bot added a commit that referenced this pull request Feb 6, 2023
678: Update version for the next release (v0.24.0) r=alallema a=alallema

This version makes this package compatible with Meilisearch v1.0.0 πŸŽ‰
Check out the changelog of [Meilisearch v1.0.0](https://github.com/meilisearch/meilisearch/releases/tag/v1.0.0) for more information on the changes(#635).

## ⚠️ Breaking changes

* Make the usage of the module typing consistent (#625) `@pbrochar`
* Put all dates to `datetime` type for consistency. Class impacted: `Task` and `TasInfo` (#661) `@Azanul`
* Change `details` fields in `Task` class `Dict[str, Any]` -> `Union[Dict[str, Any], None]` (#664) `@Azanul`

## πŸš€ Enhancements

* Added `update_documents_csv(str_documents: str, primary_key: Optional[str] = None) -> TaskInfo` (#654) `@sajdakabir`

## πŸ› Bug Fixes

* Include py.typed in package build (#637) `@sanders41`

Thanks again to `@Azanul,` `@alallema,` `@pbrochar,` `@sajdakabir,` `@sanders41!` πŸŽ‰



Co-authored-by: alallema <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

py.typed missing
2 participants