def write_version(filename: str=os.path.join(*[my_dir, 'airflow', 'git_version'])):
    '\n    Write the Semver version + git hash to file, e.g. ".dev0+2f635dc265e78db6708f59f68e8009abb92c1e65".\n\n    :param str filename: Destination file to write\n    '
    text = '{}'.format(git_version(version))
    with open(filename, 'w') as file:
        file.write(text)
Write the Semver version + git hash to file, e.g. ".dev0+2f635dc265e78db6708f59f68e8009abb92c1e65".

:param str filename: Destination file to write
def write_version(filename: str=os.path.join(*[my_dir, 'airflow', 'git_version'])):
    '\n    Write the Semver version + git hash to file, e.g. ".dev0+2f635dc265e78db6708f59f68e8009abb92c1e65".\n\n    :param str filename: Destination file to write\n    '
    text = '{}'.format(git_version(version))
    with open(filename, 'w') as file:
        file.write(text)