Skip to content


# &nbsp class Project:

Data class containing information about a WEBKNOSSOS project

# &nbsp Project( project_id: str, name: str, team_id: str, team_name: str, owner_id: str, priority: int, paused: bool, expected_time: int )

Method generated by attrs for class Project.

# &nbsp project_id: str
# &nbsp name: str
# &nbsp team_id: str
# &nbsp team_name: str
# &nbsp owner_id: str
# &nbsp priority: int
# &nbsp paused: bool
# &nbsp expected_time: int
# &nbsp
def get_by_id(cls, project_id: str) -> webknossos.administration.project.Project:

Returns the project specified by the passed id if your token authorizes you to see it.

# &nbsp
def get_by_name(cls, name: str) -> webknossos.administration.project.Project:

Returns the user specified by the passed name if your token authorizes you to see it.

# &nbsp def get_tasks( self, fetch_all: bool = False ) -> list[webknossos.administration.task.Task]:

Returns the tasks of this project. Note: will fetch only the first 1000 entries by default, warns if that means some are missing. set parameter pass fetch_all=True to use pagination to fetch all tasks iteratively with pagination.

Returns the user that is the owner of this task