File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## [ Unreleased]
88
9+ ### Fixed
10+ - Fix syntax error on Python < 3.10 in ` firmware ` module.
11+
912## [ 1.0.0-alpha.26] - 2022-06-07
1013
1114### Added
Original file line number Diff line number Diff line change 55Utilities for working with Pybricks ``firmware.zip`` files.
66"""
77
8- from typing import Literal , TypedDict
8+ from typing import Literal , TypedDict , Union
99
1010
1111class FirmwareMetadataV100 (
@@ -46,7 +46,7 @@ class FirmwareMetadataV110(
4646 """
4747
4848
49- AnyFirmwareMetadata = FirmwareMetadataV100 | FirmwareMetadataV110
49+ AnyFirmwareMetadata = Union [ FirmwareMetadataV100 , FirmwareMetadataV110 ]
5050"""
5151Type for data contained in ``firmware.metadata.json`` files of any version.
5252"""
You can’t perform that action at this time.
0 commit comments