()
return at.build_arg_parser(parents=parents)
Get the app's parser, have it inherit from this parser
    (which may inherit from other parsers)
    Return the a new parser that inherits from app's parser,
    from this parser, and implicitly from this parser's parents (if it has any)

    I'm doing this so that python spark apps can have a simple, standard design
Get the app's parser, have it inherit from this parser
    (which may inherit from other parsers)
    Return the a new parser that inherits from app's parser,
    from this parser, and implicitly from this parser's parents (if it has any)
Get the app s parser have it inherit from this parser ( which may inherit from other parsers ) Return the a new parser that inherits from app s parser from this parser and implicitly from this parser s parents ( if it has any )
def build_arg_parser():
    """
    Get the app's parser, have it inherit from this parser
    (which may inherit from other parsers)
    Return the a new parser that inherits from app's parser,
    from this parser, and implicitly from this parser's parents (if it has any)

    I'm doing this so that python spark apps can have a simple, standard design
    """
    parents = [_build_arg_parser()]

    _ns, _ = parents[0].parse_known_args()
    _app = get_pymodule(_ns.app_name)
    if hasattr(_app, 'build_arg_parser'):
        parents.append(
            _app.build_arg_parser()
        )
    return at.build_arg_parser(parents=parents)
def build_arg_parser ( ) : parents = [ _build_arg_parser ( ) ] _ns , _ = parents [ 0 ] . parse_known_args ( ) _app = get_pymodule ( _ns . app_name ) if hasattr ( _app , 'build_arg_parser' ) : parents . append ( _app . build_arg_parser ( ) ) return at . build_arg_parser ( parents = parents )