From 3e9d9bbf704dad16c7566a3cc5111f765425467a Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 19 Jun 2024 12:59:22 -0700 Subject: [PATCH] strict sphinx easm (#36029) --- .../azure/defender/easm/aio/operations/_operations.py | 2 ++ .../azure/defender/easm/operations/_operations.py | 2 ++ sdk/easm/azure-defender-easm/pyproject.toml | 2 ++ 3 files changed, 6 insertions(+) create mode 100644 sdk/easm/azure-defender-easm/pyproject.toml diff --git a/sdk/easm/azure-defender-easm/azure/defender/easm/aio/operations/_operations.py b/sdk/easm/azure-defender-easm/azure/defender/easm/aio/operations/_operations.py index 69dcbc0b90ff..03ea9bdf8f7e 100644 --- a/sdk/easm/azure-defender-easm/azure/defender/easm/aio/operations/_operations.py +++ b/sdk/easm/azure-defender-easm/azure/defender/easm/aio/operations/_operations.py @@ -111,6 +111,7 @@ def list( Example: .. code-block:: python + # The response is polymorphic. The following are possible polymorphic responses based off discriminator "kind": @@ -4155,6 +4156,7 @@ async def get(self, asset_id: str, **kwargs: Any) -> JSON: Example: .. code-block:: python + # The response is polymorphic. The following are possible polymorphic responses based off discriminator "kind": diff --git a/sdk/easm/azure-defender-easm/azure/defender/easm/operations/_operations.py b/sdk/easm/azure-defender-easm/azure/defender/easm/operations/_operations.py index e5b28a163a76..ba9a96efdaf7 100644 --- a/sdk/easm/azure-defender-easm/azure/defender/easm/operations/_operations.py +++ b/sdk/easm/azure-defender-easm/azure/defender/easm/operations/_operations.py @@ -860,6 +860,7 @@ def list( Example: .. code-block:: python + # The response is polymorphic. The following are possible polymorphic responses based off discriminator "kind": @@ -4904,6 +4905,7 @@ def get(self, asset_id: str, **kwargs: Any) -> JSON: Example: .. code-block:: python + # The response is polymorphic. The following are possible polymorphic responses based off discriminator "kind": diff --git a/sdk/easm/azure-defender-easm/pyproject.toml b/sdk/easm/azure-defender-easm/pyproject.toml new file mode 100644 index 000000000000..556e80ea236e --- /dev/null +++ b/sdk/easm/azure-defender-easm/pyproject.toml @@ -0,0 +1,2 @@ +[tool.azure-sdk-build] +strict_sphinx = true