def add_osm_object(osm_type: str, osm_id: int, use_main_api: bool,
- options: MutableMapping[str, Any]) -> None:
+ options: MutableMapping[str, Any]) -> int:
""" Add or update a single OSM object from the latest version of the
API.
"""
options['import_data'] = get_url(base_url).encode('utf-8')
run_osm2pgsql(options)
+
+ return 0