def write(pylist, parallel=True):
        """
        Utility method to spawn a VSGWriter for each element in a collection.

        :param list pylist:   A list of VSG objects (PrProjects, VSGSolutions, etc)
        :param bool parallel: Flag to enable asynchronous writing.
        """
        threads = [VSGWriter(o) for o in pylist]
        if parallel:
            for t in threads:
                t.start()
            for t in threads:
                t.join()
        else:
            for t in threads:
                t.run()
def write ( pylist , parallel = True ) : threads = [ VSGWriter ( o ) for o in pylist ] if parallel : for t in threads : t . start ( ) for t in threads : t . join ( ) else : for t in threads : t . run ( )
Utility method to spawn a VSGWriter for each element in a collection.

        :param list pylist:   A list of VSG objects (PrProjects, VSGSolutions, etc)
        :param bool parallel: Flag to enable asynchronous writing.