diff --git a/vskernels/__init__.py b/vskernels/__init__.py index 6b9d57d..8fd5695 100644 --- a/vskernels/__init__.py +++ b/vskernels/__init__.py @@ -12,7 +12,8 @@ # flake8: noqa -from . import exceptions, kernels, util +from . import exceptions, kernels, types, util from .exceptions import * from .kernels import * +from .types import * from .util import * diff --git a/vskernels/helpers.py b/vskernels/helpers.py index 75e33e8..fab1c58 100644 --- a/vskernels/helpers.py +++ b/vskernels/helpers.py @@ -41,6 +41,8 @@ def _get_prop(frame: vs.VideoFrame, key: str, t: Type[T]) -> T: """ Get FrameProp ``prop`` from frame ``frame`` with expected type ``t`` to satisfy the type checker. + Taken from `lvsfunc`. + :param frame: Frame containing props. :param key: Prop to get. :param t: Type of prop.