Skip to content
Snippets Groups Projects
Unverified Commit bb321a0d authored by HawkClaws's avatar HawkClaws Committed by GitHub
Browse files

I'm encountering the `object has no attribute '__fields_set__'` error with pydantic. (#8585)

update
parent b21a0618
Branches
Tags
No related merge requests found
......@@ -30,8 +30,6 @@ class TwitterTweetReader(BasePydanticReader):
num_tweets: Optional[int] = 100,
) -> None:
"""Initialize with parameters."""
self.bearer_token = bearer_token
self.num_tweets = num_tweets
super().__init__(
num_tweets=num_tweets,
bearer_token=bearer_token,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment