python-overpy icon indicating copy to clipboard operation
python-overpy copied to clipboard

.value() missed

Open okaka1221 opened this issue 4 years ago • 1 comments

https://github.com/DinoTools/python-overpy/blob/8aa4bafc8e9b336d4f8da7c993ca545494a0e5a9/overpy/init.py#L285

for element in other_collection_map[element_type]: should be for element in other_collection_map[element_type].values():

okaka1221 avatar Jan 05 '21 07:01 okaka1221

I had a look at your suggestion, but I think it is not correct the values in the dict other_collection_map are lists and lists don't have an attribute called values().

Why do you think values() should work. Maybe there is some other error?

phibos avatar Apr 27 '21 04:04 phibos