traveltime-dev / traveltime-python-sdk

TravelTime SDK for Python programming language
https://docs.traveltime.com/
MIT License
20 stars 5 forks source link

Refactor python sdk so that it's not possible to mix up departure and arrival times #99

Open arnasbr opened 1 year ago

arnasbr commented 1 year ago

For now arrival and departure times are both simply datetimes. Accidentally mixing them up will result in the user getting the wrong type of search in their response.

arnasbr commented 1 year ago

https://github.com/traveltime-dev/traveltime-python-sdk/pull/101

arnasbr commented 8 months ago

Currently it's still possible to mix them up. This will maybe be fixed in the future with a larger rework