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