mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
e7e29f9937
Modified Modern Treasury and Strip slightly so credentials don't have to be passed in explicitly. Thanks @mattgmarcus for adding Modern Treasury! --------- Co-authored-by: Matt Marcus <matt.g.marcus@gmail.com>
10 lines
243 B
Python
10 lines
243 B
Python
from langchain.document_loaders.stripe import StripeLoader
|
|
|
|
|
|
def test_stripe_loader() -> None:
|
|
"""Test Stripe file loader."""
|
|
stripe_loader = StripeLoader("charges")
|
|
documents = stripe_loader.load()
|
|
|
|
assert len(documents) == 1
|