We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e88596c commit a91c53fCopy full SHA for a91c53f
app/routers/weather_forecast.py renamed to app/internal/weather_forecast.py
@@ -46,6 +46,8 @@ def validate_date_input(requested_date):
46
def freezeargs(func):
47
"""Transform mutable dictionary into immutable
48
Credit to 'fast_cen' from 'stackoverflow'
49
+ https://stackoverflow.com/questions/6358481/
50
+ using-functools-lru-cache-with-dictionary-arguments
51
"""
52
@functools.wraps(func)
53
def wrapped(*args, **kwargs):
tests/test_weather_forecast.py
@@ -3,7 +3,7 @@
3
import requests
4
import responses
5
6
-from app.routers.weather_forecast import get_weather_data
+from app.internal.weather_forecast import get_weather_data
7
8
9
HISTORY_URL = "https://visual-crossing-weather.p.rapidapi.com/history"
0 commit comments