Base Geocoder: remove _parse_json method
Base Geocoder class doesn't contain any reference to this method.
Also derived classes tend to change signature of this method,
basically breaking the whole point of overriding.
Therefore I believe that keeping _parse_json in the base Geocoder
class is more harm than good.
@@ -112,12 +112,6 @@ class Geocoder(object): # pylint: disable=R0921
else: # pragma: no cover
raise ValueError("Invalid point")
- def _parse_json(self, page, exactly_one): # pragma: no cover
- """
- Template for subclasses
- """
- raise NotImplementedError()
-
def _call_geocoder(
self,
url,
