code: def save(self, entity):
          
          assert isinstance(entity, Entity), " entity must have an instance of Entity"
          return self.__collection.save(entity.as_dict())
docs: Maps entity to dict and returns future