You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/07/01 17:44:15 UTC
[GitHub] [beam] TheNeuralBit opened a new issue, #22125: [Feature Request]: User-facing API for defining schema/field options on user types
TheNeuralBit opened a new issue, #22125:
URL: https://github.com/apache/beam/issues/22125
### What would you like to happen?
We should have a user-facing API for defining beam schema options on user types. One concept might be a `@beam_option` decorator.
```py
@beam_option("my_flag")
@beam_option("my_metadata", 123)
class MyRowType(NamedTuple):
@beam_option("my_field_flag")
foo: int
@beam_option("my_metadata", 456)
bar: str
```
### Issue Priority
Priority: 2
### Issue Component
Component: sdk-py-core
--
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-unsubscribe@beam.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] github-actions[bot] closed issue #22125: [Feature Request]: User-facing API for defining schema/field options on user types
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #22125: [Feature Request]: User-facing API for defining schema/field options on user types
URL: https://github.com/apache/beam/issues/22125
--
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-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org