Module Expr Str Import alias Import alias Assign NameStore Str FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Num keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str keyword Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list
N/A N/A 
This module implements simple helper functions for python samples
 N/A argparse N/A getpass N/A __author__ VMware, Inc. build_arg_parser N/A N/A N/A N/A N/A 
    Builds a standard argument parser with arguments for talking to vCenter

    -s service_host_name_or_ip
    -o optional_port_number
    -u required_user
    -p optional_password

     N/A parser N/A N/A argparse ArgumentParser description Standard Arguments for talking to vCenter N/A N/A N/A parser add_argument -s --host required True action store help vSphere service to connect to N/A N/A N/A parser add_argument -o --port type int default 443 action store help Port to connect on N/A N/A N/A parser add_argument -u --user required True action store help User name to use when connecting to host N/A N/A N/A parser add_argument -p --password required False action store help Password to use when connecting to host N/A parser N/A prompt_for_password N/A N/A args N/A N/A N/A 
    if no password is specified on the command line, prompt for it
     N/A N/A N/A args password N/A N/A N/A args password N/A N/A getpass getpass prompt N/A Enter password for host %s and user %s:  N/A N/A args host N/A args user N/A args N/A get_args N/A N/A N/A N/A N/A 
    Supports the command-line arguments needed to form a connection to vSphere.
     N/A parser N/A build_arg_parser N/A args N/A N/A parser parse_args N/A N/A prompt_for_password args N/A