mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-17 23:41:46 +00:00
community[patch]: Add missing annotations (#24890)
This PR adds annotations in comunity package. Annotations are only strictly needed in subclasses of BaseModel for pydantic 2 compatibility. This PR adds some unnecessary annotations, but they're not bad to have regardless for documentation pages.
This commit is contained in:
@@ -23,9 +23,9 @@ def mock_quip(): # type: ignore
|
||||
|
||||
@pytest.mark.requires("quip_api")
|
||||
class TestQuipLoader:
|
||||
API_URL = "https://example-api.quip.com"
|
||||
API_URL: str = "https://example-api.quip.com"
|
||||
DOC_URL_PREFIX = ("https://example.quip.com",)
|
||||
ACCESS_TOKEN = "api_token"
|
||||
ACCESS_TOKEN: str = "api_token"
|
||||
|
||||
MOCK_FOLDER_IDS = ["ABC"]
|
||||
MOCK_THREAD_IDS = ["ABC", "DEF"]
|
||||
|
Reference in New Issue
Block a user