def __getitem__(self, name): collection_class = create_class_with_framework( MongoMotorAgnosticCollection, self._framework, self.__module__) return collection_class(self.database, self.name + '.' + name)