Make MyPy happy
All threads resolved!
All threads resolved!
Compare changes
- karp authored
According to mypy the previous annotation violated the LSP. We now use the types of the supertype method and return a datetime object only if the argument was a datetime-object.
+ 3
− 1
@@ -26,7 +26,9 @@ class Uuid(types.TypeDecorator):