inference_schema/schema_util.py
def _get_schema_from_dictionary(attr, func):
    """
    Extract the schema specified on attr from the function schema dict

    :param attr:
    :type attr: str
    :param func:
    :type func: function | FunctionWrapper
    :return:
    :rtype: dict
    """

    schema = {"type": "object"}

    decorators = _get_decorators(func)
    func_base_name = _get_function_full_qual_name(decorators[-1])

    return __functions_schema__.get(func_base_name, {}).get(attr, schema)

    Extract the schema specified on attr from the function schema dict

    :param attr:
    :type attr: str
    :param func:
    :type func: function | FunctionWrapper
    :return:
    :rtype: dict
    
Extract the schema specified on attr from the function schema dict
Extract the schema specified on attr from the function schema dict
def _get_schema_from_dictionary(attr, func):
    schema = {"type": "object"}
    decorators = _get_decorators(func)
    func_base_name = _get_function_full_qual_name(decorators[-1])
    return __functions_schema__.get(func_base_name, {}).get(attr, schema)
def _get_schema_from_dictionary ( attr , func ) : schema = { "type" : "object" } decorators = _get_decorators ( func ) func_base_name = _get_function_full_qual_name ( decorators [ - 1 ] ) return __functions_schema__ . get ( func_base_name , { } ) . get ( attr , schema )
Extract the schema specified on attr from the function schema dict
Extract the schema specified on attr from the function schema dict
"""
    Extract the schema specified on attr from the function schema dict

    :param attr:
    :type attr: str
    :param func:
    :type func: function | FunctionWrapper
    :return:
    :rtype: dict
    """
None
dict
attr
None
func
None