Skip to content

Commit

Permalink
Typos and missconceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
dunkelstern committed Jul 14, 2022
1 parent dce61a8 commit 22a6cd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions osmgeocoder/geocoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Geocoder():

def __init__(self,
db:Optional[Dict[str, Any]]=None,
db_handle:Optional[psycopg2.connection]=None,
db_handle=None,
address_formatter_config:Optional[str]=None,
postal:Optional[Dict[str, Any]]=None
):
Expand All @@ -35,7 +35,7 @@ def __init__(self,
self.db = db_handle
self.formatter = AddressFormatter(config=address_formatter_config)

def _init_db(self, db_config:Dict[str, Any]) -> psycopg2.connection:
def _init_db(self, db_config:Dict[str, Any]):
connstring = []
for key, value in db_config.items():
connstring.append("{}={}".format(key, value))
Expand Down Expand Up @@ -137,7 +137,7 @@ def forward_structured(
"""
data = self.forward_structured_dict(
road=road,
house_number=house_number
house_number=house_number,
postcode=postcode,
city=city,
country=country,
Expand Down

0 comments on commit 22a6cd5

Please sign in to comment.