Skip to content

Commit

Permalink
python 3.9 compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille committed Jul 4, 2024
1 parent 9037619 commit 08fbbb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python_testing/spec_parsing_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import xml.etree.ElementTree as ElementTree
from copy import deepcopy
from dataclasses import dataclass
from enum import Enum, StrEnum, auto
from enum import Enum, auto
from typing import Callable, Optional

import chip.clusters as Clusters
Expand Down Expand Up @@ -502,7 +502,7 @@ class PrebuiltDataModelDirectory(Enum):
kMaster = auto()


class DataModelLevel(StrEnum):
class DataModelLevel(str, Enum):
kCluster = 'clusters'
kDeviceType = 'device_types'

Expand Down

0 comments on commit 08fbbb4

Please sign in to comment.