Fix deque import (#98269)

This commit is contained in:
Marc Mueller 2023-08-11 23:07:06 +02:00 committed by GitHub
parent 4342a95be0
commit ff0566b11f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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__)