Changed imports

This commit is contained in:
Profitroll 2023-11-24 12:35:51 +01:00
parent f31fa65d78
commit 7b9367c0a7
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2
3 changed files with 21 additions and 14 deletions

View File

@ -25,6 +25,5 @@ __version__ = "0.3.6"
__license__ = "MIT License" __license__ = "MIT License"
__author__ = "Profitroll" __author__ = "Profitroll"
from . import const, enums, errors, raw, utility from . import classes, const, enums, errors, raw, utility
from .classes import * from .classes.client import Client
from .classes.Client import Client

View File

@ -1,16 +1,24 @@
from datetime import datetime, timedelta from datetime import datetime, timedelta
from typing import List, OrderedDict, Union from typing import List, OrderedDict, Union
from pyrmv.classes import * from pyrmv.classes import (
BoardArrival,
BoardDeparture,
Journey,
Message,
Stop,
StopTrip,
Trip,
)
from pyrmv.enums import * from pyrmv.enums import *
from pyrmv.raw import board_arrival as raw_board_arrival from pyrmv.raw import board_arrival as raw_board_arrival
from pyrmv.raw.board_departure import board_departure as raw_board_departure from pyrmv.raw import board_departure as raw_board_departure
from pyrmv.raw.him_search import him_search as raw_him_search from pyrmv.raw import him_search as raw_him_search
from pyrmv.raw.journey_detail import journey_detail as raw_journey_detail from pyrmv.raw import journey_detail as raw_journey_detail
from pyrmv.raw.stop_by_coords import stop_by_coords as raw_stop_by_coords from pyrmv.raw import stop_by_coords as raw_stop_by_coords
from pyrmv.raw.stop_by_name import stop_by_name as raw_stop_by_name from pyrmv.raw import stop_by_name as raw_stop_by_name
from pyrmv.raw.trip_find import trip_find as raw_trip_find from pyrmv.raw import trip_find as raw_trip_find
from pyrmv.raw.trip_recon import trip_recon as raw_trip_recon from pyrmv.raw import trip_recon as raw_trip_recon
from pyrmv.utility import find_exception from pyrmv.utility import find_exception
try: try:

View File

@ -1,4 +1,4 @@
class Ticket(): class Ticket:
""" """
{ {
"externalContent": { "externalContent": {