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 @@ -79,8 +79,8 @@ def _default_path_info(self):
7979class ServerProcess (Configurable ):
8080 name = Unicode (help = "Name of the server" ).tag (config = True )
8181
82- command = List (
83- Unicode (),
82+ command = Union (
83+ [ List ( Unicode ()), Callable ()] ,
8484 help = """
8585 An optional list of strings that should be the full command to be executed.
8686 The optional template arguments ``{port}``, ``{unix_socket}`` and ``{base_url}``
@@ -195,8 +195,8 @@ def _default_launcher_entry(self):
195195 """ ,
196196 ).tag (config = True )
197197
198- request_headers_override = Dict (
199- Unicode (),
198+ request_headers_override = Union (
199+ [ Dict ( Unicode ()), Callable ()] ,
200200 default_value = {},
201201 help = """
202202 A dictionary of additional HTTP headers for the proxy request. As with
You can’t perform that action at this time.
0 commit comments