Remove type checking of config entry in Mastodon (#123467)
Remove type checking of configentrypull/123480/head
parent
aee5d5126f
commit
e6e985af24
|
@ -3,7 +3,6 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from dataclasses import dataclass
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from mastodon.Mastodon import Mastodon, MastodonError
|
||||
|
||||
|
@ -38,9 +37,6 @@ class MastodonData:
|
|||
|
||||
type MastodonConfigEntry = ConfigEntry[MastodonData]
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from . import MastodonConfigEntry
|
||||
|
||||
|
||||
async def async_setup_entry(hass: HomeAssistant, entry: MastodonConfigEntry) -> bool:
|
||||
"""Set up Mastodon from a config entry."""
|
||||
|
|
Loading…
Reference in New Issue