def __enter__(self):
        self.cls._meta["db_alias"] = self.db_alias
        self.cls._collection = None
        return self.cls
Parse colon seperated values into a dictionary, treating lines
dataset/ETHPy150Open MongoEngine/mongoengine/mongoengine/context_managers.py/switch_db.__enter__--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/admin/test/test_packaging.py/parse_colon_dict