Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit 18d8a7d

Browse files
fix docs
1 parent 1fec5fa commit 18d8a7d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/source/here_location_services.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Submodules
1919
here_location_services.config.base_config
2020
here_location_services.config.autosuggest_config
2121
here_location_services.config.isoline_routing_config
22+
here_location_services.config.dest_weather_config
2223
here_location_services.config.routing_config
2324
here_location_services.config.matrix_routing_config
2425
here_location_services.config.search_config.rst
@@ -33,4 +34,4 @@ Submodules
3334
here_location_services.routing_api.rst
3435
here_location_services.utils
3536
here_location_services.platform
36-
here_location_services.destination_weather_api
37+
here_location_services.destination_weather_api.rst

here_location_services/ls.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ def get_dest_weather(
327327
) -> DestinationWeatherResponse:
328328
"""Retrieves weather reports, weather forecasts, severe weather alerts
329329
and moon and sun rise and set information.
330+
330331
:param products: List of :class:`DestWeatherProduct` identifying the type of
331332
report to obtain.
332333
:param at: A list of ``latitude`` and ``longitude`` specifying the area covered
@@ -345,6 +346,7 @@ def get_dest_weather(
345346
DEST_WEATHER_PRODUCT.observation in `products`
346347
:return: :class:`DestinationWeatherResponse` object.
347348
"""
349+
348350
if at is None and query is None and zipcode is None:
349351
raise ValueError("please provide either `at` or `query` or `zipcode`.")
350352
if "observation" not in products and one_observation:

0 commit comments

Comments
 (0)