(group, parser)
return option_group
Return an OptionGroup object
    group  -- assumed to be dict with 'name' and 'options' keys
    parser -- an optparse Parser
Return an OptionGroup object
    group  -- assumed to be dict with 'name' and 'options' keys
    parser -- an optparse Parser
Return an OptionGroup object group -- assumed to be dict with name and options keys parser -- an optparse Parser
def make_option_group(group, parser):
    # type: (Dict[str, Any], ConfigOptionParser) -> OptionGroup
    """
    Return an OptionGroup object
    group  -- assumed to be dict with 'name' and 'options' keys
    parser -- an optparse Parser
    """
    option_group = OptionGroup(parser, group['name'])
    for option in group['options']:
        option_group.add_option(option())
    return option_group
def make_option_group ( group , parser ) : # type: (Dict[str, Any], ConfigOptionParser) -> OptionGroup option_group = OptionGroup ( parser , group [ 'name' ] ) for option in group [ 'options' ] : option_group . add_option ( option ( ) ) return option_group