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