Skip to content

Commit

Permalink
Modifies type declarations to resolve mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
tdstein authored and mmarchetti committed Oct 16, 2023
1 parent 00ba569 commit f785ac8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import shlex
import subprocess
from urllib.parse import urlparse
from typing import Set, Dict, Tuple
from typing import Set, Dict, Tuple, Any

from jupyter_server.base.handlers import APIHandler
from jupyter_server.utils import url_path_join
Expand All @@ -14,7 +14,7 @@
from tornado.httputil import HTTPServerRequest
from tornado.web import authenticated

base_url = None
base_url: str = ""
EXECUTABLE = "connect-client"

known_ports: Set[int] = set()
Expand All @@ -26,7 +26,7 @@ class PublishHandler(APIHandler):
def post(self) -> None:
"""post initiates the publishing process. Details TBD."""
self.log.info("Launching publishing UI")
data: Dict[str, str] = self.get_json_body()
data: Any = self.get_json_body()
notebookPath = os.path.abspath(data["notebookPath"])
pythonPath = data["pythonPath"]
pythonVersion = data["pythonVersion"]
Expand Down

0 comments on commit f785ac8

Please sign in to comment.