Integrate new large_files
This commit is contained in:
parent
ff431d2af7
commit
6acfb6819e
1 changed files with 67 additions and 26 deletions
|
|
@ -1,4 +1,14 @@
|
|||
from pathlib import Path
|
||||
|
||||
from great_ai.large_file import LargeFileLocal, LargeFileMongo, LargeFileS3
|
||||
|
||||
ENV_VAR_KEY = "ENVIRONMENT"
|
||||
PRODUCTION_KEY = "production"
|
||||
DEFAULT_TRACING_DB_FILENAME = "tracing_database.json"
|
||||
METRICS_PATH = "/metrics"
|
||||
|
||||
DEFAULT_LARGE_FILE_CONFIG_PATHS = {
|
||||
LargeFileLocal: None,
|
||||
LargeFileMongo: Path("mongodb.ini"),
|
||||
LargeFileS3: Path("s3.ini"),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue