<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_inline_func(inline_str, modules=None, **stream_kwargs):
 """returns a function decorated by `cbox.stream` decorator. :param str inline_str: the inline function to execute, can use `s` - local variable as the input line/char/raw (according to `input_type` param). :param str modules: comma separated list of modules to import before running the inline function. :param dict stream_kwargs: optional arguments to `cbox.stream` decorator :rtype: callable """

    if not _is_compilable(inline_str):
        raise ValueError(
            'cannot compile the inline expression - "%s"' % inline_str
        )

    inline_globals = _import_inline_modules(modules)
    func = _inline2func(inline_str, inline_globals, **stream_kwargs)
    return func