Skip to content
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

[Python] Generate .pyi stub files when --python-typing is on. #8312

Merged
merged 7 commits into from
May 29, 2024

Conversation

anton-bobukh
Copy link
Collaborator

To support this change, the following modifications were made:

  • added a new option to disable numpy helpers generation;

  • added a new flag to control the target Python version:

    --python-version can be one of the following:

    • 0.x.x – compatible with any Python version;
    • 2.x.x – compatible with Python 2;
    • 3.x.x – compatible with Python 3.
  • added codegen utilities for Python;

  • added a note that the generated .py file is empty.

To support this change, the following modifications were made:

-  added a new option to disable `numpy` helpers generation;
-  added a new flag to control the target Python version:

   `--python-version` can be one of the following:

   - `0.x.x` – compatible with any Python version;
   - `2.x.x` – compatible with Python 2;
   - `3.x.x` – compatible with Python 3.
-  added codegen utilities for Python;
-  added a note that the generated .py file is empty.
@github-actions github-actions bot added c++ codegen Involving generating code from schema python labels May 17, 2024
@dbaileychess dbaileychess merged commit 3b27f53 into google:master May 29, 2024
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ codegen Involving generating code from schema python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants