mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 17:05:36 +00:00
9 lines
204 B
Python
9 lines
204 B
Python
"""Enum backports from standard lib."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from enum import StrEnum as _StrEnum
|
|
|
|
# Re-export StrEnum from standard library for backwards compatibility
|
|
StrEnum = _StrEnum
|