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

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

                Author: ASF GitHub Bot
            Created on: 06/Apr/20 17:30
            Start Date: 06/Apr/20 17:30
    Worklog Time Spent: 10m 
      Work Description: pabloem commented on pull request #11312: [BEAM-9577] 
Plumb resources through Python job service and runner.
URL: https://github.com/apache/beam/pull/11312#discussion_r403385311
 
 

 ##########
 File path: 
sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py
 ##########
 @@ -716,6 +716,15 @@ def __init__(self,
     self.artifact_staging_dir = artifact_staging_dir
     self.job_name = job_name
 
+  def for_environment(self, env):
+    if env.dependencies:
+      provision_info_with_deps = self.provision_info.copy()
+      provision_info_with_deps.dependencies = env.dependencies
+      return ExtendedProvisionInfo(
+          provision_info_with_deps, artifact_staging_dir, job_name)
 
 Review comment:
   `self.artifact_staging_dir` and `self.job_name`?
 
----------------------------------------------------------------
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: 416785)
    Time Spent: 12.5h  (was: 12h 20m)

> Update artifact staging and retrieval protocols to be dependency aware.
> -----------------------------------------------------------------------
>
>                 Key: BEAM-9577
>                 URL: https://issues.apache.org/jira/browse/BEAM-9577
>             Project: Beam
>          Issue Type: Improvement
>          Components: beam-model
>            Reporter: Robert Bradshaw
>            Assignee: Robert Bradshaw
>            Priority: Major
>          Time Spent: 12.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to