scout/adapter/mongo/hgnc.py
def load_transcript_bulk(self, transcript_objs):
        """Load a bulk of transcript objects to the database

        Arguments:
            transcript_objs(iterable(scout.models.hgnc_transcript))

        """
        LOG.info("Loading transcript bulk")
        try:
            result = self.transcript_collection.insert_many(transcript_objs)
        except (DuplicateKeyError, BulkWriteError) as err:
            raise IntegrityError(err)
        
        return result
def load_transcript_bulk(self, transcript_objs):
        LOG.info("Loading transcript bulk")
        try:
            result = self.transcript_collection.insert_many(transcript_objs)
        except (DuplicateKeyError, BulkWriteError) as err:
            raise IntegrityError(err)
        
        return result
def load_transcript_bulk ( self , transcript_objs ) : LOG . info ( "Loading transcript bulk" ) try : result = self . transcript_collection . insert_many ( transcript_objs ) except ( DuplicateKeyError , BulkWriteError ) as err : raise IntegrityError ( err ) return result
Load a bulk of transcript objects to the database

        Arguments:
            transcript_objs(iterable(scout.models.hgnc_transcript))
Load a bulk of transcript objects to the database