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 b557f41
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. |
1088
-
|`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. |
1088
+
|`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. |
1089
+
|`include_experimental`|`X_GLEAN_INCLUDE_EXPERIMENTAL`|`bool`| Alias of `include_beta`. Existing code that uses it keeps working. |
1089
1090
1090
1091
> [!NOTE]
1091
-
> Environment variables take precedence over SDK constructor options when both are set.
1092
+
> 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`.
1093
+
>
1094
+
> `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.
1092
1095
1093
1096
> [!WARNING]
1094
-
> Experimental features may change or be removed without notice. Do not rely on experimental features in production environments.
1097
+
> Beta features may change or be removed without notice. Do not rely on beta features in production environments.
1095
1098
1096
1099
<!-- Placeholder for Future Speakeasy SDK Sections -->
0 commit comments