We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca4c22f commit 0bc2b11Copy full SHA for 0bc2b11
src/tppt/pptx/slide.py
@@ -236,6 +236,8 @@ def _register(slide: Slide) -> Movie:
236
data = MovieData(type="movie", movie_file=movie_file, **kwargs)
237
movie_obj = Movie(
238
cast(
239
+ # NOTE: Type hint of python-pptx is incorrect. Expected Movie, but GraphicFrame is returned.
240
+ # Ref: https://github.com/scanny/python-pptx/pull/1057/commits/56338fa314d2c5bceb8b1756a50ed64ea8984abe
241
PptxMovie,
242
slide.to_pptx().shapes.add_movie(
243
movie_file,
0 commit comments