<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def path_helper(self, operations, view, **kwargs):
 """Path helper that allows passing a bottle view function."""

        operations.update(yaml_utils.load_operations_from_docstring(view.__doc__))
        app = kwargs.get('app', _default_app)
        route = self._route_for_view(app, view)
        return self.bottle_path_to_openapi(route.rule)