mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Fix deque import (#98269)
This commit is contained in:
parent
4342a95be0
commit
ff0566b11f
@ -1,6 +1,7 @@
|
||||
"""Provide functionality to record stream."""
|
||||
from __future__ import annotations
|
||||
|
||||
from collections import deque
|
||||
from io import DEFAULT_BUFFER_SIZE, BytesIO
|
||||
import logging
|
||||
import os
|
||||
@ -19,8 +20,6 @@ from .core import PROVIDERS, IdleTimer, Segment, StreamOutput, StreamSettings
|
||||
from .fmp4utils import read_init, transform_init
|
||||
|
||||
if TYPE_CHECKING:
|
||||
import deque
|
||||
|
||||
from homeassistant.components.camera import DynamicStreamSettings
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user