mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-10 20:35:17 +02:00
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:
parent
ed995b0341
commit
1e30bc6484
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue