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