src/json_analysis.py
def check_is_type(type_):
    """
    Check wrapper for debugging
    type checking for last arg
    :param type_:
    :return:
    """

    def wrapper(func):
        def inner(*args, **kwargs):
            if DEBUG:
                assert isinstance(args[-1], type_)
            return func(*args, **kwargs)

        return inner

    return wrapper

    Check wrapper for debugging
    type checking for last arg
    :param type_:
    :return:
    
Check wrapper for debugging
type checking for last arg
Check wrapper for debugging type checking for last arg
def check_is_type(type_):
    def wrapper(func):
        def inner(*args, **kwargs):
            if DEBUG:
                assert isinstance(args[-1], type_)
            return func(*args, **kwargs)
        return inner
    return wrapper
def check_is_type ( type_ ) : def wrapper ( func ) : def inner ( * args , ** kwargs ) : if DEBUG : assert isinstance ( args [ - 1 ] , type_ ) return func ( * args , ** kwargs ) return inner return wrapper
Check wrapper for debugging
type checking for last arg
Check wrapper for debugging type checking for last arg
"""
    Check wrapper for debugging
    type checking for last arg
    :param type_:
    :return:
    """
None
type_
None