inference_schema/schema_util.py
def is_schema_decorated(func):
    """
    Check if a function is schema decorated

    :param func:
    :type func: function | FunctionWrapper
    :return:
    :rtype: boolean
    """
    decorators = _get_decorators(func)
    func_base_name = _get_function_full_qual_name(decorators[-1])
    return func_base_name in __functions_schema__

    Check if a function is schema decorated

    :param func:
    :type func: function | FunctionWrapper
    :return:
    :rtype: boolean
    
Check if a function is schema decorated
Check if a function is schema decorated
def is_schema_decorated(func):
    decorators = _get_decorators(func)
    func_base_name = _get_function_full_qual_name(decorators[-1])
    return func_base_name in __functions_schema__
def is_schema_decorated ( func ) : decorators = _get_decorators ( func ) func_base_name = _get_function_full_qual_name ( decorators [ - 1 ] ) return func_base_name in __functions_schema__
Check if a function is schema decorated
Check if a function is schema decorated
"""
    Check if a function is schema decorated

    :param func:
    :type func: function | FunctionWrapper
    :return:
    :rtype: boolean
    """
None
boolean
func
None