From b5daee122c163a7dac6e8ffa63243e2de5933957 Mon Sep 17 00:00:00 2001 From: Maxime Armstrong Date: Fri, 26 Apr 2024 14:57:43 -0400 Subject: [PATCH] Fix s3 asset --- with_openai/assets.py | 2 +- with_openai/definitions.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/with_openai/assets.py b/with_openai/assets.py index 94717bb..59649e9 100644 --- a/with_openai/assets.py +++ b/with_openai/assets.py @@ -11,7 +11,7 @@ AllPartitionMapping, AssetIn ) -from dagster_aws import S3Resource +from dagster_aws.s3 import S3Resource from dagster_openai import OpenAIResource from filelock import FileLock from langchain.chains.qa_with_sources import stuff_prompt diff --git a/with_openai/definitions.py b/with_openai/definitions.py index f0683f4..6db6d0f 100644 --- a/with_openai/definitions.py +++ b/with_openai/definitions.py @@ -10,7 +10,7 @@ sensor, FilesystemIOManager ) -from dagster_aws import S3Resource +from dagster_aws.s3 import S3Resource from dagster_openai import OpenAIResource from . import assets