You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 347b60c
Browse filesBrowse the repository at this point in the historyBrowse files
|`exclude_deprecated_after`|`X_GLEAN_EXCLUDE_DEPRECATED_AFTER`|`str` (date) | Exclude API endpoints that will be deprecated after this date (format: `YYYY-MM-DD`). Use this to test your integration against upcoming deprecations. |
1089
-
|`include_experimental`|`X_GLEAN_INCLUDE_EXPERIMENTAL`|`bool`| When `True`, enables experimental API features that are not yet generally available. Use this to preview and test new functionality. |
1089
+
|`include_beta`|`X_GLEAN_INCLUDE_BETA`|`bool`| When `True`, enables beta API features that are not yet generally available. Use this to preview and test new functionality. |
1090
+
|`include_experimental`|`X_GLEAN_INCLUDE_EXPERIMENTAL`|`bool`| Alias of `include_beta`. Existing code that uses it keeps working. |
1090
1091
1091
1092
> [!NOTE]
1092
-
> Environment variables take precedence over SDK constructor options when both are set.
1093
+
> Environment variables take precedence over SDK constructor options when both are set. `X_GLEAN_INCLUDE_BETA=true` (case-insensitive) enables beta features, and any other non-empty value overrides `include_beta=True`.
1094
+
>
1095
+
> `include_beta` and `include_experimental` are resolved separately, and either one enables beta features. Disabling one does not disable the other. Both send the `X-Glean-Include-Experimental: true` header.
1093
1096
1094
1097
> [!WARNING]
1095
-
> Experimental features may change or be removed without notice. Do not rely on experimental features in production environments.
1098
+
> Beta features may change or be removed without notice. Do not rely on beta features in production environments.
1096
1099
1097
1100
<!-- Placeholder for Future Speakeasy SDK Sections -->
0 commit comments