<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_repository(self, entity_cls):
 """Return a repository object configured with a live connection"""

        model_cls = self.get_model(entity_cls)
        return DictRepository(self, entity_cls, model_cls)