File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -81,8 +81,8 @@ def _default_path_info(self):
8181class ServerProcess (Configurable ):
8282 name = Unicode (help = "Name of the server" ).tag (config = True )
8383
84- command = List (
85- Unicode (),
84+ command = Union (
85+ [ List ( Unicode ()), Callable ()] ,
8686 help = """
8787 An optional list of strings that should be the full command to be executed.
8888 The optional template arguments ``{port}``, ``{unix_socket}`` and ``{base_url}``
@@ -197,8 +197,8 @@ def _default_launcher_entry(self):
197197 """ ,
198198 ).tag (config = True )
199199
200- request_headers_override = Dict (
201- Unicode (),
200+ request_headers_override = Union (
201+ [ Dict ( Unicode ()), Callable ()] ,
202202 default_value = {},
203203 help = """
204204 A dictionary of additional HTTP headers for the proxy request. As with
You can’t perform that action at this time.
0 commit comments