Task Models

class paperswithcode.models.task.Area(*, id: str, name: str)[source]

Area object.

Representing an area of research.

id

Area ID.

Type

str

name

Area name.

Type

str

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

class paperswithcode.models.task.Areas(*, count: int, next_page: int = None, previous_page: int = None, results: List[paperswithcode.models.task.Area])[source]

Object representing a paginated page of areas.

count

Number of elements matching the query.

Type

int

next_page

Number of the next page.

Type

int, optional

previous_page

Number of the previous page.

Type

int, optional

results

List of areas on this page.

Type

List[Area]

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

class paperswithcode.models.task.Task(*, id: str, name: str, description: str)[source]

Task object.

id

Task ID.

Type

str

name

Task name.

Type

str

description

Task description.

Type

str

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

class paperswithcode.models.task.Tasks(*, count: int, next_page: int = None, previous_page: int = None, results: List[paperswithcode.models.task.Task])[source]

Object representing a paginated page of tasks.

count

Number of elements matching the query.

Type

int

next_page

Number of the next page.

Type

int, optional

previous_page

Number of the previous page.

Type

int, optional

results

List of tasks on this page.

Type

List[Task]

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.