def get_version():
    version = {}
    with open("bqueryd/version.py") as fp:
        exec (fp.read(), version)
    return version
def __init__(self, optional=False, choices=None):
        self._required = not optional
        self._choices = choices