Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[YAML] Transform schema introspection. #28478

Merged
merged 3 commits into from
Sep 21, 2023

Conversation

robertwb
Copy link
Contributor

@robertwb robertwb commented Sep 15, 2023

This allows one to enumerate the set of provided transforms together with their config schemas.

Future work would be to pull out documentation as well. It would be valuable, if possible, to trace through forwarding of *args and **kwargs as well.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

@robertwb
Copy link
Contributor Author

R: @Polber

@github-actions
Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control

@codecov
Copy link

codecov bot commented Sep 21, 2023

Codecov Report

Merging #28478 (618516b) into master (c5e6c79) will decrease coverage by 0.04%.
Report is 1 commits behind head on master.
The diff coverage is 23.33%.

@@            Coverage Diff             @@
##           master   #28478      +/-   ##
==========================================
- Coverage   72.24%   72.21%   -0.04%     
==========================================
  Files         684      684              
  Lines      101071   101130      +59     
==========================================
+ Hits        73022    73034      +12     
- Misses      26470    26517      +47     
  Partials     1579     1579              
Flag Coverage Δ
python 82.75% <23.33%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
sdks/python/apache_beam/yaml/yaml_provider.py 63.99% <21.42%> (-6.36%) ⬇️
sdks/python/apache_beam/typehints/schemas.py 88.86% <50.00%> (-0.31%) ⬇️

... and 8 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@robertwb robertwb merged commit b5b69b1 into apache:master Sep 21, 2023
76 of 77 checks passed
kennknowles pushed a commit to kennknowles/beam that referenced this pull request Sep 22, 2023
This allows one to enumerate the set of provided transforms together with their config schemas.

Future work would be to pull out documentation as well. It would be valuable, if possible, to trace through forwarding of *args and **kwargs as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants