NexusConfig field reference and TTL guidance for the Python SDK.
NexusConfig is a frozen dataclass holding every value required to construct a client. Pass it to NexusClient.create() or AsyncNexusClient.create() (both accept the same instance).
Full service URL, e.g. https://<slug>.westyx.dev. When None or empty, create() reads WESTYX_SERVICE_ENDPOINT (trimmed; blank counts as unset), validated the same way; with neither, ValueError naming both. A value that is not a str raises TypeError. Must be https://; plain http:// is accepted only for a loopback host.
api_key
str
""
Raw wxs_... or wxp_... key. Sent verbatim in X-Nexus-API-Key. Optional when wif is enabled. Excluded from the generated __repr__, so a traceback rendered with frame locals does not carry it.
ttl_seconds
float | None
60.0
Local cache TTL in seconds. After this elapses, the next read triggers a one-shot background refresh while still serving the stale cache. While the stream is connected the TTL is at least 60 s. Zero, negatives and bool are rejected at create() with a ValueError naming the option; None means “use the default”.
timeout_seconds
float
10.0
Per-request HTTP timeout in seconds. The /sync and /token-exchange client applies it to every phase. The SSE stream uses a separate client that applies it to connect, write and pool acquisition; the stream’s read deadline is stream_idle_timeout, so a short value here cannot truncate a stream that is simply idle.
stream_idle_timeout
float | None
90.0
SSE liveness deadline in seconds: the longest silence - no events, no keepalives - before the connection is declared dead and reconnected. Sized against the server’s 30 s keepalive cadence; every received line resets it, so a healthy stream is never torn down. Zero, negatives and bool are rejected at create().
stream
bool
True
Whether to start the SSE live-update stream automatically. Set to False to run in pure TTL-polling mode.
logger
NexusLogger | None
None
Where the SDK logs. None means the stdlib westyx_nexus logger, silent until your application configures logging. See Logging.
wif
WIFConfig | None
None
Workload Identity Federation. When enabled=True, the SDK uses bearer auth instead of the API key: most providers exchange a workload credential for a session JWT, and the developer provider supplies an already-issued session directly. See Workload identity.
stream_observer
StreamObserver | None
None
Optional structured-callback observer for SSE lifecycle events. See Stream observer.
sse_reconnect_cooldown
int | list[int] | None
None
Schedule for reconnecting SSE after falling back to TTL polling. Unit: minutes. None = default [5, 10, 20, 40, 60] min. int = fixed interval. list[int] = custom schedule (stays at last value). An entry below 1 counts as 1.
log_sync_errors
bool
True
Log, as a warning, each resource the server reports it did not deliver - once, when it first appears. sync_errors lists them either way. A value that is not a bool raises ValueError.
WIFConfig fields
Constructed with keyword arguments only. See Workload identity for the full picture.
Field
Type
Default
Description
enabled
bool
False
Master switch. True activates WIF.
provider
WIFProvider | Literal[…] | None
None
One of WIFProvider - or the equivalent string, which is the same value at runtime because the enum is a StrEnum. None means "auto": probe the environment. A value outside the set raises ValueError at construction, naming the valid ones. "aws_iam" is never auto-detected.
exchange_payload
ExchangePayloadSource | None
None
Build the whole token-exchange body yourself. Receives an ExchangeContext (server_id, base_url, audience) and returns the request body, so a credential that is not an OIDC token can be expressed. Takes precedence over token_source and provider.
token_source
TokenSource | None
None
Produce an OIDC token; the SDK wraps it in the standard body. Sync or async. Takes precedence over provider - except with provider="aws_iam", which has no OIDC token and refuses the combination.
audience
str | None
None
Audience claim requested from GCP / Azure IMDS. The IMDS path requires your app registration’s Application ID URI (api://<client-id>); the generic default is refused.
aws_region
str | None
None
Region for the aws_iam STS endpoint. When empty the region comes from the standard AWS chain.
WIFProvider, WIFProviderLiteral, WIFProviderLike, ExchangeContext, ExchangePayloadSource, ExchangeSource, TokenSource, TokenSourceResult and ExchangePayloadResult are all exported from westyx_nexus, so the callbacks the SDK asks for can be named and annotated.
API key types
Prefix
Access
Sync response shape
wxs_...
Full - all configs, all secrets, all flags
configs, secrets, and flags populated
wxp_...
The same configs and flags a secret key sees
secrets field is entirely absent from the response
Calling get_secret(...) with a public key raises NexusPublicKeyError synchronously, before the network call.
Where to keep the API key
Anywhere your existing config pipeline puts secrets - environment variables, AWS Secrets Manager, GCP Secret Manager, HashiCorp Vault, or a local .env file in dev. The SDK never logs the raw key.
The TTL is a tradeoff between staleness window and redundant network traffic. With SSE enabled (default), changes propagate in milliseconds regardless of the TTL - the TTL only matters as a safety net if the stream falls back.
A developer session, overriding the credentials file.
Framework adapters
The Flask extension (app.config) and the Django app (settings.py) read NEXUS_BASE_URL, NEXUS_API_KEY, NEXUS_WIF, NEXUS_TTL_SECONDS and NEXUS_STREAM. Every setting is optional. NEXUS_BASE_URL falls back to WESTYX_SERVICE_ENDPOINT; NEXUS_WIF takes a WIFConfig or a mapping of its fields ({"enabled": True, "provider": "kubernetes"}). With neither NEXUS_API_KEY nor NEXUS_WIF the adapter uses Workload Identity Federation with the default provider, which finds the session westyx dev setup wrote - so under westyx dev run it needs no Nexus settings at all. See Framework adapters.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Westyx Nexus","colors":{"primary":"#a855f7","light":"#a855f7","dark":"#a855f7"},"logo":{"light":"https://mintcdn.com/westyx/SZvVVOurEPriggFG/nexus-logo.webp?fit=max\u0026auto=format\u0026n=SZvVVOurEPriggFG\u0026q=85\u0026s=6ffbf78ce14ec5ee73fe3b569f8953a9","dark":"https://mintcdn.com/westyx/SZvVVOurEPriggFG/nexus-logo.webp?fit=max\u0026auto=format\u0026n=SZvVVOurEPriggFG\u0026q=85\u0026s=6ffbf78ce14ec5ee73fe3b569f8953a9"},"favicon":"https://mintcdn.com/westyx/SZvVVOurEPriggFG/nexus-logo.webp?fit=max\u0026auto=format\u0026n=SZvVVOurEPriggFG\u0026q=85\u0026s=6ffbf78ce14ec5ee73fe3b569f8953a9","appearance":{"default":"dark"},"navbar":{"links":[],"primary":{"type":"button","label":"Go to Console","href":"https://app.westyx.dev"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/westyx"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"westyx","hasAudioNarration":false,"actualSubdomain":"westyx","customDomains":["docs.westyx.dev"],"gitSource":{"type":"gitlab","owner":"westyx/nexus","repo":"public-documentation","projectId":82540509,"deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aff1d0c144212df22539fef","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"SDKs","count":153},{"language":"default","tag":"Backend SDKs","count":115},{"language":"default","tag":"Browser SDKs","count":33},{"language":"default","tag":".NET","count":21},{"language":"default","tag":"Reference","count":15},{"language":"default","tag":"Platform","count":15},{"language":"default","tag":"Node.js","count":15},{"language":"default","tag":"Python","count":15},{"language":"default","tag":"Go","count":13},{"language":"default","tag":"Kotlin","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"sdks/python/configuration","slug":"/sdks/python/configuration","pageMetadata":{"title":"Python SDK - Configuration","description":"NexusConfig field reference and TTL guidance for the Python SDK.","href":"/sdks/python/configuration"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"NexusConfig field reference and TTL guidance for the Python SDK.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`NexusConfig`}),` is a frozen `,_jsx(_components.code,{children:`dataclass`}),` holding every value required to construct a client. Pass it to `,_jsx(_components.code,{children:`NexusClient.create()`}),` or `,_jsx(_components.code,{children:`AsyncNexusClient.create()`}),` (both accept the same instance).`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` westyx_nexus `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` NexusConfig`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`config `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` NexusConfig(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` base_url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://\u003cslug>.westyx.dev\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# or WESTYX_SERVICE_ENDPOINT`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"wxs_...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# required`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` ttl_seconds`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 60.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# optional, default 60s`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` timeout_seconds`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 10.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# optional, default 10s`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` stream`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# optional, default True`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` logger`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` None`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# optional, default the westyx_nexus logger`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`field-reference`,children:`Field reference`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`base_url`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`str | None`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`$WESTYX_SERVICE_ENDPOINT`})}),_jsxs(_components.td,{children:[`Full service URL, e.g. `,_jsx(_components.code,{children:`https://\u003cslug>.westyx.dev`}),`. When `,_jsx(_components.code,{children:`None`}),` or empty, `,_jsx(_components.code,{children:`create()`}),` reads `,_jsx(_components.code,{children:`WESTYX_SERVICE_ENDPOINT`}),` (trimmed; blank counts as unset), validated the same way; with neither, `,_jsx(_components.code,{children:`ValueError`}),` naming both. A value that is not a `,_jsx(_components.code,{children:`str`}),` raises `,_jsx(_components.code,{children:`TypeError`}),`. Must be `,_jsx(_components.code,{children:`https://`}),`; plain `,_jsx(_components.code,{children:`http://`}),` is accepted only for a loopback host.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`api_key`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`str`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"\"`})}),_jsxs(_components.td,{children:[`Raw `,_jsx(_components.code,{children:`wxs_...`}),` or `,_jsx(_components.code,{children:`wxp_...`}),` key. Sent verbatim in `,_jsx(_components.code,{children:`X-Nexus-API-Key`}),`. Optional when `,_jsx(_components.code,{children:`wif`}),` is enabled. Excluded from the generated `,_jsx(_components.code,{children:`__repr__`}),`, so a traceback rendered with frame locals does not carry it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ttl_seconds`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`float | None`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`60.0`})}),_jsxs(_components.td,{children:[`Local cache TTL in seconds. After this elapses, the next read triggers a one-shot background refresh while still serving the stale cache. While the stream is connected the TTL is at least 60 s. Zero, negatives and `,_jsx(_components.code,{children:`bool`}),` are rejected at `,_jsx(_components.code,{children:`create()`}),` with a `,_jsx(_components.code,{children:`ValueError`}),` naming the option; `,_jsx(_components.code,{children:`None`}),` means “use the default”.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timeout_seconds`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`float`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`10.0`})}),_jsxs(_components.td,{children:[`Per-request HTTP timeout in seconds. The `,_jsx(_components.code,{children:`/sync`}),` and `,_jsx(_components.code,{children:`/token-exchange`}),` client applies it to every phase. The SSE stream uses a separate client that applies it to connect, write and pool acquisition; the stream’s read deadline is `,_jsx(_components.code,{children:`stream_idle_timeout`}),`, so a short value here cannot truncate a stream that is simply idle.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`stream_idle_timeout`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`float | None`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`90.0`})}),_jsxs(_components.td,{children:[`SSE liveness deadline in seconds: the longest silence - no events, no keepalives - before the connection is declared dead and reconnected. Sized against the server’s 30 s keepalive cadence; every received line resets it, so a healthy stream is never torn down. Zero, negatives and `,_jsx(_components.code,{children:`bool`}),` are rejected at `,_jsx(_components.code,{children:`create()`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`stream`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`bool`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`True`})}),_jsxs(_components.td,{children:[`Whether to start the SSE live-update stream automatically. Set to `,_jsx(_components.code,{children:`False`}),` to run in pure TTL-polling mode.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`logger`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`NexusLogger | None`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`None`})}),_jsxs(_components.td,{children:[`Where the SDK logs. `,_jsx(_components.code,{children:`None`}),` means the stdlib `,_jsx(_components.code,{children:`westyx_nexus`}),` logger, silent until your application configures logging. See `,_jsx(_components.a,{href:`/sdks/python/logging`,children:`Logging`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wif`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`WIFConfig | None`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`None`})}),_jsxs(_components.td,{children:[`Workload Identity Federation. When `,_jsx(_components.code,{children:`enabled=True`}),`, the SDK uses bearer auth instead of the API key: most providers exchange a workload credential for a session JWT, and the `,_jsx(_components.code,{children:`developer`}),` provider supplies an already-issued session directly. See `,_jsx(_components.a,{href:`/sdks/python/workload-identity`,children:`Workload identity`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`stream_observer`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`StreamObserver | None`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`None`})}),_jsxs(_components.td,{children:[`Optional structured-callback observer for SSE lifecycle events. See `,_jsx(_components.a,{href:`/sdks/python/stream-observer`,children:`Stream observer`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sse_reconnect_cooldown`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`int | list[int] | None`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`None`})}),_jsxs(_components.td,{children:[`Schedule for reconnecting SSE after falling back to TTL polling. Unit: `,_jsx(_components.strong,{children:`minutes`}),`. `,_jsx(_components.code,{children:`None`}),` = default `,_jsx(_components.code,{children:`[5, 10, 20, 40, 60]`}),` min. `,_jsx(_components.code,{children:`int`}),` = fixed interval. `,_jsx(_components.code,{children:`list[int]`}),` = custom schedule (stays at last value). An entry below 1 counts as 1.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`log_sync_errors`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`bool`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`True`})}),_jsxs(_components.td,{children:[`Log, as a warning, each resource the server reports it did not deliver - once, when it first appears. `,_jsx(_components.code,{children:`sync_errors`}),` lists them either way. A value that is not a `,_jsx(_components.code,{children:`bool`}),` raises `,_jsx(_components.code,{children:`ValueError`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`wifconfig-fields`,children:`WIFConfig fields`}),`\n`,_jsxs(_components.p,{children:[`Constructed with keyword arguments only. See `,_jsx(_components.a,{href:`/sdks/python/workload-identity`,children:`Workload identity`}),` for the full picture.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`enabled`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`bool`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`False`})}),_jsxs(_components.td,{children:[`Master switch. `,_jsx(_components.code,{children:`True`}),` activates WIF.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`provider`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`WIFProvider | Literal[…] | None`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`None`})}),_jsxs(_components.td,{children:[`One of `,_jsx(_components.code,{children:`WIFProvider`}),` - or the equivalent string, which is the same value at runtime because the enum is a `,_jsx(_components.code,{children:`StrEnum`}),`. `,_jsx(_components.code,{children:`None`}),` means `,_jsx(_components.code,{children:`\"auto\"`}),`: probe the environment. A value outside the set raises `,_jsx(_components.code,{children:`ValueError`}),` at construction, naming the valid ones. `,_jsx(_components.code,{children:`\"aws_iam\"`}),` is never auto-detected.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`exchange_payload`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ExchangePayloadSource | None`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`None`})}),_jsxs(_components.td,{children:[`Build the whole token-exchange body yourself. Receives an `,_jsx(_components.code,{children:`ExchangeContext`}),` (`,_jsx(_components.code,{children:`server_id`}),`, `,_jsx(_components.code,{children:`base_url`}),`, `,_jsx(_components.code,{children:`audience`}),`) and returns the request body, so a credential that is not an OIDC token can be expressed. Takes precedence over `,_jsx(_components.code,{children:`token_source`}),` and `,_jsx(_components.code,{children:`provider`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`token_source`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`TokenSource | None`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`None`})}),_jsxs(_components.td,{children:[`Produce an OIDC token; the SDK wraps it in the standard body. Sync or async. Takes precedence over `,_jsx(_components.code,{children:`provider`}),` - except with `,_jsx(_components.code,{children:`provider=\"aws_iam\"`}),`, which has no OIDC token and refuses the combination.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`audience`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`str | None`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`None`})}),_jsxs(_components.td,{children:[`Audience claim requested from GCP / Azure IMDS. The IMDS path requires your app registration’s Application ID URI (`,_jsx(_components.code,{children:`api://\u003cclient-id>`}),`); the generic default is refused.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`aws_region`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`str | None`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`None`})}),_jsxs(_components.td,{children:[`Region for the `,_jsx(_components.code,{children:`aws_iam`}),` STS endpoint. When empty the region comes from the standard AWS chain.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`WIFProvider`}),`, `,_jsx(_components.code,{children:`WIFProviderLiteral`}),`, `,_jsx(_components.code,{children:`WIFProviderLike`}),`, `,_jsx(_components.code,{children:`ExchangeContext`}),`, `,_jsx(_components.code,{children:`ExchangePayloadSource`}),`, `,_jsx(_components.code,{children:`ExchangeSource`}),`, `,_jsx(_components.code,{children:`TokenSource`}),`, `,_jsx(_components.code,{children:`TokenSourceResult`}),` and `,_jsx(_components.code,{children:`ExchangePayloadResult`}),` are all exported from `,_jsx(_components.code,{children:`westyx_nexus`}),`, so the callbacks the SDK asks for can be named and annotated.`]}),`\n`,_jsx(Heading,{level:`2`,id:`api-key-types`,children:`API key types`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Prefix`}),_jsx(_components.th,{children:`Access`}),_jsx(_components.th,{children:`Sync response shape`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wxs_...`})}),_jsx(_components.td,{children:`Full - all configs, all secrets, all flags`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`configs`}),`, `,_jsx(_components.code,{children:`secrets`}),`, and `,_jsx(_components.code,{children:`flags`}),` populated`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wxp_...`})}),_jsx(_components.td,{children:`The same configs and flags a secret key sees`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`secrets`}),` field is `,_jsx(_components.strong,{children:`entirely absent`}),` from the response`]})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Calling `,_jsx(_components.code,{children:`get_secret(...)`}),` with a public key raises `,_jsx(_components.code,{children:`NexusPublicKeyError`}),` synchronously, before the network call.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`where-to-keep-the-api-key`,children:`Where to keep the API key`}),`\n`,_jsxs(_components.p,{children:[`Anywhere your existing config pipeline puts secrets - environment variables, AWS Secrets Manager, GCP Secret Manager, HashiCorp Vault, or a local `,_jsx(_components.code,{children:`.env`}),` file in dev. The SDK never logs the raw key.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`config `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` NexusConfig(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` base_url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NEXUS_URL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NEXUS_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`For Pydantic / pydantic-settings users:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` pydantic_settings `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` BaseSettings`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Settings`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`BaseSettings`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nexus_url: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nexus_api_key: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`settings `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Settings()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`config `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` NexusConfig(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`base_url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`settings.nexus_url, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`settings.nexus_api_key)`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`choosing-the-ttl`,children:`Choosing the TTL`}),`\n`,_jsxs(_components.p,{children:[`The TTL is a tradeoff between staleness window and redundant network traffic. With SSE enabled (default), `,_jsx(_components.strong,{children:`changes propagate in milliseconds regardless of the TTL`}),` - the TTL only matters as a safety net if the stream falls back.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Use case`}),_jsxs(_components.th,{children:[`Suggested `,_jsx(_components.code,{children:`ttl_seconds`})]})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Frequently-changing flags, latency-sensitive`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`30.0`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Standard configs with SSE`}),_jsx(_components.td,{children:`60.0 (default)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Stable production secrets`}),_jsx(_components.td,{children:`300.0 (5 min)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Values that rarely change`}),_jsx(_components.td,{children:`3600.0 (1 hour)`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`disabling-sse`,children:`Disabling SSE`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`config `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` NexusConfig(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` base_url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` stream`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`False`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# SSE off; use TTL polling only`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Useful in environments where outbound long-lived connections are blocked (some serverless platforms, certain corporate proxies).`}),`\n`,_jsx(Heading,{level:`2`,id:`environment-variables`,children:`Environment variables`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Variable`}),_jsx(_components.th,{children:`Read by the SDK`}),_jsx(_components.th,{children:`Effect`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`WESTYX_SERVICE_ENDPOINT`})}),_jsxs(_components.td,{children:[`when `,_jsx(_components.code,{children:`base_url`}),` is empty`]}),_jsx(_components.td,{children:`The service URL.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`WESTYX_NEXUS_LOG_STARTUP`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`1`}),`, on a client created without `,_jsx(_components.code,{children:`logger=`})]}),_jsxs(_components.td,{children:[`Also writes the `,_jsx(_components.a,{href:`/sdks/python/logging#the-startup-summary`,children:`startup summary`}),` to standard error.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`WESTYX_DEV_TOKEN`})}),_jsxs(_components.td,{children:[`by the `,_jsx(_components.code,{children:`developer`}),` WIF provider`]}),_jsx(_components.td,{children:`A developer session, overriding the credentials file.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`framework-adapters`,children:`Framework adapters`}),`\n`,_jsxs(_components.p,{children:[`The Flask extension (`,_jsx(_components.code,{children:`app.config`}),`) and the Django app (`,_jsx(_components.code,{children:`settings.py`}),`) read `,_jsx(_components.code,{children:`NEXUS_BASE_URL`}),`, `,_jsx(_components.code,{children:`NEXUS_API_KEY`}),`, `,_jsx(_components.code,{children:`NEXUS_WIF`}),`, `,_jsx(_components.code,{children:`NEXUS_TTL_SECONDS`}),` and `,_jsx(_components.code,{children:`NEXUS_STREAM`}),`. Every setting is optional. `,_jsx(_components.code,{children:`NEXUS_BASE_URL`}),` falls back to `,_jsx(_components.code,{children:`WESTYX_SERVICE_ENDPOINT`}),`; `,_jsx(_components.code,{children:`NEXUS_WIF`}),` takes a `,_jsx(_components.code,{children:`WIFConfig`}),` or a mapping of its fields (`,_jsx(_components.code,{children:`{\"enabled\": True, \"provider\": \"kubernetes\"}`}),`). With neither `,_jsx(_components.code,{children:`NEXUS_API_KEY`}),` nor `,_jsx(_components.code,{children:`NEXUS_WIF`}),` the adapter uses Workload Identity Federation with the default provider, which finds the session `,_jsx(_components.code,{children:`westyx dev setup`}),` wrote - so under `,_jsx(_components.code,{children:`westyx dev run`}),` it needs no Nexus settings at all. See `,_jsx(_components.a,{href:`/sdks/python/framework-adapters`,children:`Framework adapters`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Python SDK - Configuration","description":"NexusConfig field reference and TTL guidance for the Python SDK.","href":"/sdks/python/configuration"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Field reference","slug":"field-reference","depth":2,"children":[]},{"title":"WIFConfig fields","slug":"wifconfig-fields","depth":2,"children":[]},{"title":"API key types","slug":"api-key-types","depth":2,"children":[]},{"title":"Where to keep the API key","slug":"where-to-keep-the-api-key","depth":2,"children":[]},{"title":"Choosing the TTL","slug":"choosing-the-ttl","depth":2,"children":[]},{"title":"Disabling SSE","slug":"disabling-sse","depth":2,"children":[]},{"title":"Environment variables","slug":"environment-variables","depth":2,"children":[]},{"title":"Framework adapters","slug":"framework-adapters","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"westyx","siteName":"Westyx Nexus","title":"Python SDK - Configuration - Westyx Nexus","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T08:47:33.244Z","originalFileLocation":"sdks/python/configuration.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"NexusConfig field reference and TTL guidance for the Python SDK.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Westyx Nexus\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Python SDK - Configuration - Westyx Nexus\">\u003cmeta data-mint-head property=\"og:description\" content=\"NexusConfig field reference and TTL guidance for the Python SDK.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Westyx Nexus\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.westyx.dev/sdks/python/configuration\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://westyx.mintlify.site/_mintlify/api/og/v2?division=Python\u0026amp;title=Python+SDK+-+Configuration\u0026amp;description=NexusConfig+field+reference+and+TTL+guidance+for+the+Python+SDK.\u0026amp;theme=2bda145bf35d10a16e63e692\u0026amp;signature=89b17a8d17297218fa2563730f23afa108b47380ac7c7580803ed85e82ad46be\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Python SDK - Configuration - Westyx Nexus\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"NexusConfig field reference and TTL guidance for the Python SDK.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://westyx.mintlify.site/_mintlify/api/og/v2?division=Python\u0026amp;title=Python+SDK+-+Configuration\u0026amp;description=NexusConfig+field+reference+and+TTL+guidance+for+the+Python+SDK.\u0026amp;theme=2bda145bf35d10a16e63e692\u0026amp;signature=89b17a8d17297218fa2563730f23afa108b47380ac7c7580803ed85e82ad46be\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/westyx/XN0iyph2fdpbzBTn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Westyx Nexus\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#a855f7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.westyx.dev/sdks/python/configuration\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/sdks/python/configuration.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.westyx.dev/#organization\",\"name\":\"Westyx Nexus\",\"url\":\"https://docs.westyx.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/westyx/SZvVVOurEPriggFG/nexus-logo.webp?fit=max\u0026auto=format\u0026n=SZvVVOurEPriggFG\u0026q=85\u0026s=6ffbf78ce14ec5ee73fe3b569f8953a9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.westyx.dev#website\",\"name\":\"Westyx Nexus\",\"url\":\"https://docs.westyx.dev\",\"publisher\":{\"@id\":\"https://docs.westyx.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.westyx.dev/sdks/python/configuration#webpage\",\"url\":\"https://docs.westyx.dev/sdks/python/configuration\",\"name\":\"Python SDK - Configuration\",\"description\":\"NexusConfig field reference and TTL guidance for the Python SDK.\",\"dateModified\":\"2026-11-12T08:47:33.244Z\",\"isPartOf\":{\"@id\":\"https://docs.westyx.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.westyx.dev/sdks/python/configuration#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.westyx.dev/sdks/python/configuration#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Backend SDKs\",\"item\":\"https://docs.westyx.dev/sdks/go\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https://docs.westyx.dev/sdks/python\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python SDK - Configuration\",\"item\":\"https://docs.westyx.dev/sdks/python/configuration\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.westyx.dev/sdks/python/configuration#article\",\"headline\":\"Python SDK - Configuration\",\"name\":\"Python SDK - Configuration\",\"description\":\"NexusConfig field reference and TTL guidance for the Python SDK.\",\"url\":\"https://docs.westyx.dev/sdks/python/configuration\",\"mainEntityOfPage\":{\"@id\":\"https://docs.westyx.dev/sdks/python/configuration#webpage\"},\"dateModified\":\"2026-11-12T08:47:33.244Z\",\"publisher\":{\"@id\":\"https://docs.westyx.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.westyx.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Westyx Nexus\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Westyx Nexus\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/sdks/python/configuration.md","siteName":"Westyx Nexus","nav":{"global":null,"tabs":[{"tab":"Platform","pages":[{"title":"Platform","href":""}]},{"tab":"Features","pages":[{"title":"Features","href":"/features/secrets"}]},{"tab":"SDKs","groups":[{"group":"Overview","pages":[{"title":"SDK Overview","icon":"grid-2","href":"/sdks/overview"}]},{"group":"Backend SDKs","pages":[{"group":"Go","icon":"golang","pages":[{"title":"Go SDK","href":"/sdks/go/index"},{"title":"Go SDK - Installation","href":"/sdks/go/installation"},{"title":"Go SDK - Configuration","href":"/sdks/go/configuration"},{"title":"Go SDK - API Reference","href":"/sdks/go/api-reference"},{"title":"Go SDK - Config values","href":"/sdks/go/config-values"},{"title":"Go SDK - Logging","href":"/sdks/go/logging"},{"title":"Go SDK - Error Handling","href":"/sdks/go/error-handling"},{"title":"Go SDK - SSE Live Updates","href":"/sdks/go/sse-live-updates"},{"title":"Go SDK - Stream Observer","href":"/sdks/go/stream-observer"},{"title":"Go SDK - Workload Identity Federation","href":"/sdks/go/workload-identity"},{"title":"Go SDK - Caching Behaviour","href":"/sdks/go/caching-behaviour"},{"title":"Go SDK - OpenFeature integration","href":"/sdks/go/openfeature"},{"title":"Go SDK - Version history","href":"/sdks/go/version-history"}]},{"group":"Node.js","icon":"node-js","pages":[{"title":"Node.js SDK","href":"/sdks/nodejs/index"},{"title":"Node.js SDK - Installation","href":"/sdks/nodejs/installation"},{"title":"Node.js SDK - NestJS","href":"/sdks/nodejs/nestjs"},{"title":"Node.js SDK - Configuration","href":"/sdks/nodejs/configuration"},{"title":"Node.js SDK - API Reference","href":"/sdks/nodejs/api-reference"},{"title":"Node.js SDK - Config values","href":"/sdks/nodejs/config-values"},{"title":"Node.js SDK - Logging","href":"/sdks/nodejs/logging"},{"title":"Node.js SDK - Error Handling","href":"/sdks/nodejs/error-handling"},{"title":"Node.js SDK - File-type secret security","href":"/sdks/nodejs/file-secret-security"},{"title":"Node.js SDK - SSE Live Updates","href":"/sdks/nodejs/sse-live-updates"},{"title":"Node.js SDK - Stream Observer","href":"/sdks/nodejs/stream-observer"},{"title":"Node.js SDK - Workload Identity Federation","href":"/sdks/nodejs/workload-identity"},{"title":"Node.js SDK - Caching Behaviour","href":"/sdks/nodejs/caching-behaviour"},{"title":"Node.js SDK - OpenFeature","href":"/sdks/nodejs/openfeature"},{"title":"Node.js SDK - Version history","href":"/sdks/nodejs/version-history"}]},{"group":"Python","icon":"python","pages":[{"title":"Python SDK","href":"/sdks/python/index"},{"title":"Python SDK - Installation","description":"Register the GitLab PyPI registry and install the Python SDK.","href":"/sdks/python/installation"},{"title":"Python SDK - Configuration","href":"/sdks/python/configuration"},{"title":"Python SDK - Framework adapters","description":"Django, FastAPI and Flask integrations: settings, lifecycle and logging.","href":"/sdks/python/framework-adapters"},{"title":"Python SDK - Logging","href":"/sdks/python/logging"},{"title":"Python SDK - API Reference","href":"/sdks/python/api-reference"},{"title":"Python SDK - Error Handling","href":"/sdks/python/error-handling"},{"title":"Python SDK - SSE Live Updates","href":"/sdks/python/sse-live-updates"},{"title":"Python SDK - Stream Observer","href":"/sdks/python/stream-observer"},{"title":"Python SDK - Workload Identity Federation","href":"/sdks/python/workload-identity"},{"title":"Python SDK - Caching Behaviour","href":"/sdks/python/caching-behaviour"},{"title":"Python SDK - Type checking","href":"/sdks/python/type-checking"},{"title":"Python SDK - File-type secret security","href":"/sdks/python/file-secret-security"},{"title":"Python SDK - OpenFeature provider","href":"/sdks/python/openfeature-provider"},{"title":"Python SDK - Version history","href":"/sdks/python/version-history"}]},{"group":".NET","icon":"microsoft","pages":[{"group":"Getting started","pages":[{"title":".NET SDK","href":"/sdks/dotnet/index"},{"title":".NET SDK - Getting started with ASP.NET Core","href":"/sdks/dotnet/getting-started"},{"title":".NET SDK - Installation","href":"/sdks/dotnet/installation"}]},{"group":"Integration","pages":[{"title":".NET SDK - Wiring the packages together","href":"/sdks/dotnet/package-wiring"},{"title":".NET SDK - Dependency injection","href":"/sdks/dotnet/dependency-injection"},{"title":".NET SDK - ASP.NET Core IConfiguration","href":"/sdks/dotnet/aspnetcore-configuration"},{"title":".NET SDK - Secrets binding","href":"/sdks/dotnet/secrets-binding"},{"title":".NET SDK - Feature management","href":"/sdks/dotnet/feature-management"},{"title":"OpenFeature integration","href":"/sdks/dotnet/openfeature"}]},{"group":"Reference","pages":[{"title":".NET SDK - Configuration","href":"/sdks/dotnet/configuration"},{"title":".NET SDK - API Reference","href":"/sdks/dotnet/api-reference"},{"title":".NET SDK - Error Handling","href":"/sdks/dotnet/error-handling"},{"title":".NET SDK - Caching Behaviour","href":"/sdks/dotnet/caching-behaviour"},{"title":".NET SDK - SSE Live Updates","href":"/sdks/dotnet/sse-live-updates"},{"title":".NET SDK - Stream Observer","href":"/sdks/dotnet/stream-observer"},{"title":".NET SDK - Workload Identity Federation","href":"/sdks/dotnet/workload-identity"}]},{"group":"Operations","pages":[{"title":".NET SDK - Logging","href":"/sdks/dotnet/logging"},{"title":".NET SDK - OpenTelemetry","href":"/sdks/dotnet/opentelemetry"},{"title":".NET SDK - Trimming and Native AOT","href":"/sdks/dotnet/trimming-and-aot"}]},{"group":"Background","pages":[{"title":".NET SDK - Design decisions and deviations","href":"/sdks/dotnet/design-decisions"},{"title":".NET SDK - Version history","href":"/sdks/dotnet/version-history"}]}]},{"group":"Spring Boot","icon":"java","pages":[{"title":"Spring Boot SDK","href":"/sdks/spring-boot/index"},{"title":"Spring Boot SDK - Installation","href":"/sdks/spring-boot/installation"},{"title":"Spring Boot SDK - Configuration","href":"/sdks/spring-boot/configuration"},{"title":"Spring Boot SDK - JSON values","href":"/sdks/spring-boot/json-values"},{"title":"Spring Boot SDK - API Reference","href":"/sdks/spring-boot/api-reference"},{"title":"Spring Boot SDK - Error Handling","href":"/sdks/spring-boot/error-handling"},{"title":"Spring Boot SDK - Logging","href":"/sdks/spring-boot/logging"},{"title":"Spring Boot SDK - SSE Live Updates","href":"/sdks/spring-boot/sse-live-updates"},{"title":"Spring Boot SDK - Stream Observer","href":"/sdks/spring-boot/stream-observer"},{"title":"Spring Boot SDK - Workload Identity Federation","href":"/sdks/spring-boot/workload-identity"},{"title":"Spring Boot SDK - Caching Behaviour","href":"/sdks/spring-boot/caching-behaviour"},{"title":"OpenFeature integration","href":"/sdks/spring-boot/openfeature"},{"title":"Spring Boot SDK - Version history","href":"/sdks/spring-boot/version-history"}]},{"group":"Kotlin","icon":"k","pages":[{"title":"Kotlin SDK","href":"/sdks/kotlin/index"},{"title":"Kotlin SDK - Installation","href":"/sdks/kotlin/installation"},{"title":"Kotlin SDK - Configuration","href":"/sdks/kotlin/configuration"},{"title":"Kotlin SDK - API Reference","href":"/sdks/kotlin/api-reference"},{"title":"Kotlin SDK - Logging","href":"/sdks/kotlin/logging"},{"title":"Kotlin SDK - Error Handling","href":"/sdks/kotlin/error-handling"},{"title":"Kotlin SDK - SSE Live Updates","href":"/sdks/kotlin/sse-live-updates"},{"title":"Kotlin SDK - Stream Observer","href":"/sdks/kotlin/stream-observer"},{"title":"Kotlin SDK - Workload Identity Federation","href":"/sdks/kotlin/workload-identity"},{"title":"Kotlin SDK - Caching Behaviour","href":"/sdks/kotlin/caching-behaviour"},{"title":"Kotlin SDK - Ktor Plugin","href":"/sdks/kotlin/ktor-plugin"},{"title":"OpenFeature integration","href":"/sdks/kotlin/openfeature"},{"title":"Kotlin SDK - Version history","href":"/sdks/kotlin/version-history"}]},{"group":"PHP","icon":"php","pages":[{"title":"PHP SDK","href":"/sdks/php/index"},{"title":"PHP SDK - Installation","href":"/sdks/php/installation"},{"title":"PHP SDK - Configuration","href":"/sdks/php/configuration"},{"title":"PHP SDK - API Reference","href":"/sdks/php/api-reference"},{"title":"PHP SDK - HTTP Client","href":"/sdks/php/http-client"},{"title":"PHP SDK - Error Handling","href":"/sdks/php/error-handling"},{"title":"PHP SDK - SSE Live Updates","href":"/sdks/php/sse-live-updates"},{"title":"PHP SDK - Caching Behaviour","href":"/sdks/php/caching-behaviour"},{"title":"PHP SDK - Workload Identity Federation","href":"/sdks/php/workload-identity"},{"title":"PHP SDK - Custom Logging","href":"/sdks/php/custom-logging"},{"title":"PHP SDK - Laravel","href":"/sdks/php/laravel"},{"title":"PHP SDK - OpenFeature Provider","href":"/sdks/php/openfeature"},{"title":"PHP SDK - Version history","href":"/sdks/php/version-history"}]},{"group":"Rust","icon":"rust","pages":[{"title":"Rust SDK","href":"/sdks/rust/index"},{"title":"Rust SDK - Installation","href":"/sdks/rust/installation"},{"title":"Rust SDK - Configuration","href":"/sdks/rust/configuration"},{"title":"Rust SDK - API reference","href":"/sdks/rust/api-reference"},{"title":"Rust SDK - Logging","href":"/sdks/rust/logging"},{"title":"Rust SDK - Error handling","href":"/sdks/rust/error-handling"},{"title":"Rust SDK - SSE live updates","href":"/sdks/rust/sse-live-updates"},{"title":"Rust SDK - Caching behaviour","href":"/sdks/rust/caching-behaviour"},{"title":"Rust SDK - Workload identity","href":"/sdks/rust/workload-identity"},{"title":"Rust SDK - OpenFeature","href":"/sdks/rust/openfeature"},{"title":"Rust SDK - Async migration","href":"/sdks/rust/async-migration"},{"title":"Rust SDK - Version history","href":"/sdks/rust/version-history"}]}]},{"group":"Browser SDKs","pages":[{"group":"Angular","icon":"angular","pages":[{"title":"Angular SDK","href":"/sdks/angular/index"},{"title":"Angular SDK - Installation","href":"/sdks/angular/installation"},{"title":"Angular SDK - Configuration","href":"/sdks/angular/configuration"},{"title":"Angular SDK - Caching behaviour","href":"/sdks/angular/caching-behaviour"},{"title":"Angular SDK - Custom logging","href":"/sdks/angular/custom-logging"},{"title":"Angular SDK - API reference","href":"/sdks/angular/api-reference"},{"title":"Angular SDK - Error handling","href":"/sdks/angular/error-handling"},{"title":"Angular SDK - Live updates","href":"/sdks/angular/sse-live-updates"},{"title":"Angular SDK - Stream observer","href":"/sdks/angular/stream-observer"},{"title":"Angular SDK - OpenFeature","href":"/sdks/angular/openfeature"}]},{"group":"React","icon":"react","pages":[{"group":"Getting started","pages":[{"title":"React SDK","href":"/sdks/react/index"},{"title":"React SDK - Getting started with Next.js","href":"/sdks/react/getting-started"},{"title":"React SDK - Installation","href":"/sdks/react/installation"}]},{"group":"Integration","pages":[{"title":"React SDK - Configuration","href":"/sdks/react/configuration"},{"title":"React SDK - OpenFeature","href":"/sdks/react/openfeature"}]},{"group":"Reference","pages":[{"title":"React SDK - API reference","href":"/sdks/react/api-reference"},{"title":"React SDK - Error handling","href":"/sdks/react/error-handling"},{"title":"React SDK - Caching behaviour","href":"/sdks/react/caching-behaviour"},{"title":"React SDK - Live updates","href":"/sdks/react/sse-live-updates"},{"title":"React SDK - Stream observer","href":"/sdks/react/stream-observer"}]},{"group":"Operations","pages":[{"title":"React SDK - Custom logging","href":"/sdks/react/custom-logging"}]},{"group":"Background","pages":[{"title":"React SDK - Design decisions","href":"/sdks/react/design-decisions"},{"title":"React SDK - Version history","href":"/sdks/react/version-history"}]}]},{"group":"Vue","icon":"vuejs","pages":[{"title":"Vue SDK","href":"/sdks/vue/index"},{"title":"Vue SDK - Installation","href":"/sdks/vue/installation"},{"title":"Vue SDK - Configuration","href":"/sdks/vue/configuration"},{"title":"Vue SDK - Caching behaviour","href":"/sdks/vue/caching-behaviour"},{"title":"Vue SDK - Custom logging","href":"/sdks/vue/custom-logging"},{"title":"Vue SDK - API reference","href":"/sdks/vue/api-reference"},{"title":"Vue SDK - Error handling","href":"/sdks/vue/error-handling"},{"title":"Vue SDK - Live updates","href":"/sdks/vue/sse-live-updates"},{"title":"Vue SDK - Stream observer","href":"/sdks/vue/stream-observer"},{"title":"Vue SDK - OpenFeature","href":"/sdks/vue/openfeature"}]}]},{"group":"OpenFeature Providers","pages":[{"group":"OpenFeature Web","icon":"flag","pages":[{"title":"OpenFeature Web Provider","href":"/sdks/openfeature-web-provider/index"},{"title":"OpenFeature Web Provider - Installation","href":"/sdks/openfeature-web-provider/installation"},{"title":"OpenFeature Web Provider - Usage","href":"/sdks/openfeature-web-provider/usage"},{"title":"OpenFeature Web Provider - Targeting","href":"/sdks/openfeature-web-provider/targeting"}]}]}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli"}]}]},"basePath":"","title":"Python SDK - Configuration - Westyx Nexus","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}