Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#3826] fix(build): add license for Python version file (#3829)

mchades204c05d2054b
diff --git a/clients/client-python/scripts/generate_version.py b/clients/client-python/scripts/generate_version.py
index c55a5f7536..8ed0092505 100644
--- a/clients/client-python/scripts/generate_version.py
+++ b/clients/client-python/scripts/generate_version.py
@@ -37,7 +37,13 @@ def main():
Version.COMPILE_DATE.value: compile_date,
}
+ license_header = [
+ "# Copyright 2024 Datastrato Pvt Ltd.\n",
+ "# This software is licensed under the Apache License version 2.\n",
+ ]
+
with open(VERSION_INI, "w", encoding="utf-8") as f:
+ f.writelines(license_header)
config.write(f)