Uh oh!
There was an error while loading. Please reload this page.
feat: Added Endpoint Integration for CMA Python SDK - #159
Conversation
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
Uh oh!
There was an error while loading. Please reload this page.
Replaces hardcoded region→host mappings with an
Endpointclass backed by the Contentstack Regions Registry. New regions require zero SDK code changes.Changes
endpoint.py— newEndpointclass, 3-tier resolution (memory → disk → CDN)contentstack.py—Clientresolves viaEndpointinstead ofif/elifchain__init__.py— exportsEndpoint+ module-levelget_contentstack_endpoint()proxydata/regions.json— bundled registry (gitignored, included in wheel)scripts/download_regions.py— refresh registry manuallyENDPOINT_INTEGRATION.md, changelogNotes
host=still overrides resolution — no breaking changes{region}-api.contentstack.compattern