We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2303dcd commit b33e2c1Copy full SHA for b33e2c1
mapswipe_workers/mapswipe_workers/utils/api_calls.py
@@ -51,11 +51,7 @@ def chunks(arr, n_objects):
51
52
def query_osm(changeset_ids: list, changeset_results):
53
"""Get data from changesetId."""
54
- id_string = ""
55
- for id in changeset_ids:
56
- id_string += f"{id},"
57
-
58
- id_string = id_string[:-1]
+ id_string = ",".join(map(str, changeset_ids))
59
60
url = OSM_API_LINK + f"changesets?changesets={id_string}"
61
response = retry_get(url)
0 commit comments