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 21:39:19 UTC
[GitHub] [beam] robertwb opened a new pull request, #22132: Support dependencies and remote registration in the typescript SDK.
robertwb opened a new pull request, #22132:
URL: https://github.com/apache/beam/pull/22132
------------------------
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] [**Choose reviewer(s)**](https://beam.apache.org/contribute/#make-your-change) and mention them in a comment (`R: @username`).
- [ ] 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](https://www.apache.org/licenses/icla.pdf).
See the [Contributor Guide](https://beam.apache.org/contribute) for more tips on [how to make review process smoother](https://beam.apache.org/contribute/#make-reviewers-job-easier).
To check the build health, please visit [https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md](https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md)
GitHub Actions Tests Status (on master branch)
------------------------------------------------------------------------------------------------
[](https://github.com/apache/beam/actions?query=workflow%3A%22Build+python+source+distribution+and+wheels%22+branch%3Amaster+event%3Aschedule)
[](https://github.com/apache/beam/actions?query=workflow%3A%22Python+Tests%22+branch%3Amaster+event%3Aschedule)
[](https://github.com/apache/beam/actions?query=workflow%3A%22Java+Tests%22+branch%3Amaster+event%3Aschedule)
See [CI.md](https://github.com/apache/beam/blob/master/CI.md) for more information about GitHub Actions CI.
--
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
[GitHub] [beam] damccorm commented on a diff in pull request #22132: Support dependencies and remote registration in the typescript SDK.
Posted by GitBox <gi...@apache.org>.
damccorm commented on code in PR #22132:
URL: https://github.com/apache/beam/pull/22132#discussion_r914780908
##########
sdks/typescript/boot.go:
##########
@@ -87,7 +90,71 @@ func main() {
log.Fatalf("Failed to convert pipeline options: %v", err)
}
- // (2) Invoke the Node entrypoint, passing the Fn API container contract info as flags.
+ // (2) Retrieve and install the staged packages.
+
+ dir := filepath.Join(*semiPersistDir, *id, "staged")
+ artifacts, err := artifact.Materialize(ctx, *artifactEndpoint, info.GetDependencies(), info.GetRetrievalToken(), dir)
+ if err != nil {
+ log.Fatalf("Failed to retrieve staged files: %v", err)
+ }
+
+ // Create a package.json that names given dependencies as overrides.
+ npmOverrides := make(map[string]string)
+ for _, v := range artifacts {
+ name, _ := artifact.MustExtractFilePayload(v)
+ path := filepath.Join(dir, name)
+ if v.RoleUrn == "beam:artifact:type:npm_dep:v1" {
+ // Npm cannot handle arbitrary suffixes.
+ suffixedPath := path + ".tar"
+ e := os.Rename(path, suffixedPath)
+ if e != nil {
+ log.Fatal(e)
+ }
+ npmOverrides[string(v.RolePayload)] = suffixedPath
+ }
+ }
+ if len(npmOverrides) > 0 {
Review Comment:
I don't quite follow why we're doing this - why can't we just install these dependencies with `npm install`?
##########
sdks/python/apache_beam/options/pipeline_options.py:
##########
@@ -348,12 +348,15 @@ def get_all_options(
del result[k]
if overrides:
- _LOGGER.warning("Discarding invalid overrides: %s", overrides)
+ if retain_unknown_options:
+ result.update(overrides)
Review Comment:
Above, we check:
```
if (drop_default and parser.get_default(k) == result[k] and
not isinstance(parser.get_default(k), ValueProvider)):
del result[k]
```
Do we need to do something similar here?
If so (or maybe regardless), it might be cleaner to conditionally do something like `for k in overrides` instead of `for k in list(result)` above when retain_unkown_options is set. That also keeps any future updates in one place
##########
sdks/python/apache_beam/runners/dataflow/internal/apiclient.py:
##########
@@ -660,35 +665,42 @@ def _stage_resources(self, pipeline, options):
'Found duplicated artifact sha256: %s (%s)',
type_payload.path,
type_payload.sha256)
- staged_name = staged_hashes[type_payload.sha256]
- dep.role_payload = beam_runner_api_pb2.ArtifactStagingToRolePayload(
- staged_name=staged_name).SerializeToString()
+ remote_name = staged_hashes[type_payload.sha256]
+ if is_staged_role:
+ # We should not be overriding this, as dep.role_payload.staged_name
+ # refers to the desired name on the worker, whereas staged_name
+ # refers to its placement in a distributed filesystem.
Review Comment:
I'm a little confused by this comment - are you saying we're currently doing the wrong thing here? If so, should this be a TODO?
--
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
[GitHub] [beam] robertwb commented on a diff in pull request #22132: Support dependencies and remote registration in the typescript SDK.
Posted by GitBox <gi...@apache.org>.
robertwb commented on code in PR #22132:
URL: https://github.com/apache/beam/pull/22132#discussion_r915284957
##########
sdks/typescript/boot.go:
##########
@@ -87,7 +90,71 @@ func main() {
log.Fatalf("Failed to convert pipeline options: %v", err)
}
- // (2) Invoke the Node entrypoint, passing the Fn API container contract info as flags.
+ // (2) Retrieve and install the staged packages.
+
+ dir := filepath.Join(*semiPersistDir, *id, "staged")
+ artifacts, err := artifact.Materialize(ctx, *artifactEndpoint, info.GetDependencies(), info.GetRetrievalToken(), dir)
+ if err != nil {
+ log.Fatalf("Failed to retrieve staged files: %v", err)
+ }
+
+ // Create a package.json that names given dependencies as overrides.
+ npmOverrides := make(map[string]string)
+ for _, v := range artifacts {
+ name, _ := artifact.MustExtractFilePayload(v)
+ path := filepath.Join(dir, name)
+ if v.RoleUrn == "beam:artifact:type:npm_dep:v1" {
+ // Npm cannot handle arbitrary suffixes.
+ suffixedPath := path + ".tar"
+ e := os.Rename(path, suffixedPath)
+ if e != nil {
+ log.Fatal(e)
+ }
+ npmOverrides[string(v.RolePayload)] = suffixedPath
+ }
+ }
+ if len(npmOverrides) > 0 {
Review Comment:
This handles the case where the "version" of the dependency is "file:some/path/on/the/user/machine." Notably, until we release official npms, and likely thereafter for development, this includes apache-beam itself.
##########
sdks/python/apache_beam/runners/dataflow/internal/apiclient.py:
##########
@@ -660,35 +665,42 @@ def _stage_resources(self, pipeline, options):
'Found duplicated artifact sha256: %s (%s)',
type_payload.path,
type_payload.sha256)
- staged_name = staged_hashes[type_payload.sha256]
- dep.role_payload = beam_runner_api_pb2.ArtifactStagingToRolePayload(
- staged_name=staged_name).SerializeToString()
+ remote_name = staged_hashes[type_payload.sha256]
+ if is_staged_role:
+ # We should not be overriding this, as dep.role_payload.staged_name
+ # refers to the desired name on the worker, whereas staged_name
+ # refers to its placement in a distributed filesystem.
Review Comment:
We're doing the wrong thing here per the spec, but I'm not sure if it's safe to change given Dataflow's expectations (especially if this is used in the Runner v1 case) so I'm leaving that as is. Good point about adding a TODO, dropping that here.
--
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
[GitHub] [beam] github-actions[bot] commented on pull request #22132: Support dependencies and remote registration in the typescript SDK.
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #22132:
URL: https://github.com/apache/beam/pull/22132#issuecomment-1172794215
Assigning reviewers. If you would like to opt out of this review, comment `assign to next reviewer`:
R: @AnandInguva for label python.
Available commands:
- `stop reviewer notifications` - opt out of the automated review tooling
- `remind me after tests pass` - tag the comment author after tests pass
- `waiting on author` - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)
The PR bot will only process comments in the main thread (not review comments).
--
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
[GitHub] [beam] codecov[bot] commented on pull request #22132: Support dependencies and remote registration in the typescript SDK.
Posted by GitBox <gi...@apache.org>.
codecov[bot] commented on PR #22132:
URL: https://github.com/apache/beam/pull/22132#issuecomment-1172746483
# [Codecov](https://codecov.io/gh/apache/beam/pull/22132?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#22132](https://codecov.io/gh/apache/beam/pull/22132?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (7f91cbf) into [master](https://codecov.io/gh/apache/beam/commit/52e1b3ff9e9b1c5067b59bbb8053f0bc53f9679f?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (52e1b3f) will **increase** coverage by `0.01%`.
> The diff coverage is `83.33%`.
```diff
@@ Coverage Diff @@
## master #22132 +/- ##
==========================================
+ Coverage 73.99% 74.01% +0.01%
==========================================
Files 703 703
Lines 92936 92995 +59
==========================================
+ Hits 68769 68826 +57
- Misses 22901 22903 +2
Partials 1266 1266
```
| Flag | Coverage Δ | |
|---|---|---|
| python | `83.59% <83.33%> (+0.01%)` | :arrow_up: |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#carryforward-flags-in-the-pull-request-comment) to find out more.
| [Impacted Files](https://codecov.io/gh/apache/beam/pull/22132?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...dks/python/apache\_beam/options/pipeline\_options.py](https://codecov.io/gh/apache/beam/pull/22132/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vb3B0aW9ucy9waXBlbGluZV9vcHRpb25zLnB5) | `94.76% <75.00%> (-0.20%)` | :arrow_down: |
| [...apache\_beam/runners/dataflow/internal/apiclient.py](https://codecov.io/gh/apache/beam/pull/22132/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9kYXRhZmxvdy9pbnRlcm5hbC9hcGljbGllbnQucHk=) | `77.34% <85.71%> (-0.05%)` | :arrow_down: |
| [.../python/apache\_beam/testing/test\_stream\_service.py](https://codecov.io/gh/apache/beam/pull/22132/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdGVzdGluZy90ZXN0X3N0cmVhbV9zZXJ2aWNlLnB5) | `88.09% <0.00%> (-4.77%)` | :arrow_down: |
| [...che\_beam/runners/interactive/interactive\_runner.py](https://codecov.io/gh/apache/beam/pull/22132/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9pbnRlcmFjdGl2ZS9pbnRlcmFjdGl2ZV9ydW5uZXIucHk=) | `90.06% <0.00%> (-1.33%)` | :arrow_down: |
| [...hon/apache\_beam/runners/worker/bundle\_processor.py](https://codecov.io/gh/apache/beam/pull/22132/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy93b3JrZXIvYnVuZGxlX3Byb2Nlc3Nvci5weQ==) | `93.30% <0.00%> (-0.38%)` | :arrow_down: |
| [sdks/python/apache\_beam/transforms/core.py](https://codecov.io/gh/apache/beam/pull/22132/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdHJhbnNmb3Jtcy9jb3JlLnB5) | `92.57% <0.00%> (ø)` | |
| [.../python/apache\_beam/typehints/trivial\_inference.py](https://codecov.io/gh/apache/beam/pull/22132/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdHlwZWhpbnRzL3RyaXZpYWxfaW5mZXJlbmNlLnB5) | `96.41% <0.00%> (ø)` | |
| [...thon/apache\_beam/ml/inference/pytorch\_inference.py](https://codecov.io/gh/apache/beam/pull/22132/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vbWwvaW5mZXJlbmNlL3B5dG9yY2hfaW5mZXJlbmNlLnB5) | `0.00% <0.00%> (ø)` | |
| [...am/examples/inference/pytorch\_language\_modeling.py](https://codecov.io/gh/apache/beam/pull/22132/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZXhhbXBsZXMvaW5mZXJlbmNlL3B5dG9yY2hfbGFuZ3VhZ2VfbW9kZWxpbmcucHk=) | `0.00% <0.00%> (ø)` | |
| ... and [7 more](https://codecov.io/gh/apache/beam/pull/22132/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/beam/pull/22132?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/beam/pull/22132?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [52e1b3f...7f91cbf](https://codecov.io/gh/apache/beam/pull/22132?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
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
[GitHub] [beam] robertwb commented on pull request #22132: Support dependencies and remote registration in the typescript SDK.
Posted by GitBox <gi...@apache.org>.
robertwb commented on PR #22132:
URL: https://github.com/apache/beam/pull/22132#issuecomment-1172730393
R: @damccorm
--
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
[GitHub] [beam] robertwb commented on a diff in pull request #22132: Support dependencies and remote registration in the typescript SDK.
Posted by GitBox <gi...@apache.org>.
robertwb commented on code in PR #22132:
URL: https://github.com/apache/beam/pull/22132#discussion_r917041980
##########
sdks/python/apache_beam/options/pipeline_options.py:
##########
@@ -348,12 +348,15 @@ def get_all_options(
del result[k]
if overrides:
- _LOGGER.warning("Discarding invalid overrides: %s", overrides)
+ if retain_unknown_options:
+ result.update(overrides)
Review Comment:
Correct, we need to keep things if we don't know (for sure) what the default is.
We can't easily consolidate because as well as things in `overrides` that don't work for `parser.get_default` (or at least are not safe to use the guessed default) there may be things already in `result` that are not in `overrides` that we want to remove because they have default values.
I agree this code is all very messy. Were I to do it again I would probably try better to detangle the argument parsing code from PipelineOptions.
--
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
[GitHub] [beam] damccorm commented on pull request #22132: Support dependencies and remote registration in the typescript SDK.
Posted by GitBox <gi...@apache.org>.
damccorm commented on PR #22132:
URL: https://github.com/apache/beam/pull/22132#issuecomment-1177568297
Run Python PreCommit
--
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
[GitHub] [beam] robertwb commented on a diff in pull request #22132: Support dependencies and remote registration in the typescript SDK.
Posted by GitBox <gi...@apache.org>.
robertwb commented on code in PR #22132:
URL: https://github.com/apache/beam/pull/22132#discussion_r915290698
##########
sdks/python/apache_beam/options/pipeline_options.py:
##########
@@ -348,12 +348,15 @@ def get_all_options(
del result[k]
if overrides:
- _LOGGER.warning("Discarding invalid overrides: %s", overrides)
+ if retain_unknown_options:
+ result.update(overrides)
Review Comment:
The difficulty is that the set of pipeline options is actually the union of what's in result and what's in overrides. Also, we don't necessarily know what the defaults are for values that don't come from flags.
--
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
[GitHub] [beam] TheNeuralBit commented on pull request #22132: Support dependencies and remote registration in the typescript SDK.
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on PR #22132:
URL: https://github.com/apache/beam/pull/22132#issuecomment-1192730687
I suspect that the change to pipeline options here broke Python load tests. First failure is here: https://ci-beam.apache.org/job/beam_LoadTests_Python_ParDo_Dataflow_Streaming/659/
With error log:
```
06:01:37 usage: pardo_test.py [-h] [--runner RUNNER] [--streaming]
06:01:37 [--resource_hint RESOURCE_HINTS]
06:01:37 [--beam_services BEAM_SERVICES]
06:01:37 [--type_check_strictness {ALL_REQUIRED,DEFAULT_TO_ANY}]
06:01:37 [--type_check_additional TYPE_CHECK_ADDITIONAL]
06:01:37 [--no_pipeline_type_check] [--runtime_type_check]
...
06:01:37 [--iterations ITERATIONS]
06:01:37 [--number_of_counter_operations NUMBER_OF_COUNTER_OPERATIONS]
06:01:37 [--number_of_counters=0 NUMBER_OF_COUNTERS=0]
06:01:37 pardo_test.py: error: argument --number_of_counters=0: expected one argument
06:01:37
06:01:37 > Task :sdks:python:apache_beam:testing:load_tests:run FAILED
```
I haven't root caused this yet. I'll keep digging myself, but if you have any insight it would be appreciated.
--
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
[GitHub] [beam] robertwb merged pull request #22132: Support dependencies and remote registration in the typescript SDK.
Posted by GitBox <gi...@apache.org>.
robertwb merged PR #22132:
URL: https://github.com/apache/beam/pull/22132
--
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
[GitHub] [beam] damccorm commented on a diff in pull request #22132: Support dependencies and remote registration in the typescript SDK.
Posted by GitBox <gi...@apache.org>.
damccorm commented on code in PR #22132:
URL: https://github.com/apache/beam/pull/22132#discussion_r915838753
##########
sdks/python/apache_beam/options/pipeline_options.py:
##########
@@ -348,12 +348,15 @@ def get_all_options(
del result[k]
if overrides:
- _LOGGER.warning("Discarding invalid overrides: %s", overrides)
+ if retain_unknown_options:
+ result.update(overrides)
Review Comment:
> Also, we don't necessarily know what the defaults are for values that don't come from flags.
I guess my point is, will we ever know what the defaults are? If so, its probably worth keeping?
I still think we could consolidate - even though the set of pipeline options is the union of result and overrides, we're only adding the overrides in the previous loop so I think `for k in overrides` would be valid in this case.
Regardless, its at most a small code cleanliness win (if that), so I'm good leaving it as is.
--
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