openapi: Fix typing for self.data.

This commit is contained in:
Wyatt Hoodes
2019-07-28 14:11:44 -10:00
committed by Tim Abbott
parent 45e37d16c3
commit ecb1b1a1e1

View File

@@ -22,7 +22,7 @@ class OpenAPISpec():
def __init__(self, path: str) -> None:
self.path = path
self.last_update = None # type: Optional[float]
self.data = None
self.data = None # type: Optional[Dict[str, Any]]
def reload(self) -> None:
# Because importing yamole (and in turn, yaml) takes