vikit.video.building.build_order

Overview

Classes

is_composite_video

Interface for composite videos, needed to prevent circular imports

Function

get_lazy_dependency_chain_build_order(video_tree, build_settings, already_added, video_build_order)

Get the first videos first build order

Classes

class vikit.video.building.build_order.is_composite_video

Bases: abc.ABC

Interface for composite videos, needed to prevent circular imports

Overview

Methods

is_composite_video()

abc -

Members

abstract is_composite_video()

Functions

vikit.video.building.build_order.get_lazy_dependency_chain_build_order(video_tree: list[vikit.video.video.Video], build_settings: vikit.video.video_build_settings.VideoBuildSettings, already_added: set, video_build_order: list[vikit.video.video.Video] = [])

Get the first videos first build order

Here we generate the video in a lazy way, starting from the leaf composite and going up to the root composite as dependency resolution is done

So this is a width traversal of the video tree, but we go down the dependency chain too

params:

video_tree (list): The video tree to recurse on to parse the tree and get the build order build_settings: The build settings already_added (set): The set of already added videos

Returns:

The build order

Return type:

list