kcat/kernels/search.py
def kernel(cls, *args, **kwargs):
        """Calls the kernel function associated with the current class."""
        if cls.kernel_function is None:
            return args[0]
        else:
            return cls.kernel_function(*args, **kwargs)
Calls the kernel function associated with the current class.
Calls the kernel function associated with the current class.
Calls the kernel function associated with the current class .
def kernel(cls, *args, **kwargs):
        if cls.kernel_function is None:
            return args[0]
        else:
            return cls.kernel_function(*args, **kwargs)
def kernel ( cls , * args , ** kwargs ) : if cls . kernel_function is None : return args [ 0 ] else : return cls . kernel_function ( * args , ** kwargs )
Calls the kernel function associated with the current class.
Calls the kernel function associated with the current class .
"""Calls the kernel function associated with the current class."""
cls