framework
от contentstack
Use for _APIClient, requests usage, retries, timeout, and OAuth interceptor in contentstack-management-python.
npx skills add https://github.com/contentstack/contentstack-management-python --skill frameworkFramework / HTTP – Contentstack Management Python
When to use
- Editing
contentstack_management/_api_client.pyor OAuth interceptor/handler wiring. - Changing retry policy, timeouts, or how
requestsis invoked.
Instructions
Integration point
_APIClientusesrequestsin_call_request, honors timeout and max_retries, and delegates tooauth_interceptorwhen configured.
When to change
- Retry or transport behavior — keep logic centralized in
_APIClientunless a resource truly needs a documented exception. - Auth headers — prefer extending
Client/user_agentspatterns rather than scattering header merges.
Testing
- Unit — mock
requestsor_APIClientat the boundary used by existing tests. - API — full stack via credentials from
tests/cred.py.