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):
79
79
class ServerProcess (Configurable ):
80
80
name = Unicode (help = "Name of the server" ).tag (config = True )
81
81
82
- command = List (
83
- Unicode (),
82
+ command = Union (
83
+ [ List ( Unicode ()), Callable ()] ,
84
84
help = """
85
85
An optional list of strings that should be the full command to be executed.
86
86
The optional template arguments ``{port}``, ``{unix_socket}`` and ``{base_url}``
@@ -195,8 +195,8 @@ def _default_launcher_entry(self):
195
195
""" ,
196
196
).tag (config = True )
197
197
198
- request_headers_override = Dict (
199
- Unicode (),
198
+ request_headers_override = Union (
199
+ [ Dict ( Unicode ()), Callable ()] ,
200
200
default_value = {},
201
201
help = """
202
202
A dictionary of additional HTTP headers for the proxy request. As with
You can’t perform that action at this time.
0 commit comments