Small docstring added

This commit is contained in:
Profitroll 2022-10-06 12:09:30 +02:00
parent 170b472ca4
commit 4fd566f7c4

View File

@ -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"]