chore: 🐝 Update SDK - Generate (spec change merged) 0.11.31 (#450)

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2026-07-14 21:08:12 +00:00
committed by GitHub
co-authored by speakeasybot speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
parent 869165cefe
commit 06daeeb11f
23 changed files with 273 additions and 203 deletions
+2 -2
View File
@@ -3,10 +3,10 @@
import importlib.metadata
__title__: str = "openrouter"
__version__: str = "0.11.30"
__version__: str = "0.11.31"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 0.11.30 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 0.11.31 2.914.0 1.0.0 openrouter"
try:
if __package__ is not None:
@@ -36,7 +36,7 @@ class CreateGuardrailRequestTypedDict(TypedDict):
description: NotRequired[Nullable[str]]
r"""Description of the guardrail"""
enforce_zdr: NotRequired[Nullable[bool]]
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
enforce_zdr_anthropic: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided."""
enforce_zdr_google: NotRequired[Nullable[bool]]
@@ -44,7 +44,9 @@ class CreateGuardrailRequestTypedDict(TypedDict):
enforce_zdr_openai: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for OpenAI models. Falls back to enforce_zdr when not provided."""
enforce_zdr_other: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, or Google. Falls back to enforce_zdr when not provided."""
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, Google, or xAI. Falls back to enforce_zdr when not provided."""
enforce_zdr_xai: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for xAI models. Falls back to enforce_zdr when not provided."""
ignored_models: NotRequired[Nullable[List[str]]]
r"""Array of model identifiers to exclude from routing (slug or canonical_slug accepted)"""
ignored_providers: NotRequired[Nullable[List[str]]]
@@ -84,7 +86,7 @@ class CreateGuardrailRequest(BaseModel):
deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible."
),
] = UNSET
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
enforce_zdr_anthropic: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided."""
@@ -96,7 +98,10 @@ class CreateGuardrailRequest(BaseModel):
r"""Whether to enforce zero data retention for OpenAI models. Falls back to enforce_zdr when not provided."""
enforce_zdr_other: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, or Google. Falls back to enforce_zdr when not provided."""
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, Google, or xAI. Falls back to enforce_zdr when not provided."""
enforce_zdr_xai: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for xAI models. Falls back to enforce_zdr when not provided."""
ignored_models: OptionalNullable[List[str]] = UNSET
r"""Array of model identifiers to exclude from routing (slug or canonical_slug accepted)"""
@@ -127,6 +132,7 @@ class CreateGuardrailRequest(BaseModel):
"enforce_zdr_google",
"enforce_zdr_openai",
"enforce_zdr_other",
"enforce_zdr_xai",
"ignored_models",
"ignored_providers",
"limit_usd",
@@ -146,6 +152,7 @@ class CreateGuardrailRequest(BaseModel):
"enforce_zdr_google",
"enforce_zdr_openai",
"enforce_zdr_other",
"enforce_zdr_xai",
"ignored_models",
"ignored_providers",
"limit_usd",
+11 -4
View File
@@ -42,7 +42,7 @@ class GuardrailTypedDict(TypedDict):
description: NotRequired[Nullable[str]]
r"""Description of the guardrail"""
enforce_zdr: NotRequired[Nullable[bool]]
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
enforce_zdr_anthropic: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided."""
enforce_zdr_google: NotRequired[Nullable[bool]]
@@ -50,7 +50,9 @@ class GuardrailTypedDict(TypedDict):
enforce_zdr_openai: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for OpenAI models. Falls back to enforce_zdr when not provided."""
enforce_zdr_other: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, or Google. Falls back to enforce_zdr when not provided."""
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, Google, or xAI. Falls back to enforce_zdr when not provided."""
enforce_zdr_xai: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for xAI models. Falls back to enforce_zdr when not provided."""
ignored_models: NotRequired[Nullable[List[str]]]
r"""Array of model canonical_slugs to exclude from routing"""
ignored_providers: NotRequired[Nullable[List[str]]]
@@ -97,7 +99,7 @@ class Guardrail(BaseModel):
deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible."
),
] = UNSET
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
enforce_zdr_anthropic: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided."""
@@ -109,7 +111,10 @@ class Guardrail(BaseModel):
r"""Whether to enforce zero data retention for OpenAI models. Falls back to enforce_zdr when not provided."""
enforce_zdr_other: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, or Google. Falls back to enforce_zdr when not provided."""
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, Google, or xAI. Falls back to enforce_zdr when not provided."""
enforce_zdr_xai: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for xAI models. Falls back to enforce_zdr when not provided."""
ignored_models: OptionalNullable[List[str]] = UNSET
r"""Array of model canonical_slugs to exclude from routing"""
@@ -140,6 +145,7 @@ class Guardrail(BaseModel):
"enforce_zdr_google",
"enforce_zdr_openai",
"enforce_zdr_other",
"enforce_zdr_xai",
"ignored_models",
"ignored_providers",
"limit_usd",
@@ -159,6 +165,7 @@ class Guardrail(BaseModel):
"enforce_zdr_google",
"enforce_zdr_openai",
"enforce_zdr_other",
"enforce_zdr_xai",
"ignored_models",
"ignored_providers",
"limit_usd",
@@ -34,7 +34,7 @@ class UpdateGuardrailRequestTypedDict(TypedDict):
description: NotRequired[Nullable[str]]
r"""New description for the guardrail"""
enforce_zdr: NotRequired[Nullable[bool]]
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
enforce_zdr_anthropic: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided."""
enforce_zdr_google: NotRequired[Nullable[bool]]
@@ -42,7 +42,9 @@ class UpdateGuardrailRequestTypedDict(TypedDict):
enforce_zdr_openai: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for OpenAI models. Falls back to enforce_zdr when not provided."""
enforce_zdr_other: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, or Google. Falls back to enforce_zdr when not provided."""
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, Google, or xAI. Falls back to enforce_zdr when not provided."""
enforce_zdr_xai: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for xAI models. Falls back to enforce_zdr when not provided."""
ignored_models: NotRequired[Nullable[List[str]]]
r"""Array of model identifiers to exclude from routing (slug or canonical_slug accepted)"""
ignored_providers: NotRequired[Nullable[List[str]]]
@@ -79,7 +81,7 @@ class UpdateGuardrailRequest(BaseModel):
deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible."
),
] = UNSET
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
enforce_zdr_anthropic: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided."""
@@ -91,7 +93,10 @@ class UpdateGuardrailRequest(BaseModel):
r"""Whether to enforce zero data retention for OpenAI models. Falls back to enforce_zdr when not provided."""
enforce_zdr_other: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, or Google. Falls back to enforce_zdr when not provided."""
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, Google, or xAI. Falls back to enforce_zdr when not provided."""
enforce_zdr_xai: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for xAI models. Falls back to enforce_zdr when not provided."""
ignored_models: OptionalNullable[List[str]] = UNSET
r"""Array of model identifiers to exclude from routing (slug or canonical_slug accepted)"""
@@ -122,6 +127,7 @@ class UpdateGuardrailRequest(BaseModel):
"enforce_zdr_google",
"enforce_zdr_openai",
"enforce_zdr_other",
"enforce_zdr_xai",
"ignored_models",
"ignored_providers",
"limit_usd",
@@ -141,6 +147,7 @@ class UpdateGuardrailRequest(BaseModel):
"enforce_zdr_google",
"enforce_zdr_openai",
"enforce_zdr_other",
"enforce_zdr_xai",
"ignored_models",
"ignored_providers",
"limit_usd",
+20 -8
View File
@@ -367,6 +367,7 @@ class Guardrails(BaseSDK):
enforce_zdr_google: OptionalNullable[bool] = UNSET,
enforce_zdr_openai: OptionalNullable[bool] = UNSET,
enforce_zdr_other: OptionalNullable[bool] = UNSET,
enforce_zdr_xai: OptionalNullable[bool] = UNSET,
ignored_models: OptionalNullable[Iterable[str]] = UNSET,
ignored_providers: OptionalNullable[Iterable[str]] = UNSET,
limit_usd: OptionalNullable[float] = UNSET,
@@ -394,11 +395,12 @@ class Guardrails(BaseSDK):
:param content_filter_builtins: Builtin content filters to apply. The \"flag\" action is only supported for \"regex-prompt-injection\"; PII slugs (email, phone, ssn, credit-card, ip-address, person-name, address) accept \"block\" or \"redact\" only.
:param content_filters: Custom regex content filters to apply to request messages
:param description: Description of the guardrail
:param enforce_zdr: Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.
:param enforce_zdr: Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.
:param enforce_zdr_anthropic: Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided.
:param enforce_zdr_google: Whether to enforce zero data retention for Google models. Falls back to enforce_zdr when not provided.
:param enforce_zdr_openai: Whether to enforce zero data retention for OpenAI models. Falls back to enforce_zdr when not provided.
:param enforce_zdr_other: Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, or Google. Falls back to enforce_zdr when not provided.
:param enforce_zdr_other: Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, Google, or xAI. Falls back to enforce_zdr when not provided.
:param enforce_zdr_xai: Whether to enforce zero data retention for xAI models. Falls back to enforce_zdr when not provided.
:param ignored_models: Array of model identifiers to exclude from routing (slug or canonical_slug accepted)
:param ignored_providers: List of provider IDs to exclude from routing
:param limit_usd: Spending limit in USD
@@ -444,6 +446,7 @@ class Guardrails(BaseSDK):
enforce_zdr_google=enforce_zdr_google,
enforce_zdr_openai=enforce_zdr_openai,
enforce_zdr_other=enforce_zdr_other,
enforce_zdr_xai=enforce_zdr_xai,
ignored_models=utils.unmarshal(
ignored_models, OptionalNullable[List[str]]
),
@@ -578,6 +581,7 @@ class Guardrails(BaseSDK):
enforce_zdr_google: OptionalNullable[bool] = UNSET,
enforce_zdr_openai: OptionalNullable[bool] = UNSET,
enforce_zdr_other: OptionalNullable[bool] = UNSET,
enforce_zdr_xai: OptionalNullable[bool] = UNSET,
ignored_models: OptionalNullable[Iterable[str]] = UNSET,
ignored_providers: OptionalNullable[Iterable[str]] = UNSET,
limit_usd: OptionalNullable[float] = UNSET,
@@ -605,11 +609,12 @@ class Guardrails(BaseSDK):
:param content_filter_builtins: Builtin content filters to apply. The \"flag\" action is only supported for \"regex-prompt-injection\"; PII slugs (email, phone, ssn, credit-card, ip-address, person-name, address) accept \"block\" or \"redact\" only.
:param content_filters: Custom regex content filters to apply to request messages
:param description: Description of the guardrail
:param enforce_zdr: Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.
:param enforce_zdr: Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.
:param enforce_zdr_anthropic: Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided.
:param enforce_zdr_google: Whether to enforce zero data retention for Google models. Falls back to enforce_zdr when not provided.
:param enforce_zdr_openai: Whether to enforce zero data retention for OpenAI models. Falls back to enforce_zdr when not provided.
:param enforce_zdr_other: Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, or Google. Falls back to enforce_zdr when not provided.
:param enforce_zdr_other: Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, Google, or xAI. Falls back to enforce_zdr when not provided.
:param enforce_zdr_xai: Whether to enforce zero data retention for xAI models. Falls back to enforce_zdr when not provided.
:param ignored_models: Array of model identifiers to exclude from routing (slug or canonical_slug accepted)
:param ignored_providers: List of provider IDs to exclude from routing
:param limit_usd: Spending limit in USD
@@ -655,6 +660,7 @@ class Guardrails(BaseSDK):
enforce_zdr_google=enforce_zdr_google,
enforce_zdr_openai=enforce_zdr_openai,
enforce_zdr_other=enforce_zdr_other,
enforce_zdr_xai=enforce_zdr_xai,
ignored_models=utils.unmarshal(
ignored_models, OptionalNullable[List[str]]
),
@@ -1301,6 +1307,7 @@ class Guardrails(BaseSDK):
enforce_zdr_google: OptionalNullable[bool] = UNSET,
enforce_zdr_openai: OptionalNullable[bool] = UNSET,
enforce_zdr_other: OptionalNullable[bool] = UNSET,
enforce_zdr_xai: OptionalNullable[bool] = UNSET,
ignored_models: OptionalNullable[Iterable[str]] = UNSET,
ignored_providers: OptionalNullable[Iterable[str]] = UNSET,
limit_usd: OptionalNullable[float] = UNSET,
@@ -1328,11 +1335,12 @@ class Guardrails(BaseSDK):
:param content_filter_builtins: Builtin content filters to apply. Set to null to remove. The \"flag\" action is only supported for \"regex-prompt-injection\"; PII slugs (email, phone, ssn, credit-card, ip-address, person-name, address) accept \"block\" or \"redact\" only.
:param content_filters: Custom regex content filters to apply. Set to null to remove.
:param description: New description for the guardrail
:param enforce_zdr: Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.
:param enforce_zdr: Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.
:param enforce_zdr_anthropic: Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided.
:param enforce_zdr_google: Whether to enforce zero data retention for Google models. Falls back to enforce_zdr when not provided.
:param enforce_zdr_openai: Whether to enforce zero data retention for OpenAI models. Falls back to enforce_zdr when not provided.
:param enforce_zdr_other: Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, or Google. Falls back to enforce_zdr when not provided.
:param enforce_zdr_other: Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, Google, or xAI. Falls back to enforce_zdr when not provided.
:param enforce_zdr_xai: Whether to enforce zero data retention for xAI models. Falls back to enforce_zdr when not provided.
:param ignored_models: Array of model identifiers to exclude from routing (slug or canonical_slug accepted)
:param ignored_providers: List of provider IDs to exclude from routing
:param limit_usd: New spending limit in USD
@@ -1379,6 +1387,7 @@ class Guardrails(BaseSDK):
enforce_zdr_google=enforce_zdr_google,
enforce_zdr_openai=enforce_zdr_openai,
enforce_zdr_other=enforce_zdr_other,
enforce_zdr_xai=enforce_zdr_xai,
ignored_models=utils.unmarshal(
ignored_models, OptionalNullable[List[str]]
),
@@ -1512,6 +1521,7 @@ class Guardrails(BaseSDK):
enforce_zdr_google: OptionalNullable[bool] = UNSET,
enforce_zdr_openai: OptionalNullable[bool] = UNSET,
enforce_zdr_other: OptionalNullable[bool] = UNSET,
enforce_zdr_xai: OptionalNullable[bool] = UNSET,
ignored_models: OptionalNullable[Iterable[str]] = UNSET,
ignored_providers: OptionalNullable[Iterable[str]] = UNSET,
limit_usd: OptionalNullable[float] = UNSET,
@@ -1539,11 +1549,12 @@ class Guardrails(BaseSDK):
:param content_filter_builtins: Builtin content filters to apply. Set to null to remove. The \"flag\" action is only supported for \"regex-prompt-injection\"; PII slugs (email, phone, ssn, credit-card, ip-address, person-name, address) accept \"block\" or \"redact\" only.
:param content_filters: Custom regex content filters to apply. Set to null to remove.
:param description: New description for the guardrail
:param enforce_zdr: Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.
:param enforce_zdr: Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.
:param enforce_zdr_anthropic: Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided.
:param enforce_zdr_google: Whether to enforce zero data retention for Google models. Falls back to enforce_zdr when not provided.
:param enforce_zdr_openai: Whether to enforce zero data retention for OpenAI models. Falls back to enforce_zdr when not provided.
:param enforce_zdr_other: Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, or Google. Falls back to enforce_zdr when not provided.
:param enforce_zdr_other: Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, Google, or xAI. Falls back to enforce_zdr when not provided.
:param enforce_zdr_xai: Whether to enforce zero data retention for xAI models. Falls back to enforce_zdr when not provided.
:param ignored_models: Array of model identifiers to exclude from routing (slug or canonical_slug accepted)
:param ignored_providers: List of provider IDs to exclude from routing
:param limit_usd: New spending limit in USD
@@ -1590,6 +1601,7 @@ class Guardrails(BaseSDK):
enforce_zdr_google=enforce_zdr_google,
enforce_zdr_openai=enforce_zdr_openai,
enforce_zdr_other=enforce_zdr_other,
enforce_zdr_xai=enforce_zdr_xai,
ignored_models=utils.unmarshal(
ignored_models, OptionalNullable[List[str]]
),
+2 -2
View File
@@ -3068,7 +3068,7 @@ class Workspaces(BaseSDK):
) -> components.BulkRemoveWorkspaceMembersResponse:
r"""Bulk remove members from a workspace
Remove multiple members from a workspace. Members with active API keys in the workspace cannot be removed. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Remove multiple members from a workspace. Members with active API keys in the workspace cannot be removed. SCIM-managed members cannot be removed; changes must be made in your identity provider. [Management key](/docs/guides/overview/auth/management-api-keys) required.
:param id: The workspace ID (UUID) or slug
:param user_ids: List of user IDs to remove from the workspace
@@ -3220,7 +3220,7 @@ class Workspaces(BaseSDK):
) -> components.BulkRemoveWorkspaceMembersResponse:
r"""Bulk remove members from a workspace
Remove multiple members from a workspace. Members with active API keys in the workspace cannot be removed. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Remove multiple members from a workspace. Members with active API keys in the workspace cannot be removed. SCIM-managed members cannot be removed; changes must be made in your identity provider. [Management key](/docs/guides/overview/auth/management-api-keys) required.
:param id: The workspace ID (UUID) or slug
:param user_ids: List of user IDs to remove from the workspace