Base Geocoder: remove the abstract `geocode` and `reverse` methods
There's little point in their existence.
1. The specific `geocode`/`reverse` methods almost always have
a different signature
2. Some geocoders don't even have a `reverse` method.
3. Some have other methods, such as `reverse_timezone`.
@@ -368,14 +368,8 @@ class Geocoder:
exc_info=True)
return None
- def geocode(self, query, *, exactly_one=True, timeout=DEFAULT_SENTINEL):
- """
- Implemented in subclasses.
- """
- raise NotImplementedError()
+ # def geocode(self, query, *, exactly_one=True, timeout=DEFAULT_SENTINEL):
+ # raise NotImplementedError()
- def reverse(self, query, *, exactly_one=True, timeout=DEFAULT_SENTINEL):
- """
- Implemented in subclasses.
- """
- raise NotImplementedError()
+ # def reverse(self, query, *, exactly_one=True, timeout=DEFAULT_SENTINEL):
+ # raise NotImplementedError()
