docs: clarify token parameter descriptions in Linear and Notion connectors

- Updated documentation for the LinearConnector and NotionHistoryConnector classes to specify that the access token can also be an API key or integration token, enhancing clarity for users regarding token usage.
This commit is contained in:
Anish Sarkar 2026-01-03 03:48:46 +05:30
parent ed995b0341
commit 1e30bc6484
2 changed files with 4 additions and 4 deletions

View file

@ -19,17 +19,17 @@ class LinearConnector:
Initialize the LinearConnector class.
Args:
access_token: Linear OAuth access token (optional, can be set later with set_token)
access_token: Linear OAuth access token or API key (optional, can be set later with set_token)
"""
self.access_token = access_token
self.api_url = "https://api.linear.app/graphql"
def set_token(self, access_token: str) -> None:
"""
Set the Linear OAuth access token.
Set the Linear OAuth access token or API key.
Args:
access_token: Linear OAuth access token
access_token: Linear OAuth access token or API key
"""
self.access_token = access_token

View file

@ -7,7 +7,7 @@ class NotionHistoryConnector:
Initialize the NotionPageFetcher with a token.
Args:
token (str): Notion OAuth access token
token (str): Notion OAuth access token or integration token
"""
self.notion = AsyncClient(auth=token)