traveltime-dev / traveltime-python-sdk

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

Adding back MaxChanges to __init__.py #129

Closed arnasbr closed 3 months ago

arnasbr commented 3 months ago

https://github.com/traveltime-dev/traveltime-python-sdk/commit/4495253e12d84fdb6fd598971ef938a835c28f75#diff-ea67cbaf84c799a0cdde03342777b488b32824f2f7107e5cee354c3e35a5be04L11 In this PR, as pointed out to me by @SimonasJa, I removed MaxChanges from __init__.py, because the stricter type checking was complaining. This ended up leading to this error when trying to import it:

ImportError: cannot import name 'MaxChanges' from 'traveltimepy'

Instead of removing it, I should have fixed the missing import for MaxChanges.