[ 
https://issues.apache.org/jira/browse/BEAM-10779?focusedWorklogId=476690&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-476690
 ]

ASF GitHub Bot logged work on BEAM-10779:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Aug/20 17:10
            Start Date: 31/Aug/20 17:10
    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/12711bbdaadb41b37b9c16f59f63adc8f2d59ae6?el=desc)
 will **decrease** coverage by `3.47%`.
   > The diff coverage is `22.22%`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/beam/pull/12655/graphs/tree.svg?width=650&height=150&src=pr&token=qcbbAh8Fj1)](https://codecov.io/gh/apache/beam/pull/12655?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #12655      +/-   ##
   ==========================================
   - Coverage   40.22%   36.74%   -3.48%     
   ==========================================
     Files         454     1138     +684     
     Lines       53669   135219   +81550     
     Branches        0     9182    +9182     
   ==========================================
   + Hits        21587    49692   +28105     
   - Misses      32082    85106   +53024     
   - Partials        0      421     +421     
   ```
   
   
   | [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% <22.22%> (+0.04%)` | :arrow_up: |
   | 
[io/source\_test\_utils.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-aW8vc291cmNlX3Rlc3RfdXRpbHMucHk=)
 | `16.21% <0.00%> (ø)` | |
   | 
[examples/complete/game/leader\_board.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-ZXhhbXBsZXMvY29tcGxldGUvZ2FtZS9sZWFkZXJfYm9hcmQucHk=)
 | `38.94% <0.00%> (ø)` | |
   | 
[testing/load\_tests/combine\_test.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-dGVzdGluZy9sb2FkX3Rlc3RzL2NvbWJpbmVfdGVzdC5weQ==)
 | `54.16% <0.00%> (ø)` | |
   | 
[io/kafka.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-aW8va2Fma2EucHk=)
 | `85.71% <0.00%> (ø)` | |
   | 
[internal/gcp/json\_value.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-aW50ZXJuYWwvZ2NwL2pzb25fdmFsdWUucHk=)
 | `16.66% <0.00%> (ø)` | |
   | 
[...mples/snippets/transforms/aggregation/mean\_test.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-ZXhhbXBsZXMvc25pcHBldHMvdHJhbnNmb3Jtcy9hZ2dyZWdhdGlvbi9tZWFuX3Rlc3QucHk=)
 | `70.00% <0.00%> (ø)` | |
   | 
[runners/portability/local\_job\_service\_test.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-cnVubmVycy9wb3J0YWJpbGl0eS9sb2NhbF9qb2Jfc2VydmljZV90ZXN0LnB5)
 | `36.84% <0.00%> (ø)` | |
   | 
[runners/interactive/testing/pipeline\_assertion.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-cnVubmVycy9pbnRlcmFjdGl2ZS90ZXN0aW5nL3BpcGVsaW5lX2Fzc2VydGlvbi5weQ==)
 | `25.92% <0.00%> (ø)` | |
   | ... and [676 
more](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree-more) | |
   
   ------
   
   [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...2b951cb](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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 476690)
    Time Spent: 2h  (was: 1h 50m)

> 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: 2h
>  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)

Reply via email to