AnandInguva commented on pull request #16715:
URL: https://github.com/apache/beam/pull/16715#issuecomment-1030565963


   I looked at the `ArgumentParser` and how it stores attributes information 
provided through `parser.add_argument`. 
   
   So the `ArgumentParser` has a list `_action` which stores all the 
information. We can retrieve this like this: `parser._actions`.  This list 
would have all the information we need to maintain consistency. 
   
   But assuming this as an internal data structure of the argparse and due to 
lack of documentation on this, I thought it would not be wise to use it. But I 
would like to put this out as well. 
   
   @tvalentyn 


-- 
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