python/scannerpy/database.py
def ingest_video_collection(self, collection_name, videos, force=False):
        """
        Creates a Collection from a list of videos.

        Args:
            collection_name: String name of the Collection to create.
            videos: List of video paths.

        Kwargs:
            force: TODO(wcrichto)

        Returns:
            (Collection, list of (path, reason) failures to ingest)
        """
        table_names = ['{}:{:03d}'.format(collection_name, i)
                       for i in range(len(videos))]
        tables, failures = self.ingest_videos(zip(table_names, videos), force)
        collection = self.new_collection(
            collection_name, tables, force)
        return collection, failures

        Creates a Collection from a list of videos.

        Args:
            collection_name: String name of the Collection to create.
            videos: List of video paths.

        Kwargs:
            force: TODO(wcrichto)

        Returns:
            (Collection, list of (path, reason) failures to ingest)
        
Creates a Collection from a list of videos.
Creates a Collection from a list of videos .
def ingest_video_collection(self, collection_name, videos, force=False):
        table_names = ['{}:{:03d}'.format(collection_name, i)
                       for i in range(len(videos))]
        tables, failures = self.ingest_videos(zip(table_names, videos), force)
        collection = self.new_collection(
            collection_name, tables, force)
        return collection, failures
def ingest_video_collection ( self , collection_name , videos , force = False ) : table_names = [ '{}:{:03d}' . format ( collection_name , i ) for i in range ( len ( videos ) ) ] tables , failures = self . ingest_videos ( zip ( table_names , videos ) , force ) collection = self . new_collection ( collection_name , tables , force ) return collection , failures
Creates a Collection from a list of videos.
Creates a Collection from a list of videos .
"""
        Creates a Collection from a list of videos.

        Args:
            collection_name: String name of the Collection to create.
            videos: List of video paths.

        Kwargs:
            force: TODO(wcrichto)

        Returns:
            (Collection, list of (path, reason) failures to ingest)
        """
(Collection, list of (path, reason) failures to ingest)
( Collection list of ( path reason ) failures to ingest )
self
collection_name
String name of the Collection to create.
String name of the Collection to create .
videos
List of video paths.
List of video paths .
force