Skip to content

Commit

Permalink
STYLE: NAV-150 - Remove some mypy type issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
clukas1 committed Aug 23, 2024
1 parent 5b73177 commit 3bfb644
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions public_transit_viewer/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def get_client() -> PublicTransitClient:
else:
raise ValueError("NAVIQORE_HOST_URL not found in .env file or env")

assert service_host is not None
LOG.info("Binding client to service at %s", service_host)
return PublicTransitClient(service_host)

Expand Down
2 changes: 1 addition & 1 deletion public_transit_viewer/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import streamlit as st
from public_transit_client.model import Connection
from streamlit_searchbox import st_searchbox
from streamlit_searchbox import st_searchbox # type: ignore

from public_transit_viewer import LOGO_PATH
from public_transit_viewer.client import get_connections, get_stop_suggestions
Expand Down

0 comments on commit 3bfb644

Please sign in to comment.