diff --git a/CHANGELOG.md b/CHANGELOG.md index 995919121c..cd99103896 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ All notable changes to this project will be documented in this file. ### Enhancements made -- If ServerApp.ip is ipv6 use [::1] as local_url [#1495](https://github.com/jupyter-server/jupyter_server/pull/1495) ([@manics](https://github.com/manics)) +- If ServerApp.ip is ipv6 use \[::1\] as local_url [#1495](https://github.com/jupyter-server/jupyter_server/pull/1495) ([@manics](https://github.com/manics)) - Don't hide .so,.dylib files by default [#1457](https://github.com/jupyter-server/jupyter_server/pull/1457) ([@nokados](https://github.com/nokados)) - Add async start hook to ExtensionApp API [#1417](https://github.com/jupyter-server/jupyter_server/pull/1417) ([@Zsailer](https://github.com/Zsailer)) diff --git a/jupyter_server/kernelspecs/handlers.py b/jupyter_server/kernelspecs/handlers.py index c1d50660d2..650982c76d 100644 --- a/jupyter_server/kernelspecs/handlers.py +++ b/jupyter_server/kernelspecs/handlers.py @@ -16,7 +16,7 @@ class KernelSpecResourceHandler(web.StaticFileHandler, JupyterHandler): """A Kernelspec resource handler.""" - SUPPORTED_METHODS = ("GET", "HEAD") # type:ignore[assignment] + SUPPORTED_METHODS = ("GET", "HEAD") auth_resource = AUTH_RESOURCE def initialize(self): diff --git a/jupyter_server/nbconvert/handlers.py b/jupyter_server/nbconvert/handlers.py index 65d502f61a..d0a17ba99b 100644 --- a/jupyter_server/nbconvert/handlers.py +++ b/jupyter_server/nbconvert/handlers.py @@ -90,7 +90,7 @@ class NbconvertFileHandler(JupyterHandler): """An nbconvert file handler.""" auth_resource = AUTH_RESOURCE - SUPPORTED_METHODS = ("GET",) # type:ignore[assignment] + SUPPORTED_METHODS = ("GET",) @web.authenticated @authorized @@ -158,7 +158,7 @@ async def get(self, format, path): class NbconvertPostHandler(JupyterHandler): """An nbconvert post handler.""" - SUPPORTED_METHODS = ("POST",) # type:ignore[assignment] + SUPPORTED_METHODS = ("POST",) auth_resource = AUTH_RESOURCE @web.authenticated diff --git a/jupyter_server/services/contents/handlers.py b/jupyter_server/services/contents/handlers.py index ae160e6707..1eae0c2f9e 100644 --- a/jupyter_server/services/contents/handlers.py +++ b/jupyter_server/services/contents/handlers.py @@ -400,7 +400,7 @@ class NotebooksRedirectHandler(JupyterHandler): "PATCH", "POST", "DELETE", - ) # type:ignore[assignment] + ) @allow_unauthenticated def get(self, path):