summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-10-06 21:16:46 +0200
committerAki <please@ignore.pl>2022-10-06 21:16:46 +0200
commit2797c1474cf29321ac0ed78833e944441ecf8207 (patch)
tree1977b7f867c77ea227e4b94470f5a477de2aa07f
parentdd6b4eaa9bb22864ff38b3ec68c732b517122e04 (diff)
downloadwindy-2797c1474cf29321ac0ed78833e944441ecf8207.zip
windy-2797c1474cf29321ac0ed78833e944441ecf8207.tar.gz
windy-2797c1474cf29321ac0ed78833e944441ecf8207.tar.bz2
Renamed Endpoint to PointForecast
-rw-r--r--windy/__init__.py2
-rw-r--r--windy/point_forecast.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/windy/__init__.py b/windy/__init__.py
index cd9c67f..fdd2c3b 100644
--- a/windy/__init__.py
+++ b/windy/__init__.py
@@ -9,7 +9,7 @@ class Windy:
self.registry = registry
self.session = session or Session()
self.api = api
- self._point_forecast = point_forecast.Endpoint("/point-forecast/v2")
+ self._point_forecast = point_forecast.PointForecast("/point-forecast/v2")
def point_forecast(self, *args, **kwargs):
return self._point_forecast(self, *args, **kwargs)
diff --git a/windy/point_forecast.py b/windy/point_forecast.py
index 1f18c07..4c269fe 100644
--- a/windy/point_forecast.py
+++ b/windy/point_forecast.py
@@ -124,7 +124,7 @@ class Response:
@dataclass
-class Endpoint:
+class PointForecast:
path: str
def __call__(self, ctx, *args, **kwargs):