def get_kernel(self, kernel_id):
km = self._kernels.get(kernel_id)<EOL>if km is not None:<EOL><INDENT>return km<EOL><DEDENT>else:<EOL><INDENT>raise KeyError("<STR_LIT>" % kernel_id)<EOL><DEDENT>
Get the single KernelManager object for a kernel by its uuid.

        Parameters
        ==========
        kernel_id : uuid
            The id of the kernel.