mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-22 07:27:45 +00:00
14 lines
277 B
Python
14 lines
277 B
Python
from langchain.document_loaders.figma import FigmaFileLoader
|
|
|
|
ACCESS_TOKEN = ""
|
|
IDS = ""
|
|
KEY = ""
|
|
|
|
|
|
def test_figma_file_loader() -> None:
|
|
"""Test Figma file loader."""
|
|
loader = FigmaFileLoader(ACCESS_TOKEN, IDS, KEY)
|
|
docs = loader.load()
|
|
|
|
assert len(docs) == 1
|