def get_learning_path_session(self):
if not self.supports_learning_path():<EOL><INDENT>raise Unimplemented()<EOL><DEDENT>try:<EOL><INDENT>from . import sessions<EOL><DEDENT>except ImportError:<EOL><INDENT>raise OperationFailed()<EOL><DEDENT>try:<EOL><INDENT>session = sessions.LearningPathSession(runtime=self._runtime)<EOL><DEDENT>except AttributeError:<EOL><INDENT>raise OperationFailed()<EOL><DEDENT>return session<EOL>
Gets the OsidSession associated with the learning path service.

        return: (osid.learning.LearningPathSession) - a
                LearningPathSession
        raise:  OperationFailed - unable to complete request
        raise:  Unimplemented - supports_learning_path() is false
        compliance: optional - This method must be implemented if
                    supports_learning_path() is true.