damccorm commented on code in PR #37959:
URL: https://github.com/apache/beam/pull/37959#discussion_r3010442096
##########
website/www/site/content/en/documentation/programming-guide.md:
##########
@@ -4229,6 +4229,15 @@ output_pc = input_pc | beam.Select(post_code=lambda
item: str(item["shipping_add
Support for wildcards hasn't been developed for the Python SDK yet.
{{< /paragraph >}}
+<< paragraph class="language-py" >>
+Example of selecting all nested fields using wildcard:
+<< /paragraph >>
+
+<< highlight py >>
+input_pc = ...
+output_pc = input_pc | beam.Select("shippingAddress.*")
+<< /highlight >>
Review Comment:
Lets just close this PR since adding this example was the point of the PR.
Please manually verify changes before pushing them (don't just feed them
into an AI tool)
--
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]