mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
openapi: Fix typing for self.data.
This commit is contained in:
@@ -22,7 +22,7 @@ class OpenAPISpec():
|
|||||||
def __init__(self, path: str) -> None:
|
def __init__(self, path: str) -> None:
|
||||||
self.path = path
|
self.path = path
|
||||||
self.last_update = None # type: Optional[float]
|
self.last_update = None # type: Optional[float]
|
||||||
self.data = None
|
self.data = None # type: Optional[Dict[str, Any]]
|
||||||
|
|
||||||
def reload(self) -> None:
|
def reload(self) -> None:
|
||||||
# Because importing yamole (and in turn, yaml) takes
|
# Because importing yamole (and in turn, yaml) takes
|
||||||
|
|||||||
Reference in New Issue
Block a user