Pepe_1 / config /settings.py
nileshhanotia's picture
Update config/settings.py
2008715 verified
raw
history blame contribute delete
353 Bytes
# config/settings.py
import os
from dotenv import load_dotenv
# Load environment variables
load_dotenv()
# Environment variables
SHOPIFY_ACCESS_TOKEN = os.getenv('ACCESS_TOKEN')
SHOP_NAME = os.getenv('SHOP_NAME')
# Application settings
MODEL_RETRY_ATTEMPTS = 3
REQUEST_RETRY_ATTEMPTS = 5
BACKOFF_FACTOR = 0.5
REQUEST_TIMEOUT = 10
LOG_LEVEL = 'INFO'