LibCST/libcst/codegen
Zsolt Dollenstein 3dc2289bf6
codegen: Support pipe syntax for Union types (#1336)
From 3.14 onwards, we'll get `foo | bar` instead of `typing.Union[foo, bar]` as the annotation for union types (including optional). This PR prepares the codegen script for this.
2025-05-26 08:40:54 +01:00
..
tests codegen: Support pipe syntax for Union types (#1336) 2025-05-26 08:40:54 +01:00
__init__.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
gather.py Several trivial refactors (#770) 2022-09-14 14:33:45 +01:00
gen_matcher_classes.py codegen: Support pipe syntax for Union types (#1336) 2025-05-26 08:40:54 +01:00
gen_type_mapping.py Several trivial refactors (#770) 2022-09-14 14:33:45 +01:00
gen_visitor_functions.py Several trivial refactors (#770) 2022-09-14 14:33:45 +01:00
generate.py Ensure current Python interpreter is used for subprocesses (#898) 2023-03-27 10:56:25 +01:00
transforms.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00