Mentions légales du service

Skip to content
Snippets Groups Projects
Commit fe1d4004 authored by ANDRADE-BARROSO Guillermo's avatar ANDRADE-BARROSO Guillermo
Browse files

fix type annotation

parent 8729c53a
No related branches found
No related tags found
1 merge request!49update implementation to be compatible with overleaf version 5.2.1
Pipeline #1226019 failed
......@@ -18,6 +18,7 @@ from typing import (
Tuple,
Type,
Union,
Dict,
)
from typing import cast as typing_cast
......@@ -64,6 +65,8 @@ class Update(TypedDict):
docs: Sequence[str]
meta: UpdateMeta
pathnames: Sequence[str]
project_ops: Dict
class UpdateDatum(TypedDict):
......@@ -736,7 +739,7 @@ class SyncClient:
storage = threading.local()
storage.is_data = False
def on_joint_project(*args) -> None:
def on_joint_project(*args: Any) -> None:
logger.debug("[socketIO] join project ok")
storage.project_data = args[0]["project"]
storage.is_data = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment