api.config¶
Every setting of the API, read once from the environment (and .env in development).
No other module reads os.environ: use from api import config and config.NAME. Each setting has the name of its environment variable; see docs/configuration.md.
Attributes¶
Module Contents¶
- api.config.ADMIN_TOKEN¶
- api.config.APP_TOKEN¶
- api.config.AIRTABLE_AUTOMATION_TOKEN¶
- api.config.HELLOPRO_TOKEN¶
- api.config.MACHINIO_TOKEN¶
- api.config.U3000_SHEET_WEBHOOK_TOKEN¶
- api.config.APP_ORIGINS = ['https://app.rewake.fr', 'https://sav.rewake.fr', 'https://info.rewake.fr']¶
- api.config.DATA_DIR¶
- api.config.LOG_DIR¶
- api.config.LOG_FILE¶
- api.config.LOG_LEVEL¶
- api.config.LOG_FORMAT¶
- api.config.TEMP_PDFS_DIR¶
- api.config.PHOTOS_DIR¶
- api.config.INVOICES_BACKUP_DIR¶
- api.config.PRICING_GRID_PATH¶
- api.config.AI_DB_PATH¶
- api.config.U3000_IMAGES_DIR¶
- api.config.REDIS_URL¶
- api.config.AIRTABLE_BASE_ID¶
- api.config.AIRTABLE_TOKEN¶
- api.config.AIRTABLE_CONFIGURED¶
- api.config.SHOPIFY_SHOP_DOMAIN¶
- api.config.SHOPIFY_API_VERSION¶
- api.config.SHOPIFY_CLIENT_ID¶
- api.config.SHOPIFY_CLIENT_SECRET¶
- api.config.SHOPIFY_LOCATION_ID¶
- api.config.SHOPIFY_PDF_METAFIELD_NAMESPACE¶
- api.config.SHOPIFY_PDF_METAFIELD_KEY¶
- api.config.SHOPIFY_PDF_SOURCE_METAFIELD_KEY¶
- api.config.AIRTABLE_SHOPIFY_CONFIGURED¶
- api.config.SHOPIFY_CATALOG_RECONCILIATION_INTERVAL_SECONDS¶
- api.config.AIRTABLE_CATALOG_STATS_HOUR¶
- api.config.AIRTABLE_CATALOG_STATS_MINUTE¶
- api.config.GOOGLE_APPLICATION_CREDENTIALS¶
- api.config.ALERT_EMAIL_SENDER¶
- api.config.ALERT_EMAIL_RECIPIENTS¶
- api.config.ANTHROPIC_API_KEY¶
- api.config.OPENROUTER_API_KEY¶
- api.config.OCR_URL¶
- api.config.REPRISE_FORM_URL¶
- api.config.U3000_PRICE_SHEET_ID¶
- api.config.U3000_SPACE_URL¶
- api.config.U3000_INFO_URL¶
- api.config.U3000_N8N_CLIENT_LINK_URL¶
- api.config.U3000_N8N_OFFER_URL¶
- api.config.U3000_N8N_SECRET¶
- api.config.CHROMIUM_PATH¶
- api.config.AUCTIONS_API_URL¶
- api.config.AUCTIONS_API_TOKEN¶
- api.config.AUCTIONS_AIRTABLE_BASE_ID¶
- api.config.AUCTIONS_AIRTABLE_TOKEN¶
- api.config.AUCTIONS_SYNC_CONFIGURED¶
- api.config.APP_BASE_URL¶
- api.config.PAYROLL_CRON_TOKEN¶
- api.config.PAYROLL_REMINDER_CONFIGURED¶