mirror of
				https://github.com/devine-dl/devine.git
				synced 2025-11-04 03:44:49 +00:00 
			
		
		
		
	fix(Tracks): Improve constructor typing, add Chapter(s) to typing
This commit is contained in:
		
							parent
							
								
									5950a4d4fa
								
							
						
					
					
						commit
						2bbe033efb
					
				@ -36,7 +36,7 @@ class Tracks:
 | 
			
		||||
        Chapter: 3
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    def __init__(self, *args: Union[Tracks, list[Track], Track]):
 | 
			
		||||
    def __init__(self, *args: Union[Tracks, Sequence[Union[AnyTrack, Chapter, Chapters]], Track, Chapter, Chapters]):
 | 
			
		||||
        self.videos: list[Video] = []
 | 
			
		||||
        self.audio: list[Audio] = []
 | 
			
		||||
        self.subtitles: list[Subtitle] = []
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user