Skip to content

Commit

Permalink
Merge pull request #292 from rstudio/tdstein/resolve-linting-error
Browse files Browse the repository at this point in the history
Resolves MyPy errors
  • Loading branch information
tdstein authored Oct 16, 2023
2 parents c2a006a + 7359229 commit 81a92c1
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 81a92c1

Please sign in to comment.