def main(self, notebook_path, output_path: Path=None):
    args = ['nbconvert', '--to', 'html', '--execute', notebook_path, '--ExecutePreprocessor.timeout=1800']
    if (output_path is not None):
        args += ['--output', output_path]
    (local['jupyter'].bound_command(*args) & FG)
def main(self, notebook_path, output_path: Path=None):
    args = ['nbconvert', '--to', 'html', '--execute', notebook_path, '--ExecutePreprocessor.timeout=1800']
    if (output_path is not None):
        args += ['--output', output_path]
    (local['jupyter'].bound_command(*args) & FG)