- Improve annotation algorithm for Youtube (and others)
- Patch Pytube - improve OS deletion of files and writing of files - Start working on Claude - Improve template management
This commit is contained in:
15
patched_packages/pytube/monostate.py
Normal file
15
patched_packages/pytube/monostate.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from typing import Any, Callable, Optional
|
||||
|
||||
|
||||
class Monostate:
|
||||
def __init__(
|
||||
self,
|
||||
on_progress: Optional[Callable[[Any, bytes, int], None]],
|
||||
on_complete: Optional[Callable[[Any, Optional[str]], None]],
|
||||
title: Optional[str] = None,
|
||||
duration: Optional[int] = None,
|
||||
):
|
||||
self.on_progress = on_progress
|
||||
self.on_complete = on_complete
|
||||
self.title = title
|
||||
self.duration = duration
|
||||
Reference in New Issue
Block a user