Bouni / kicad-jlcpcb-tools

Plugin to generate BOM + CPL files for JLCPCB, assigning LCSC part numbers directly from the plugin, query the JLCPCB parts database, lookup datasheets and much more.
MIT License
1.2k stars 109 forks source link

Probable fix for #535 - use union instead of | operator for python 3.9 compatibility #540

Closed Cocoader closed 2 months ago

Cocoader commented 2 months ago

Could using unions instead of the | operator be a compromise to keep the compatibility with python 3.9 on macOS? https://docs.python.org/3.10/library/typing.html#typing.Union