feat: Added notes creation, view and deletion, added route planning, added location list with current weather and nearby locations, code improvements and fixes

This commit is contained in:
ITQ
2024-03-26 07:49:50 +03:00
parent 65719a61ef
commit 88dfe1704d
24 changed files with 1571 additions and 301 deletions
+1 -2
View File
@@ -1,5 +1,5 @@
# type: ignore
__all__ = ("validate_country", "validate_city", "get_location_by_name")
__all__ = ("get_location_by_name", "validate_country", "validate_city")
from geopy.exc import GeocoderTimedOut
from geopy.geocoders import Nominatim
@@ -81,7 +81,6 @@ def get_location_by_name(location: str) -> None:
try:
geocode = geolocator.geocode(
location,
featuretype="city",
)
break
except GeocoderTimedOut: