Update Union typing (4) [Py310] (#86427)
This commit is contained in:
parent
b0ed0d5d41
commit
8abce25948
11 changed files with 39 additions and 37 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue