matkoniecz / osm_bot_abstraction_layer

OSM bot abstraction layer building upon osmapi, to make easier to automate edits without causing problems.
GNU Affero General Public License v3.0
13 stars 1 forks source link

Harcoded cases_where_human_help_is_required url #2

Open starsep opened 2 years ago

starsep commented 2 years ago

cases_where_human_help_is_required url is harcoded. I think it should be passed as optional argument. Example changeset: https://osm.org/changeset/120937817

Relevant code: https://github.com/matkoniecz/osm_bot_abstraction_layer/blob/153ab01fe2782dd4acedbba1ee5185ee3d7caa50/osm_bot_abstraction_layer/osm_bot_abstraction_layer.py#L33

matkoniecz commented 2 years ago

PRs are welcome

I guess that the best way to fix it is to make other_tags_dict able to override this and other tags set in that function.