Skip to content

Instantly share code, notes, and snippets.

@masouduut94
Created July 10, 2020 08:04
Show Gist options
  • Save masouduut94/098bfa3c5a2b686dfcae4709a7000e32 to your computer and use it in GitHub Desktop.
Save masouduut94/098bfa3c5a2b686dfcae4709a7000e32 to your computer and use it in GitHub Desktop.
def output(self):
output = {'video_details': self.video_details}
result = list(self.frames.values())
output['frames'] = [item.dic() for item in result]
return output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment