Method Models¶
-
class
paperswithcode.models.method.
Method
(*, id: str, name: str, full_name: str, description: str, paper: str = None)[source]¶ Method object.
-
id
¶ Method ID.
- Type
str
-
name
¶ Method short name.
- Type
str
-
full_name
¶ Method full name.
- Type
str
-
description
¶ Method description.
- Type
str
-
paper
¶ ID of the paper that describes the method.
- 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.method.
Methods
(*, count: int, next_page: int = None, previous_page: int = None, results: List[paperswithcode.models.method.Method])[source]¶ Object representing a paginated page of methods.
-
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
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.
-