From 4fd566f7c48bee1b69482b4ec6fa93a6e13aad50 Mon Sep 17 00:00:00 2001 From: profitroll Date: Thu, 6 Oct 2022 12:09:30 +0200 Subject: [PATCH] Small docstring added --- pyrmv/classes/Journey.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyrmv/classes/Journey.py b/pyrmv/classes/Journey.py index 7efb2de..bb9dc12 100644 --- a/pyrmv/classes/Journey.py +++ b/pyrmv/classes/Journey.py @@ -2,6 +2,8 @@ from pyrmv.classes.Stop import Stop from pyrmv.classes.Message import Message class Journey(): + """Journey object.""" + def __init__(self, data: dict): self.stops = [] self.direction = data["Directions"]["Direction"][0]["value"]