Challenge
- pydantic model Challenge[source]
Challenge data
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
__init__ uses __pydantic_self__ instead of the more common self for the first arg to allow self as a field name.
- Fields:
- field id: int [Required]
The Challenge’s unique id
- field desc: str [Required]
- field is_commerce: Optional[bool] = None
Presumably whether this challenge is sponsored.
- field stats: ChallengeStats [Required]
- field title: str [Required]
- property videos: DeferredItemListIterator