(cls, key, search_type=None)
return map
this is more like an ordered map
this is more like an ordered map
this is more like an ordered map
def get_map_by_key(cls, key, search_type=None):
        ''' this is more like an ordered map'''
        seq = []
        map = []
        value = cls.get_value_by_key(key, search_type)
        if value:
            seq = value.split("|")
        for item in seq:
            try:
                key, value = item.split(':')
                map.append((key, value))
            except Exception as e:
                raise TacticException('ProdSettings should be formated like &lt;key1&gt;:&lt;value1&gt;|&lt;key2&gt;:&lt;value2&gt;|...')
        return map
def get_map_by_key ( cls , key , search_type = None ) : seq = [ ] map = [ ] value = cls . get_value_by_key ( key , search_type ) if value : seq = value . split ( "|" ) for item in seq : try : key , value = item . split ( ':' ) map . append ( ( key , value ) ) except Exception as e : raise TacticException ( 'ProdSettings should be formated like &lt;key1&gt;:&lt;value1&gt;|&lt;key2&gt;:&lt;value2&gt;|...' ) return map