(self, connection, cursor)
Fill file types table in the DB.

        Any file used in Eve should has a particular type. Here is the full list of all possible types in Eve.

        asset_hip:
            Working scene for Assets. Here we store all source data to build an asset. Results are exported as caches,
            and caches used in asset_hda files.

        asset_hda:
            Houdini Digital Asset for ASSETS. Used to load assets of any type (char, env, props, fx) into shots.
            Contain cached data with interface. Source of cached data is stored in asset_hip

        :param connection:
        :param cursor:
        :return:
Fill file types table in the DB.
Fill file types table in the DB .
def init_file_types(self, connection, cursor):
        """
        Fill file types table in the DB.

        Any file used in Eve should has a particular type. Here is the full list of all possible types in Eve.

        asset_hip:
            Working scene for Assets. Here we store all source data to build an asset. Results are exported as caches,
            and caches used in asset_hda files.

        asset_hda:
            Houdini Digital Asset for ASSETS. Used to load assets of any type (char, env, props, fx) into shots.
            Contain cached data with interface. Source of cached data is stored in asset_hip

        :param connection:
        :param cursor:
        :return:
        """

        for name, data in entities.EveFile.file_types.iteritems():
            cursor.execute("INSERT INTO file_types VALUES ("
                           ":id,"
                           ":name,"
                           ":description)",

                           {'id': data['id'],
                            'name': name,
                            'description': data['description']})

        connection.commit()
def init_file_types ( self , connection , cursor ) : for name , data in entities . EveFile . file_types . iteritems ( ) : cursor . execute ( "INSERT INTO file_types VALUES (" ":id," ":name," ":description)" , { 'id' : data [ 'id' ] , 'name' : name , 'description' : data [ 'description' ] } ) connection . commit ( )