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
− 3
@@ -28,15 +28,15 @@ class UtcDateTime(types.TypeDecorator):