def METHOD_NAME(
    self,
    db_session: sqlalchemy.orm.Session,
    name: str,
    project: dict,
    patch_mode: mlrun.common.schemas.PatchMode = mlrun.common.schemas.PatchMode.replace,
    projects_role: typing.Optional[mlrun.common.schemas.ProjectsRole] = None,
    leader_session: typing.Optional[str] = None,
    wait_for_completion: bool = True,
) -> typing.Tuple[mlrun.common.schemas.Project, bool]:
    pass