def get_default_config(self):
        config = super(MongoDBCollector, self).get_default_config()
        config.update({
            'path':      'mongo',
            'hosts':     ['localhost'],
            'user':      None,
            'passwd':      None,
            'databases': '.*',
            'ignore_collections': '^tmp\.mr\.',
            'network_timeout': None,
            'simple': 'False',
            'translate_collections': 'False',
            'collection_sample_rate': 1,
            'ssl': False,
            'replica': False
        })
        return config
Primary email should match email format.
dataset/ETHPy150Open python-diamond/Diamond/src/collectors/mongodb/mongodb.py/MongoDBCollector.get_default_config--crossover with--dataset/ETHPy150Open bmun/huxley/huxley/api/tests/school/test_create_school.py/CreateSchoolTestCase.test_invalid_secondary_email_format