From 2fcf92b7355debd052851c62c6142be8bd5514f9 Mon Sep 17 00:00:00 2001 From: lucemia Date: Thu, 28 Mar 2024 02:02:25 +0000 Subject: [PATCH] update snapshot --- .../tests/__snapshots__/test_gen/test_render[_input.py].raw | 1 + .../tests/__snapshots__/test_gen/test_render[_output.py].raw | 1 + .../tests/__snapshots__/test_gen/test_render[audio.py].raw | 2 +- .../tests/__snapshots__/test_gen/test_render[filters.py].raw | 2 +- .../__snapshots__/test_gen/test_render[global_args.py].raw | 1 + .../__snapshots__/test_gen/test_render[output_args.py].raw | 1 + .../tests/__snapshots__/test_gen/test_render[video.py].raw | 2 +- 7 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[_input.py].raw b/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[_input.py].raw index cd6ddb67..e89bd824 100644 --- a/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[_input.py].raw +++ b/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[_input.py].raw @@ -6,6 +6,7 @@ from pathlib import Path from ..nodes import InputNode from ...streams.av import AVStream from typing import Any +from ...types import * def input( filename: str | Path, diff --git a/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[_output.py].raw b/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[_output.py].raw index 71faf2de..44b682bb 100644 --- a/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[_output.py].raw +++ b/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[_output.py].raw @@ -5,6 +5,7 @@ from pathlib import Path from ..nodes import OutputNode, OutputStream, FilterableStream from typing import Any +from ...types import * def output( *streams: FilterableStream, diff --git a/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[audio.py].raw b/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[audio.py].raw index 49c127ba..0f59b466 100644 --- a/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[audio.py].raw +++ b/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[audio.py].raw @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING, Any, Literal from ..dag.nodes import FilterableStream, FilterNode from ..schema import Default, StreamType, Auto -from ..types import Boolean, Duration, Color, Flags, Dictionary, Pix_fmt, Int, Int64, Double, Float, String, Video_rate, Image_size, Rational, Sample_fmt, Binary +from ..types import * from ..utils.typing import override from .channel_layout import CHANNEL_LAYOUT from ..common.schema import FFMpegFilterDef diff --git a/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[filters.py].raw b/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[filters.py].raw index 60a5dce2..ca3e3fd8 100644 --- a/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[filters.py].raw +++ b/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[filters.py].raw @@ -3,7 +3,7 @@ from typing import Any, Literal from .dag.nodes import FilterNode, FilterableStream from .schema import Default, StreamType, Auto -from .types import Boolean, Duration, Color, Flags, Dictionary, Pix_fmt, Int, Int64, Double, Float, String, Video_rate, Image_size, Rational, Sample_fmt, Binary +from .types import * from .streams.video import VideoStream from .streams.audio import AudioStream from .streams.av import AVStream diff --git a/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[global_args.py].raw b/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[global_args.py].raw index a76d2d20..8076baad 100644 --- a/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[global_args.py].raw +++ b/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[global_args.py].raw @@ -3,6 +3,7 @@ from __future__ import annotations from abc import ABC, abstractmethod from typing import TYPE_CHECKING, Any +from ...types import * if TYPE_CHECKING: from ..nodes import GlobalNode, GlobalStream, OutputStream diff --git a/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[output_args.py].raw b/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[output_args.py].raw index 59a46e1c..f0777211 100644 --- a/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[output_args.py].raw +++ b/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[output_args.py].raw @@ -4,6 +4,7 @@ from __future__ import annotations from abc import ABC, abstractmethod from pathlib import Path from typing import TYPE_CHECKING, Any +from ...types import * if TYPE_CHECKING: from ..nodes import FilterableStream, OutputNode, OutputStream diff --git a/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[video.py].raw b/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[video.py].raw index edf90678..b18789d4 100644 --- a/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[video.py].raw +++ b/src/scripts/code_gen/tests/__snapshots__/test_gen/test_render[video.py].raw @@ -8,7 +8,7 @@ from typing import TYPE_CHECKING, Any, Literal from ..dag.nodes import FilterableStream, FilterNode from ..schema import Default, StreamType, Auto -from ..types import Boolean, Duration, Color, Flags, Dictionary, Pix_fmt, Int, Int64, Double, Float, String, Video_rate, Image_size, Rational, Sample_fmt, Binary +from ..types import * from ..utils.typing import override from ..common.schema import FFMpegFilterDef from ..dag.factory import filter_node_factory