Getting error as "line 42, for key, value in config.items(): AttributeError: 'dict_values' object has no attribute 'items''

前端 未结 0 1287
执念已碎
执念已碎 2021-02-04 08:18

def config_to_properties(config): properties = OrderedDict()

for key, value in config.items():
    datatype = \'str\'

    # If value is a dictionary, looking for         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题