Anton Bobukh
3b27f5396e
[Python] Generate .pyi stub files when --python-typing is on. ( #8312 )
...
* [Python] Generate `.pyi` stub files when `--python-typing` is on.
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.
* [Python] Update Bazel build rules.
* [Python] Update Bazel build rules.
* [Python] Run buildifier on BUILD.bazel files.
---------
Co-authored-by: Derek Bailey <derekbailey@google.com >
2024-05-29 12:47:29 -07:00
..
2024-05-29 12:47:29 -07:00
2015-05-12 15:40:29 -07:00
2022-09-01 10:17:34 -07:00
2023-04-26 05:19:07 +00:00
2022-12-22 20:51:39 +00:00
2023-04-28 17:10:01 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2017-03-29 09:51:12 -07:00
2022-10-26 14:56:52 -07:00
2022-12-22 20:51:39 +00:00
2023-09-30 18:54:48 -07:00
2023-04-26 05:19:07 +00:00
2021-06-03 14:17:40 -07:00
2023-04-28 17:10:01 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2019-02-04 23:33:57 +01:00
2021-12-09 15:47:09 -08:00
2023-09-30 18:54:48 -07:00
2023-04-26 05:19:07 +00:00
2021-06-03 14:17:40 -07:00
2023-04-28 17:10:01 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2019-02-04 23:33:57 +01:00
2021-12-09 15:47:09 -08:00
2021-06-03 14:17:40 -07:00
2021-06-03 14:17:40 -07:00
2023-09-30 18:54:48 -07:00
2023-04-26 05:19:07 +00:00
2021-06-03 14:17:40 -07:00
2023-04-28 17:10:01 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2019-05-30 16:02:57 -07:00
2021-12-09 15:47:09 -08:00
2021-06-03 14:17:40 -07:00
2022-09-01 10:17:34 -07:00
2022-12-22 20:51:39 +00:00
2023-05-17 13:10:51 -07:00
2024-05-29 12:47:29 -07:00
2022-12-22 20:51:39 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2023-05-17 13:10:51 -07:00
2024-05-29 12:47:29 -07:00
2022-12-22 20:51:39 +00:00
2020-02-10 17:43:36 -08:00
2019-06-02 12:36:49 -07:00
2021-06-03 14:17:40 -07:00
2023-04-28 17:10:01 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2019-06-02 12:36:49 -07:00
2021-12-09 15:47:09 -08:00
2022-03-04 21:57:48 -08:00
2022-03-04 21:57:48 -08:00
2022-10-20 18:15:00 -07:00
2023-04-28 17:10:01 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2022-03-04 21:57:48 -08:00
2022-03-04 21:57:48 -08:00
2019-11-14 16:58:35 -08:00
2024-03-26 05:18:07 +00:00
2023-04-26 05:19:07 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2023-05-09 09:16:30 -07:00
2023-11-29 09:58:21 -08:00
2021-02-19 12:47:59 +03:00
2021-05-10 11:29:32 -07:00
2022-12-22 20:51:39 +00:00
2022-09-01 10:17:34 -07:00
2022-12-22 20:51:39 +00:00
2023-04-28 09:38:29 -07:00
2024-05-29 12:47:29 -07:00
2022-12-22 20:51:39 +00:00
2020-02-10 17:43:36 -08:00
2019-09-05 10:22:04 -07:00
2021-06-03 14:17:40 -07:00
2023-04-28 17:10:01 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2019-09-05 10:22:04 -07:00
2021-12-09 15:47:09 -08:00
2024-03-26 05:18:07 +00:00
2023-04-26 05:19:07 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2018-03-05 15:47:16 -08:00
2023-05-17 13:10:51 -07:00
2022-12-22 20:51:39 +00:00
2024-03-26 05:18:07 +00:00
2023-04-26 05:19:07 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2016-05-26 15:26:58 +02:00
2023-05-17 13:10:51 -07:00
2022-12-22 20:51:39 +00:00
2022-09-01 10:17:34 -07:00
2023-04-26 05:19:07 +00:00
2022-12-22 20:51:39 +00:00
2023-04-28 17:10:01 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2021-03-29 19:56:45 -04:00
2022-10-26 14:56:52 -07:00
2022-09-01 10:17:34 -07:00
2023-04-26 05:19:07 +00:00
2022-12-22 20:51:39 +00:00
2023-04-28 17:10:01 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2022-03-23 21:40:11 -07:00
2022-10-26 14:56:52 -07:00
2022-12-22 20:51:39 +00:00
2022-12-22 20:51:39 +00:00
2022-09-01 10:17:34 -07:00
2023-04-26 05:19:07 +00:00
2022-12-22 20:51:39 +00:00
2023-04-28 17:10:01 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2016-05-26 15:26:58 +02:00
2022-10-26 14:56:52 -07:00
2020-02-10 17:43:36 -08:00
2021-06-03 14:17:40 -07:00
2019-07-22 16:05:15 -07:00
2021-12-09 15:47:09 -08:00
2024-05-29 12:47:29 -07:00
2024-03-26 05:18:07 +00:00
2023-04-26 05:19:07 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2019-05-09 10:07:38 -07:00
2023-05-17 13:10:51 -07:00
2022-12-22 20:51:39 +00:00
2022-12-22 20:51:39 +00:00
2024-03-26 05:18:07 +00:00
2023-04-26 05:19:07 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2018-12-20 16:10:20 -08:00
2023-11-29 09:58:21 -08:00
2022-12-22 20:51:39 +00:00
2022-09-01 10:17:34 -07:00
2023-04-26 05:19:07 +00:00
2022-12-22 20:51:39 +00:00
2023-04-28 17:10:01 +00:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2019-05-09 10:07:38 -07:00
2022-10-26 14:56:52 -07:00
2022-12-22 20:51:39 +00:00