bonsaicli2/bonsai_cli/commands/assessment.py [506:533]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ctx: click.Context,
    name: str,
    brain_name: str,
    brain_version: int,
    workspace_id: str,
    debug: bool,
    output: str,
    test: bool,
):
    brain_version_checker = get_version_checker(ctx, interactive=not output)

    error_msg = ""
    required_options_provided = True

    if not name:
        required_options_provided = False
        error_msg += "\nName of the assessment is required"

    if not brain_name:
        required_options_provided = False
        error_msg += "\nName of the brain is required"

    if not required_options_provided:
        raise_as_click_exception(error_msg)

    if not brain_version:
        brain_version = get_latest_brain_version(
            brain_name,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



bonsaicli2/bonsai_cli/commands/assessment.py [894:921]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ctx: click.Context,
    name: str,
    brain_name: str,
    brain_version: int,
    workspace_id: str,
    debug: bool,
    output: str,
    test: bool,
):
    brain_version_checker = get_version_checker(ctx, interactive=not output)

    error_msg = ""
    required_options_provided = True

    if not name:
        required_options_provided = False
        error_msg += "\nName of the assessment is required"

    if not brain_name:
        required_options_provided = False
        error_msg += "\nName of the brain is required"

    if not required_options_provided:
        raise_as_click_exception(error_msg)

    if not brain_version:
        brain_version = get_latest_brain_version(
            brain_name,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



