derrickaw commented on code in PR #35914: URL: https://github.com/apache/beam/pull/35914#discussion_r2292056256
########## sdks/python/apache_beam/yaml/examples/README.md: ########## @@ -229,6 +233,27 @@ gcloud dataflow yaml run $JOB_NAME \ --region $REGION ``` +### Jinja + +Jinja [templatization](https://beam.apache.org/documentation/sdks/yaml/#jinja-templatization) +can be used to build off of different contexts and/or with different +configurations. + +Several examples will be created based on the already used word count example +by leveraging Jinja templating engine for dynamic pipeline generation based on +inputs from the user through `% include`, `% import`, and inheritance +directives. + +% import: +- [wordCount.yaml](#TODO: pending) + +% include: +- [wordCount.yaml](https://github.com/apache/beam/blob/master/sdks/python/apache_beam/yaml/examples/transforms/jinja/include/wordCount.yaml) Review Comment: 1. I had it here before, but I moved it to the other Readme. Will update name. 2. Similar pattern that Charles used on some of his ML work with Readme usage more in the applicable folder and not in the main one since multiple folders will be under Jinja. -- 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: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org