Skip to content

Commit 8058889

Browse files
committed
Add *args
1 parent 5e0ab5d commit 8058889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_gateway/mixins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def set_default_headers(self):
3737
# Don't set CSP: we're not serving frontend media types only JSON
3838
self.clear_header('Content-Security-Policy')
3939

40-
def options(self, **kwargs):
40+
def options(self, *args, **kwargs):
4141
"""Override the notebook implementation to return the headers
4242
configured in `set_default_headers instead of the hardcoded set
4343
supported by the handler base class in the notebook project.

0 commit comments

Comments
 (0)