def get_address(self, ip):
        for i in self.interfaces:
            if i.ip == ip:
                return i
        raise AttributeError
Find a token object by value.
dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/utils/network.py/IfConfig.get_address--crossover with--dataset/ETHPy150Open jupyterhub/jupyterhub/jupyterhub/orm.py/APIToken.find