File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/ingestor-api/runtime/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55
66@functools .cache
77def get_s3_credentials ():
8- from .main import settings
8+ from .config import settings
99
1010 print ("Fetching S3 Credentials..." )
1111
@@ -24,7 +24,7 @@ def s3_object_is_accessible(bucket: str, key: str):
2424 """
2525 Ensure we can send HEAD requests to S3 objects.
2626 """
27- from .main import settings
27+ from .config import settings
2828
2929 client = boto3 .client ("s3" , ** get_s3_credentials ())
3030 try :
@@ -56,7 +56,7 @@ def collection_exists(collection_id: str) -> bool:
5656 """
5757 Ensure collection exists in STAC
5858 """
59- from .main import settings
59+ from .config import settings
6060
6161 url = "/" .join (
6262 f'{ url .strip ("/" )} ' for url in [settings .stac_url , "collections" , collection_id ]
You can’t perform that action at this time.
0 commit comments