mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-29 19:58:11 +08:00
Provide a hook into the AWS Secret Manager for the flask secret key (#1398)
Also, the secret manager required a region name, so there was some refactoring around how regions are handled. Fixes #1239
This commit is contained in:
+2
-1
@@ -126,7 +126,8 @@ def dataroot_test_index():
|
||||
data += "<body><H1>Welcome to cellxgene</H1>"
|
||||
|
||||
config = current_app.app_config
|
||||
locator = DataLocator(config.multi_dataset__dataroot, app_config=config)
|
||||
locator = DataLocator(config.multi_dataset__dataroot,
|
||||
region_name=config.data_locator__s3__region_name)
|
||||
datasets = []
|
||||
for fname in locator.ls():
|
||||
location = path_join(config.multi_dataset__dataroot, fname)
|
||||
|
||||
Reference in New Issue
Block a user