def load_variant_bulk(self, variants):
if not len(variants) > <NUM_LIT:0>:<EOL><INDENT>return<EOL><DEDENT>LOG.debug("<STR_LIT>")<EOL>try:<EOL><INDENT>result = self.variant_collection.insert_many(variants)<EOL><DEDENT>except (DuplicateKeyError, BulkWriteError) as err:<EOL><INDENT>for var_obj in variants:<EOL><INDENT>try:<EOL><INDENT>self.upsert_variant(var_obj)<EOL><DEDENT>except IntegrityError as err:<EOL><INDENT>pass<EOL><DEDENT><DEDENT><DEDENT>return<EOL>
Load a bulk of variants

        Args:
            variants(iterable(scout.models.Variant))

        Returns:
            object_ids