| 
				
				
					
				
				
				 | 
			
			 | 
			@@ -30,13 +30,14 @@ def main ( | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    videos: list[VideoDict] = [] | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    for row in Video.all (): | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        deleted_at = row.deleted_at.date () if row.deleted_at else None | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        video: VideoDict = { 'id':          row.id, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                             'code':        row.code, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                             'title':       row.title, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                             'description': row.description, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                             'tags':        [], | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                             'uploaded_at': row.uploaded_at, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                             'deleted_at':  row.deleted_at.date () } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                             'deleted_at':  deleted_at } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        for video_tag in row.video_tags: | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            if video_tag.untagged_at is None: | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                video['tags'].append (video_tag.tag.name) | 
		
		
	
	
		
			
				| 
				
					
				
				
				
				 | 
			
			 | 
			
  |