cls to self

This commit is contained in:
Helldragon67 2024-12-07 16:04:47 +01:00
parent a4c435c398
commit 6c84bab7d7

@ -25,7 +25,7 @@ class Trip(BaseModel):
@classmethod @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. Initialize a new Trip object and ensure it is stored in the cache.
""" """