Author Models

class paperswithcode.models.author.Author(*, id: str, full_name: str)[source]

Author object.

id

Author ID.

Type

str

full_name

Author full name.

Type

str, optional

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.author.Authors(*, count: int, next_page: int = None, previous_page: int = None, results: List[paperswithcode.models.author.Author])[source]

Object representing a paginated page of authors.

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 authors on this page.

Type

List[Author]

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.