@notebook.command()<EOL>@click.option('<STR_LIT>', '<STR_LIT>', multiple=True, type=click.Path(exists=True),<EOL>help='<STR_LIT>')<EOL>@click.option('<STR_LIT>', is_flag=True, default=False,<EOL>help='<STR_LIT>')<EOL>@click.pass_context<EOL>@clean_outputs<EOL>def start(ctx, file, u):  
specification = None<EOL>job_config = None<EOL>if file:<EOL><INDENT>specification = check_polyaxonfile(file, log=False).specification<EOL><DEDENT>if u:<EOL><INDENT>ctx.invoke(upload, sync=False)<EOL><DEDENT>if specification:<EOL><INDENT>check_polyaxonfile_kind(specification=specification, kind=specification._NOTEBOOK)<EOL>job_config = specification.parsed_data<EOL><DEDENT>user, project_name = get_project_or_local(ctx.obj.get('<STR_LIT>'))<EOL>try:<EOL><INDENT>response = PolyaxonClient().project.start_notebook(user, project_name, job_config)<EOL><DEDENT>except (PolyaxonHTTPError, PolyaxonShouldExitError, PolyaxonClientException) as e:<EOL><INDENT>Printer.print_error('<STR_LIT>'.format(project_name))<EOL>Printer.print_error('<STR_LIT>'.format(e))<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>if response.status_code == <NUM_LIT:200>:<EOL><INDENT>Printer.print_header("<STR_LIT>")<EOL>click.echo(get_notebook_url(user, project_name))<EOL>sys.exit(<NUM_LIT:0>)<EOL><DEDENT>if response.status_code != <NUM_LIT>:<EOL><INDENT>Printer.print_error('<STR_LIT>')<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>Printer.print_success('<STR_LIT>'.format(project_name))<EOL>clint.textui.puts("<STR_LIT>")<EOL>clint.textui.puts("<STR_LIT>")<EOL>with clint.textui.indent(<NUM_LIT:4>):<EOL><INDENT>clint.textui.puts(get_notebook_url(user, project_name))<EOL><DEDENT>
Start a notebook deployment for this project.

    Uses [Caching](/references/polyaxon-cli/#caching)

    Example:

    \b
    ```bash
    $ polyaxon notebook start -f file -f file_override ...
    ```

    Example: upload before running

    \b
    ```bash
    $ polyaxon -p user12/mnist notebook start -f file -u
    ```