#!/usr/bin/env python3
-# © Copyright 2021-2022, Scott Gasch
+# © Copyright 2022, Scott Gasch
"""Wrapper around US Census address geocoder API described here:
https://www2.census.gov/geo/pdfs/maps-data/data/Census_Geocoder_User_Guide.pdf"""
import logging
import re
-from typing import Dict, Optional
+from typing import Any, Dict, Optional
import requests
from bs4 import BeautifulSoup
logger = logging.getLogger(__name__)
-def geocode_address(address: str) -> Optional[Dict[str, str]]:
+def geocode_address(address: str) -> Optional[Dict[str, Any]]:
"""Send a single address to the US Census geocoding API.
>>> out = geocode_address('4600 Silver Hill Rd,, 20233')