mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
6e1b5b8f7e
Co-authored-by: Ismail Pelaseyed <homanp@gmail.com>
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
|