community: fix missing apify_api_token field in ApifyWrapper (#22421)

- **Description:** The `ApifyWrapper` class expects `apify_api_token` to
be passed as a named parameter or set as an environment variable. But
the corresponding field was missing in the class definition causing the
argument to be ignored when passed as a named param. This patch fixes
that.
This commit is contained in:
Charles John 2024-06-03 20:02:57 +05:30 committed by GitHub
parent dac355fc62
commit 2d81a72884
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,6 +17,7 @@ class ApifyWrapper(BaseModel):
apify_client: Any
apify_client_async: Any
apify_api_token: Optional[str] = None
@root_validator()
def validate_environment(cls, values: Dict) -> Dict: