Show More
@@ -165,7 +165,7 b' class Exporter(Configurable):' | |||
|
165 | 165 | return Config() |
|
166 | 166 | |
|
167 | 167 | |
|
168 |
def from_notebook_node(self, nb, resources= |
|
|
168 | def from_notebook_node(self, nb, resources=None, **kw): | |
|
169 | 169 | """ |
|
170 | 170 | Convert a notebook from a notebook node instance. |
|
171 | 171 | |
@@ -190,7 +190,7 b' class Exporter(Configurable):' | |||
|
190 | 190 | return output, resources |
|
191 | 191 | |
|
192 | 192 | |
|
193 |
def from_filename(self, filename, resources= |
|
|
193 | def from_filename(self, filename, resources=None **kw): | |
|
194 | 194 | """ |
|
195 | 195 | Convert a notebook from a notebook file. |
|
196 | 196 | |
@@ -204,7 +204,7 b' class Exporter(Configurable):' | |||
|
204 | 204 | return self.from_notebook_node(nbformat.read(f, 'json'), resources=resources,**kw) |
|
205 | 205 | |
|
206 | 206 | |
|
207 |
def from_file(self, file_stream, resources= |
|
|
207 | def from_file(self, file_stream, resources=None, **kw): | |
|
208 | 208 | """ |
|
209 | 209 | Convert a notebook from a notebook file. |
|
210 | 210 |
General Comments 0
You need to be logged in to leave comments.
Login now