From e3de9501478f1bb7310668058fcae99c448f7501 Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Mon, 9 Mar 2020 00:31:59 -0400 Subject: [PATCH] !fixup fields --- keyosk/_fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyosk/_fields.py b/keyosk/_fields.py index cc98eb6..1a5df46 100644 --- a/keyosk/_fields.py +++ b/keyosk/_fields.py @@ -96,7 +96,7 @@ class Epoch(msh.fields.Field): return int(value.replace(tzinfo=datetime.timezone.utc).timestamp()) return value - def _deserialize(self, value: int, attr, data, **kwargs) -> datetime: + def _deserialize(self, value: int, attr, data, **kwargs) -> datetime.datetime: """Deserialize an integer to a datetime object""" try: