From b478fa657703afb4df46d674107d93ab7676c2a4 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Wed, 4 May 2022 14:28:11 -0400 Subject: [PATCH] Fix type declarations for python3 --- scripts/idl/matter_idl_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/idl/matter_idl_types.py b/scripts/idl/matter_idl_types.py index 713e8a55c13787..f56bd5e225f1e8 100644 --- a/scripts/idl/matter_idl_types.py +++ b/scripts/idl/matter_idl_types.py @@ -172,7 +172,7 @@ class Cluster: class AttributeInstantiation: name: str storage: AttributeStorage - default: Optional[Union[str | int | bool]] = None + default: Optional[Union[str, int, bool]] = None @dataclass