ashb commented on issue #4174: [AIRFLOW-571] Airflow CLI: add gunicorn_config 
param and refactor webserver cli function
URL: 
https://github.com/apache/incubator-airflow/pull/4174#issuecomment-437956913
 
 
   I would probably take a look at 
https://docs.python.org/2/library/argparse.html#partial-parsing instead of 
using it as a single string:
   
   > Sometimes a script may only parse a few of the command-line arguments, 
passing the remaining arguments on to another script or program. In these 
cases, the parse_known_args() method can be useful. It works much like 
parse_args() except that it does not produce an error when extra arguments are 
present. Instead, it returns a two item tuple containing the populated 
namespace and the list of remaining argument strings.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to