Compare commits
1 Commits
dev
...
b4273ed894
Author | SHA1 | Date | |
---|---|---|---|
b4273ed894 |
@@ -1,3 +1,3 @@
|
||||
requests~=2.32.3
|
||||
xmltodict~=0.15.0
|
||||
xmltodict~=0.14.0
|
||||
isodate~=0.7.0
|
@@ -1,10 +1,10 @@
|
||||
black~=25.1.0
|
||||
isort==5.13.2
|
||||
mypy~=1.17.0
|
||||
pylint==3.3.8,<3.4.0
|
||||
pytest-cov~=6.3.0
|
||||
pytest~=8.4.0
|
||||
tox==4.30.2
|
||||
mypy~=1.15.0
|
||||
pylint==3.3.7,<3.4.0
|
||||
pytest-cov~=6.1.0
|
||||
pytest~=8.3.2
|
||||
tox==4.25.0
|
||||
types-ujson~=5.10.0.20240515
|
||||
|
||||
# Disabled async libraries for now
|
||||
|
@@ -1,2 +1,2 @@
|
||||
build==1.3.0
|
||||
twine~=6.2.0
|
||||
build==1.2.2.post1
|
||||
twine~=6.1.0
|
||||
|
@@ -1 +1 @@
|
||||
ujson~=5.11.0
|
||||
ujson~=5.10.0
|
@@ -21,7 +21,7 @@ trip = client.trip_find(origin_id=origin.id, dest_id=destination.id)
|
||||
"""
|
||||
|
||||
__name__ = "pyrmv"
|
||||
__version__ = "0.5.0"
|
||||
__version__ = "0.4.0"
|
||||
__license__ = "MIT License"
|
||||
__author__ = "Profitroll"
|
||||
|
||||
|
@@ -81,10 +81,8 @@ class Message:
|
||||
f"{data['validToDate']} {data['validToTime']}", "%Y-%m-%d %H:%M:%S"
|
||||
)
|
||||
)
|
||||
self.date_start_alt: Union[str, None] = (
|
||||
None if "altStart" not in data else data["altStart"]
|
||||
)
|
||||
self.date_end_alt: Union[str, None] = None if "altEnd" not in data else data["altEnd"]
|
||||
self.date_start_alt: str = data["altStart"]
|
||||
self.date_end_alt: str = data["altEnd"]
|
||||
self.time_modified: Union[datetime, None] = (
|
||||
None
|
||||
if "modDate" not in data or "modTime" not in data
|
||||
|
Reference in New Issue
Block a user