def get_version():
    version = {}
    with open("bqueryd/version.py") as fp:
        exec (fp.read(), version)
    return version
def __init__(self, addr):
        self.addr = addr
        self.ip_addr = ip_address(text_type(self.addr))