Open copybara-service[bot] opened 1 month ago
Print union types with the pipe syntax
E.g. Foo | Bar rather than Union[Foo, Bar] and Foo | None rather than Optional[None]
Foo | Bar
Union[Foo, Bar]
Foo | None
Optional[None]
This affect error messages, reveal_type, production of pyi files.
reveal_type
Print union types with the pipe syntax
E.g.
Foo | Bar
rather thanUnion[Foo, Bar]
andFoo | None
rather thanOptional[None]
This affect error messages,
reveal_type
, production of pyi files.