Compare commits
7 Commits
b4273ed894
...
master
Author | SHA1 | Date | |
---|---|---|---|
5082b803a0 | |||
01d6831de0
|
|||
00a772cb6a | |||
6ade6f7554
|
|||
387565605e | |||
78de092a45 | |||
860ecadb88 |
@@ -3,6 +3,15 @@
|
||||
"extends": [
|
||||
"config:base"
|
||||
],
|
||||
"baseBranches": [
|
||||
"dev"
|
||||
],
|
||||
"pip_requirements": {
|
||||
"fileMatch": [
|
||||
"requirements/.*\\.txt$"
|
||||
],
|
||||
"enabled": true
|
||||
},
|
||||
"packageRules": [
|
||||
{
|
||||
"matchUpdateTypes": [
|
||||
|
@@ -21,7 +21,7 @@ trip = client.trip_find(origin_id=origin.id, dest_id=destination.id)
|
||||
"""
|
||||
|
||||
__name__ = "pyrmv"
|
||||
__version__ = "0.4.0"
|
||||
__version__ = "0.5.0"
|
||||
__license__ = "MIT License"
|
||||
__author__ = "Profitroll"
|
||||
|
||||
|
@@ -81,8 +81,10 @@ class Message:
|
||||
f"{data['validToDate']} {data['validToTime']}", "%Y-%m-%d %H:%M:%S"
|
||||
)
|
||||
)
|
||||
self.date_start_alt: str = data["altStart"]
|
||||
self.date_end_alt: str = data["altEnd"]
|
||||
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.time_modified: Union[datetime, None] = (
|
||||
None
|
||||
if "modDate" not in data or "modTime" not in data
|
||||
|
Reference in New Issue
Block a user