def load_variant(self, variant_obj):
<EOL>try:<EOL><INDENT>result = self.variant_collection.insert_one(variant_obj)<EOL><DEDENT>except DuplicateKeyError as err:<EOL><INDENT>raise IntegrityError("<STR_LIT>", variant_obj['<STR_LIT>'])<EOL><DEDENT>return result<EOL>
Load a variant object

        Args:
            variant_obj(dict)

        Returns:
            inserted_id