Files
status-python-sdk/constants.py
T
Nick Ninov ccfed7fc7c download: Batch download
- Create community info snapshots (`.pkl` file)
- Create messages file that will be uploaded to Postgres (`.json` file)
- Create configurable file to keep track of changes on GitHub
2026-02-27 20:49:32 +02:00

10 lines
351 B
Python

import os
import yaml
CREDENTIALS_PATH = os.path.join(os.path.dirname(__file__), "accounts")
UPLOAD_PATH = os.path.join(os.path.join(os.path.dirname(__file__), "uploads"))
with open(os.path.join(os.path.dirname(__file__), "config.yaml"), "r") as f:
CONFIG: dict = yaml.safe_load(f)
STATUS_BACKEND_PARAMS = CONFIG["status_app"]["backend_params"]