summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):