Skip to content

Commit

Permalink
fix import path (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemia authored Jan 15, 2024
1 parent 57ad5c8 commit b2a7fcb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/typed_ffmpeg/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
from . import filters, nodes, streams
from .base import input, merge_outputs, output
from .exeptions import Error
from .probe import probe
from . import base, exeptions, filters, nodes, probe, streams

__all__ = ["input", "output", "merge_outputs", "probe", "filters", "Error"]
__all__ += streams.__all__ + nodes.__all__
__all__ = streams.__all__ + nodes.__all__ + base.__all__ + probe.__all__ + exeptions.__all__ + [filters.__name__]
3 changes: 3 additions & 0 deletions src/typed_ffmpeg/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ def output(*inputs: FilterableStream, filename: str, **kwargs: str | int | None

def merge_outputs(*inputs: OutputStream) -> OutputStream:
return MergeOutputsNode(inputs=inputs).stream()


__all__ = ["input", "output", "merge_outputs"]
3 changes: 3 additions & 0 deletions src/typed_ffmpeg/exeptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ def __init__(self, retcode: int | None, cmd: list[str], stdout: bytes, stderr: b
self.stderr = stderr
self.cmd = cmd
self.retcode = retcode


__all__ = ["Error"]

0 comments on commit b2a7fcb

Please sign in to comment.