tvalentyn commented on code in PR #29834:
URL: https://github.com/apache/beam/pull/29834#discussion_r1475048005


##########
sdks/python/gen_xlang_wrappers.py:
##########
@@ -212,9 +179,60 @@ class name. This can be overriden by manually providing a 
name.
     f.write(
         "# NOTE: This file is autogenerated and should "
         "not be edited by hand.\n")
+    f.write(
+        "# Configs are generated based on the expansion service\n"
+        f"# configuration in {input_services.replace(PROJECT_ROOT, '')}.\n")
+    f.write("# Refer to sdks/python/gen_xlang_wrappers.py for more info.\n")
     dt = datetime.datetime.now().date()
-    f.write(f"# Last updated on: {dt}\n\n")
+    f.write(f"#\n# Last updated on: {dt}\n\n")
     yaml.dump(transform_list, f)
+  logging.info("Successfully wrote transform configs to file: %s", output_file)
+
+
+def validate_sdks_destinations(sdk, dest, service, identifier=None):

Review Comment:
   in that case, the destination or output file could be "io_gcp.py" or 
"io_gcp",  as opposed to 'apache_beam/io/gcp' + later parsing out the 
apache_beam portion, splitting the io/gcp -> io_gcp, etc. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to