class_docstr: Do not use this class explicitly.
  
  Instead you should construct its objects with special functions:
  `geocode()`, `geocode_cities()`, `geocode_counties()`, `geocode_states()`,
  `geocode_countries()`, `reverse_geocode()`.
class_docstr_tok: ["Do","not","use","this","class","explicitly",".","Instead","you","should","construct","its","objects","with","special","functions",":","`","geocode","(",")","`",",","`","geocode_cities","(",")","`",",","`","geocode_counties","(",")","`",",","`","geocode_states","(",")","`",",","`","geocode_countries","(",")","`",",","`","reverse_geocode","(",")","`","."]
docstr: Initialize self.
docstr_tok: ["Initialize","self","."]
code: def __init__(
      self, lon, lat, level: Optional[Union[str, LevelKind]], scope=None
  ):
      """Initialize self."""
  
      Geocoder.__init__(self)
  
      self._geocodes: Optional[Geocodes] = None
      self._request: ReverseGeocodingRequest = (
          RequestBuilder()
          .set_requested_payload(
              [
                  PayloadKind.centroids,
                  PayloadKind.poisitions,
                  PayloadKind.limits,
              ]
          )
          .set_request_kind(RequestKind.reverse)
          .set_reverse_coordinates(_to_coords(lon, lat))
          .set_level(_to_level_kind(level))
          .set_reverse_scope(_to_scope(scope))
          .build()
      )
  
imports: from collections import namedtuple
  from collections.abc import Iterable
  from typing import Union, List, Optional, Dict
  from pandas import Series
  from .geocodes import _to_level_kind, request_types, Geocodes, _raise_exception, _ensure_is_list
  from .gis.geocoding_service import GeocodingService
  from .gis.geometry import GeoRect, GeoPoint
  from .gis.request import RequestBuilder, GeocodingRequest, RequestKind, MapRegion, AmbiguityResolver, RegionQuery, LevelKind, IgnoringStrategyKind, PayloadKind, ReverseGeocodingRequest
  from .gis.response import Response, SuccessResponse
  from .type_assertion import assert_list_type
label_desc: Use image node_id 1 to create a new ReverseGeocoder object from inherited base classes: Geocoder with example: obj = ReverseGeocoder(lon, lat, level, scope)