mirror of
https://github.com/status-im/status-python-sdk.git
synced 2026-08-31 14:11:07 +00:00
- 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
10 lines
351 B
Python
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"] |