[
https://issues.apache.org/jira/browse/BEAM-10779?focusedWorklogId=478096&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-478096
]
ASF GitHub Bot logged work on BEAM-10779:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 02/Sep/20 19:59
Start Date: 02/Sep/20 19:59
Worklog Time Spent: 10m
Work Description: yifanmai commented on pull request #12655:
URL: https://github.com/apache/beam/pull/12655#issuecomment-685964258
Now I'm running into:
> Traceback (most recent call last):
> File "/tmp/license_scripts/pull_licenses_py.py", line 146, in <module>
raise RuntimeError(
>RuntimeError: Could not retrieve licences for packages ['pbr'] in Python3.8
environment.
> These licenses were not able to be pulled automatically. Please search
code source of the dependencies on the internet and add urls to RAW license
file at sdks/python/container/license_scripts/dep_urls_py.yaml for each missing
license and rerun the test. If no such urls can be found, you need to manually
add LICENSE and NOTICE (if available) files at
sdks/python/container/license_scripts/manual_licenses/{dep}/ and add entries to
sdks/python/container/license_scripts/dep_urls_py.yaml.
----------------------------------------------------------------
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: 478096)
Time Spent: 6h 10m (was: 6h)
> 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: 6h 10m
> 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)