fix upstash test import (#11781)

pull/11762/head^2
Bagatur 12 months ago committed by GitHub
parent 9f0a718198
commit 1559ba4bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,10 +1,15 @@
"""Implement integration tests for Redis storage."""
from __future__ import annotations
from typing import TYPE_CHECKING
import pytest
from upstash_redis import Redis
from langchain.storage.upstash_redis import UpstashRedisStore
if TYPE_CHECKING:
from upstash_redis import Redis
pytest.importorskip("upstash_redis")
URL = "<UPSTASH_REDIS_REST_URL>"

Loading…
Cancel
Save