Skip to content

Conversation

@tomsun28
Copy link
Member

Description

Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

Fixes #<issue_number_goes_here>

@tomsun28 tomsun28 requested a review from Copilot November 29, 2025 03:51
Copilot finished reviewing on behalf of tomsun28 November 29, 2025 03:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds PEP 561 compliance to the zai-sdk package by introducing a py.typed marker file, enabling type checkers like mypy to recognize and use the package's inline type hints.

  • Added an empty py.typed marker file in the package directory
  • Updated pyproject.toml to include the py.typed file in distribution

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/zai/py.typed Empty marker file signaling PEP 561 compliance for type checkers
pyproject.toml Added include directive to ensure py.typed is packaged in distributions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@tomsun28 tomsun28 merged commit b39f4b2 into main Dec 8, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat]: Add PEP 561 Compliant Type Stubs (.pyi files) for Static Type Checking Please

2 participants