Small docstring added
This commit is contained in:
parent
170b472ca4
commit
4fd566f7c4
@ -2,6 +2,8 @@ from pyrmv.classes.Stop import Stop
|
|||||||
from pyrmv.classes.Message import Message
|
from pyrmv.classes.Message import Message
|
||||||
|
|
||||||
class Journey():
|
class Journey():
|
||||||
|
"""Journey object."""
|
||||||
|
|
||||||
def __init__(self, data: dict):
|
def __init__(self, data: dict):
|
||||||
self.stops = []
|
self.stops = []
|
||||||
self.direction = data["Directions"]["Direction"][0]["value"]
|
self.direction = data["Directions"]["Direction"][0]["value"]
|
||||||
|
Loading…
Reference in New Issue
Block a user