def get_ip():
    nics = netifaces.interfaces()
    addrs = netifaces.ifaddresses(nics[1])
    worker_ip = addrs[netifaces.AF_INET][0]['addr']
    return worker_ip
Ensure that calling to_task doesn't affect the options when
dataset/ETHPy150Open idumpling/robotx/robotx/utils/misc.py/get_ip--crossover with--dataset/ETHPy150Open Workiva/furious/furious/tests/test_async.py/TestAsync.test_retry_value_with_to_task