From 1da0b400d57a8d87036061db80de6a663075fbd7 Mon Sep 17 00:00:00 2001 From: Alexander Tikhonov Date: Sat, 15 Feb 2020 11:20:54 +0300 Subject: [PATCH] Fix type hint --- mashumaro/serializer/base/metaprogramming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mashumaro/serializer/base/metaprogramming.py b/mashumaro/serializer/base/metaprogramming.py index 20bd6350..d81c935b 100644 --- a/mashumaro/serializer/base/metaprogramming.py +++ b/mashumaro/serializer/base/metaprogramming.py @@ -38,7 +38,7 @@ def __init__(self, cls): self.cls = cls self.lines = None # type: typing.Optional[typing.List[str]] self.modules = None # type: typing.Optional[typing.Set[str]] - self.globals = None # type: typing.Set[str] + self.globals = None # type: typing.Optional[typing.Set[str]] self._current_indent = None # type: typing.Optional[str] def reset(self):