Update Union typing (4) [Py310] (#86427)

This commit is contained in:
Marc Mueller 2023-01-23 09:04:40 +01:00 committed by GitHub
parent b0ed0d5d41
commit 8abce25948
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 39 additions and 37 deletions

View file

@ -1,11 +1,10 @@
"""MQTT Discovery data."""
from dataclasses import dataclass
import datetime as dt
from typing import Union
from homeassistant.data_entry_flow import BaseServiceInfo
ReceivePayloadType = Union[str, bytes]
ReceivePayloadType = str | bytes
@dataclass