[
https://issues.apache.org/jira/browse/BEAM-10779?focusedWorklogId=477965&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-477965
]
ASF GitHub Bot logged work on BEAM-10779:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 02/Sep/20 16:35
Start Date: 02/Sep/20 16:35
Worklog Time Spent: 10m
Work Description: codecov[bot] edited a comment on pull request #12655:
URL: https://github.com/apache/beam/pull/12655#issuecomment-683610461
# [Codecov](https://codecov.io/gh/apache/beam/pull/12655?src=pr&el=h1) Report
> Merging
[#12655](https://codecov.io/gh/apache/beam/pull/12655?src=pr&el=desc) into
[master](https://codecov.io/gh/apache/beam/commit/aa345dbeb9f6bdb36f5acf0fb8958777253acd51?el=desc)
will **decrease** coverage by `0.14%`.
> The diff coverage is `12.50%`.
[](https://codecov.io/gh/apache/beam/pull/12655?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #12655 +/- ##
==========================================
- Coverage 40.22% 40.07% -0.15%
==========================================
Files 454 454
Lines 53669 53980 +311
==========================================
+ Hits 21587 21634 +47
- Misses 32082 32346 +264
```
| [Impacted
Files](https://codecov.io/gh/apache/beam/pull/12655?src=pr&el=tree) | Coverage
Δ | |
|---|---|---|
|
[sdks/python/apache\_beam/pipeline.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcGlwZWxpbmUucHk=)
| `24.27% <12.50%> (+0.04%)` | :arrow_up: |
|
[.../runners/portability/fn\_api\_runner/translations.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9wb3J0YWJpbGl0eS9mbl9hcGlfcnVubmVyL3RyYW5zbGF0aW9ucy5weQ==)
| `14.00% <0.00%> (+0.22%)` | :arrow_up: |
|
[...beam/runners/interactive/background\_caching\_job.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9pbnRlcmFjdGl2ZS9iYWNrZ3JvdW5kX2NhY2hpbmdfam9iLnB5)
| `25.92% <0.00%> (+0.68%)` | :arrow_up: |
------
[Continue to review full report at
Codecov](https://codecov.io/gh/apache/beam/pull/12655?src=pr&el=continue).
> **Legend** - [Click here to learn
more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by
[Codecov](https://codecov.io/gh/apache/beam/pull/12655?src=pr&el=footer). Last
update
[aa345db...b998e25](https://codecov.io/gh/apache/beam/pull/12655?src=pr&el=lastupdated).
Read the [comment docs](https://docs.codecov.io/docs/pull-request-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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 477965)
Time Spent: 4h 40m (was: 4.5h)
> Support multiple main inputs and side inputs for PTransformOverride
> -------------------------------------------------------------------
>
> Key: BEAM-10779
> URL: https://issues.apache.org/jira/browse/BEAM-10779
> Project: Beam
> Issue Type: New Feature
> Components: sdk-py-core
> Reporter: Yifan Mai
> Assignee: Yifan Mai
> Priority: P2
> Time Spent: 4h 40m
> Remaining Estimate: 0h
>
> Currently, {{PTransformOverride}} only supports overriding {{PTransform}} s
> that have a [single
> input|https://github.com/apache/beam/blob/cfa448d121297398312d09c531258a72b413488b/sdks/python/apache_beam/pipeline.py#L311-L317].
> It would be useful to support multiple main inputs and side inputs as well.
> Proposal:
> * Introduce a new method {{PTransformOverride.get_replacement_inputs(self,
> applied_ptransform)}} that can be overridden by end users. This method will
> be called to get the inputs for the replacement PTransform.
> * The default implementation will return a tuple of all the main inputs in
> order, concatenated with the all the side inputs {{PValue}} s in order.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)