Adam Dangoor
Adam Dangoor
This is to avoid the pyright error `reportUnknownMemberType` when using this function.
I used stubgen and broke out a few classes.
This allows us to have code like: ```python for line in container.logs(stream=True): line.decode() # Type checker knows that `line` is bytes ```
With the new `sphinxcontrib-video==0.2.1`, the `.. video::` directive gives: ``` video_key, _, _ = self.assets.add(source_path, self.docname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/adam/.virtualenvs/sphc/lib/python3.11/site-packages/sphinxcontrib/confluencebuilder/assets.py", line 87, in add return self._handle_entry(abs_path, docname, standalone=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/adam/.virtualenvs/sphc/lib/python3.11/site-packages/sphinxcontrib/confluencebuilder/assets.py",...