Skip to content

Commit

Permalink
refactor: cleanup http basic auth reference in DatabaseAccess
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Feb 9, 2024
1 parent f2e45af commit ec35c6a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions osm_rawdata/postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,6 @@ def __init__(
self.dbcursor = None
self.uri = uriParser(dburi)
if self.uri["dbname"] == "underpass":
# Authentication data
# self.auth = HTTPBasicAuth(self.user, self.passwd)

# Use a persistant connect, better for multiple requests
self.session = requests.Session()
self.url = os.getenv("UNDERPASS_API_URL", "https://api-prod.raw-data.hotosm.org/v1")
Expand Down

0 comments on commit ec35c6a

Please sign in to comment.