def targettype(x):
    try:
        _target = int(x)

        def infinite_iterator():
            return (_target for _ in iter(int, 1))
        return infinite_iterator
    except __HOLE__:
        return util.load_obj_from_path(x, prefix='relay.plugins')
dataset/ETHPy150Open sailthru/relay/relay/argparse_shared.py/targettype