You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, I think the only solution is to use exclude=["creator", "tags"] when calling video.json(). Similarly if you want to serialize a models.user.User or models.challenge.Challenge, you'll need to use exclude=["videos"].
I'll look into a way to make this automatic so you don't have to do it.
Also I would suggest adapting your code to only specify a scroll_down_time for the api.challenge call if you don't want to scroll down on videos. This will make your runtime faster (see #19)
* Switch to Pydantic V2
* Videos, creators, and tags are now computed properties requiring the `_api` property to be set
* TODO: User posts aren't quite working yet
* Should open up more room for #22
Hi, I'm trying this code but I'm getting an error:
Any suggestions would be helpful, thanks!
The text was updated successfully, but these errors were encountered: