From 6c84bab7d7bec47add5782402f6ca7cae4bcad39 Mon Sep 17 00:00:00 2001 From: Helldragon67 Date: Sat, 7 Dec 2024 16:04:47 +0100 Subject: [PATCH] cls to self --- backend/src/structs/trip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/structs/trip.py b/backend/src/structs/trip.py index c00f591..7042567 100644 --- a/backend/src/structs/trip.py +++ b/backend/src/structs/trip.py @@ -25,7 +25,7 @@ class Trip(BaseModel): @classmethod - def from_linked_landmarks(cls, landmarks: LinkedLandmarks, cache_client: Client) -> "Trip": + def from_linked_landmarks(self, landmarks: LinkedLandmarks, cache_client: Client) -> "Trip": """ Initialize a new Trip object and ensure it is stored in the cache. """