From 1770695067a5dfd3402ec492ebb1c4ee51d8b282 Mon Sep 17 00:00:00 2001 From: Profitroll <47523801+profitrollgame@users.noreply.github.com> Date: Sat, 24 Sep 2022 11:40:18 +0200 Subject: [PATCH] Small classes inits and changes --- pyrmv/classes/Gis.py | 1 + pyrmv/classes/Product.py | 1 + pyrmv/classes/Ticket.py | 4 ++++ 3 files changed, 6 insertions(+) create mode 100644 pyrmv/classes/Ticket.py diff --git a/pyrmv/classes/Gis.py b/pyrmv/classes/Gis.py index bb3873b..9a1a558 100644 --- a/pyrmv/classes/Gis.py +++ b/pyrmv/classes/Gis.py @@ -1,6 +1,7 @@ from isodate import parse_duration class Gis(): + def __init__(self, ref: str, route: dict): self.ref = ref self.dist = route["dist"] diff --git a/pyrmv/classes/Product.py b/pyrmv/classes/Product.py index 20a631e..b19b967 100644 --- a/pyrmv/classes/Product.py +++ b/pyrmv/classes/Product.py @@ -1,3 +1,4 @@ class Product(): + def __init__(self): pass \ No newline at end of file diff --git a/pyrmv/classes/Ticket.py b/pyrmv/classes/Ticket.py new file mode 100644 index 0000000..3511fc4 --- /dev/null +++ b/pyrmv/classes/Ticket.py @@ -0,0 +1,4 @@ +class Ticket(): + + def __init__(self) -> None: + pass \ No newline at end of file