def add_method_model(self,
                         func,  # type: Callable
                         name=None,  # type: Optional[str]
                         description=None,  # type: Optional[str]
                         ):
        # type: (...) -> MethodModel
        """Register a function to be added to the Block as a MethodModel"""
        return self._field_registry.add_method_model(
            func, name, description, self._part)
Register a function to be added to the Block as a MethodModel