AnandInguva commented on a change in pull request #16633:
URL: https://github.com/apache/beam/pull/16633#discussion_r799601773



##########
File path: sdks/python/apache_beam/options/pipeline_options.py
##########
@@ -1053,7 +1053,21 @@ def _add_argparse_args(cls, parser):
         default=None,
         help=(
             'Path to a folder to cache the packages specified in '
-            'the requirements file using the --requirements_file option.'))
+            'the requirements file using the --requirements_file option.'
+            'If you want to skip populating requirements cache, please '
+            'specify --requirements_cache skip. This would install all'
+            'the packages from requirements file on the worker.'))
+    parser.add_argument(
+        '--requirements_cache_only_sources',
+        action='store_true',
+        help=(
+            'Enable this flag to populate requirements cache with Source'
+            'distributions(sdists) of the dependencies mentioned in the '
+            '--requirements_file'
+            'Note: This step would slow down the worker startup time'

Review comment:
       Added BEAM-4032, since it has the discussion thread, and comments on 
this issue




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to