From fad1c1827cd6283fd41171071cd35130e0a11ba5 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 3 Jul 2025 23:28:31 +0800 Subject: [PATCH 1/2] bump typespec-python (#41892) --- eng/emitter-package-lock.json | 170 +++++++++++++++++----------------- eng/emitter-package.json | 30 +++--- 2 files changed, 100 insertions(+), 100 deletions(-) diff --git a/eng/emitter-package-lock.json b/eng/emitter-package-lock.json index 458f71691b3d..29d0e4441cb0 100644 --- a/eng/emitter-package-lock.json +++ b/eng/emitter-package-lock.json @@ -5,14 +5,14 @@ "packages": { "": { "dependencies": { - "@azure-tools/typespec-python": "0.44.2" + "@azure-tools/typespec-python": "0.46.0" }, "devDependencies": { - "@azure-tools/typespec-autorest": "~0.56.0", - "@azure-tools/typespec-azure-core": "~0.56.0", - "@azure-tools/typespec-azure-resource-manager": "~0.56.0", - "@azure-tools/typespec-azure-rulesets": "~0.56.0", - "@azure-tools/typespec-client-generator-core": "~0.56.1", + "@azure-tools/typespec-autorest": "~0.57.1", + "@azure-tools/typespec-azure-core": "~0.57.0", + "@azure-tools/typespec-azure-resource-manager": "~0.57.2", + "@azure-tools/typespec-azure-rulesets": "~0.57.1", + "@azure-tools/typespec-client-generator-core": "~0.57.3", "@azure-tools/typespec-liftr-base": "0.8.0", "@typespec/compiler": "^1.0.0", "@typespec/events": "~0.70.0", @@ -95,9 +95,9 @@ } }, "node_modules/@azure-tools/typespec-client-generator-core": { - "version": "0.56.1", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.56.1.tgz", - "integrity": "sha512-sZ05davnP1JMuwPjd20VKDElgN+lP90I71Z5m1Xx9czuy0t3nyHpU5RO0V8PeGKSpCEXeQY4gjb3t2RvXXVNjQ==", + "version": "0.57.3", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.57.3.tgz", + "integrity": "sha512-c/OPeSpKH29jD2Abuli8z7ww5uorplOt9w3KbaQaMSx12u6gWi5vtYhQaFKk9AGiFGDyLPeA0+qo+UQ6t3pRBg==", "license": "MIT", "dependencies": { "change-case": "~5.4.4", @@ -127,13 +127,13 @@ "dev": true }, "node_modules/@azure-tools/typespec-python": { - "version": "0.44.2", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-python/-/typespec-python-0.44.2.tgz", - "integrity": "sha512-nnktvXc7t39ISGsp99zdBNI9ngekHS1PBKYhcYVZXHeG8ke+tDpUUWJQ/Maw6v5v4mAcL0A9/KhLXiaC+bzTSQ==", + "version": "0.46.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-python/-/typespec-python-0.46.0.tgz", + "integrity": "sha512-pxPuVFrUoDQPZ9MvAdTwDNJXqCcx04aofe0X60f4xmDyCJOGmIFvWXUSmu64Wd+mU2CeuHXCSSG3E4VO8bUnUw==", "hasInstallScript": true, "license": "MIT", "dependencies": { - "@typespec/http-client-python": "~0.11.3", + "@typespec/http-client-python": "~0.13.0", "fs-extra": "~11.2.0", "js-yaml": "~4.1.0", "semver": "~7.6.2", @@ -583,14 +583,14 @@ } }, "node_modules/@inquirer/checkbox": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.1.5.tgz", - "integrity": "sha512-swPczVU+at65xa5uPfNP9u3qx/alNwiaykiI/ExpsmMSQW55trmZcwhYWzw/7fj+n6Q8z1eENvR7vFfq9oPSAQ==", + "version": "4.1.9", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.1.9.tgz", + "integrity": "sha512-DBJBkzI5Wx4jFaYm221LHvAhpKYkhVS0k9plqHwaHhofGNxvYB7J3Bz8w+bFJ05zaMb0sZNHo4KdmENQFlNTuQ==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.10", - "@inquirer/figures": "^1.0.11", - "@inquirer/type": "^3.0.6", + "@inquirer/core": "^10.1.14", + "@inquirer/figures": "^1.0.12", + "@inquirer/type": "^3.0.7", "ansi-escapes": "^4.3.2", "yoctocolors-cjs": "^2.1.2" }, @@ -607,13 +607,13 @@ } }, "node_modules/@inquirer/confirm": { - "version": "5.1.9", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.9.tgz", - "integrity": "sha512-NgQCnHqFTjF7Ys2fsqK2WtnA8X1kHyInyG+nMIuHowVTIgIuS10T4AznI/PvbqSpJqjCUqNBlKGh1v3bwLFL4w==", + "version": "5.1.13", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.13.tgz", + "integrity": "sha512-EkCtvp67ICIVVzjsquUiVSd+V5HRGOGQfsqA4E4vMWhYnB7InUL0pa0TIWt1i+OfP16Gkds8CdIu6yGZwOM1Yw==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.10", - "@inquirer/type": "^3.0.6" + "@inquirer/core": "^10.1.14", + "@inquirer/type": "^3.0.7" }, "engines": { "node": ">=18" @@ -628,9 +628,9 @@ } }, "node_modules/@inquirer/core": { - "version": "10.1.10", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.1.10.tgz", - "integrity": "sha512-roDaKeY1PYY0aCqhRmXihrHjoSW2A00pV3Ke5fTpMCkzcGF64R8e0lw3dK+eLEHwS4vB5RnW1wuQmvzoRul8Mw==", + "version": "10.1.14", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.1.14.tgz", + "integrity": "sha512-Ma+ZpOJPewtIYl6HZHZckeX1STvDnHTCB2GVINNUlSEn2Am6LddWwfPkIGY0IUFVjUUrr/93XlBwTK6mfLjf0A==", "license": "MIT", "dependencies": { "@inquirer/figures": "^1.0.11", @@ -655,13 +655,13 @@ } }, "node_modules/@inquirer/editor": { - "version": "4.2.10", - "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.10.tgz", - "integrity": "sha512-5GVWJ+qeI6BzR6TIInLP9SXhWCEcvgFQYmcRG6d6RIlhFjM5TyG18paTGBgRYyEouvCmzeco47x9zX9tQEofkw==", + "version": "4.2.14", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.14.tgz", + "integrity": "sha512-yd2qtLl4QIIax9DTMZ1ZN2pFrrj+yL3kgIWxm34SS6uwCr0sIhsNyudUjAo5q3TqI03xx4SEBkUJqZuAInp9uA==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.10", - "@inquirer/type": "^3.0.6", + "@inquirer/core": "^10.1.14", + "@inquirer/type": "^3.0.7", "external-editor": "^3.1.0" }, "engines": { @@ -677,13 +677,13 @@ } }, "node_modules/@inquirer/expand": { - "version": "4.0.12", - "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.12.tgz", - "integrity": "sha512-jV8QoZE1fC0vPe6TnsOfig+qwu7Iza1pkXoUJ3SroRagrt2hxiL+RbM432YAihNR7m7XnU0HWl/WQ35RIGmXHw==", + "version": "4.0.16", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.16.tgz", + "integrity": "sha512-oiDqafWzMtofeJyyGkb1CTPaxUkjIcSxePHHQCfif8t3HV9pHcw1Kgdw3/uGpDvaFfeTluwQtWiqzPVjAqS3zA==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.10", - "@inquirer/type": "^3.0.6", + "@inquirer/core": "^10.1.14", + "@inquirer/type": "^3.0.7", "yoctocolors-cjs": "^2.1.2" }, "engines": { @@ -708,13 +708,13 @@ } }, "node_modules/@inquirer/input": { - "version": "4.1.9", - "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.1.9.tgz", - "integrity": "sha512-mshNG24Ij5KqsQtOZMgj5TwEjIf+F2HOESk6bjMwGWgcH5UBe8UoljwzNFHqdMbGYbgAf6v2wU/X9CAdKJzgOA==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.2.0.tgz", + "integrity": "sha512-opqpHPB1NjAmDISi3uvZOTrjEEU5CWVu/HBkDby8t93+6UxYX0Z7Ps0Ltjm5sZiEbWenjubwUkivAEYQmy9xHw==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.10", - "@inquirer/type": "^3.0.6" + "@inquirer/core": "^10.1.14", + "@inquirer/type": "^3.0.7" }, "engines": { "node": ">=18" @@ -729,13 +729,13 @@ } }, "node_modules/@inquirer/number": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.12.tgz", - "integrity": "sha512-7HRFHxbPCA4e4jMxTQglHJwP+v/kpFsCf2szzfBHy98Wlc3L08HL76UDiA87TOdX5fwj2HMOLWqRWv9Pnn+Z5Q==", + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.16.tgz", + "integrity": "sha512-kMrXAaKGavBEoBYUCgualbwA9jWUx2TjMA46ek+pEKy38+LFpL9QHlTd8PO2kWPUgI/KB+qi02o4y2rwXbzr3Q==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.10", - "@inquirer/type": "^3.0.6" + "@inquirer/core": "^10.1.14", + "@inquirer/type": "^3.0.7" }, "engines": { "node": ">=18" @@ -750,13 +750,13 @@ } }, "node_modules/@inquirer/password": { - "version": "4.0.12", - "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.12.tgz", - "integrity": "sha512-FlOB0zvuELPEbnBYiPaOdJIaDzb2PmJ7ghi/SVwIHDDSQ2K4opGBkF+5kXOg6ucrtSUQdLhVVY5tycH0j0l+0g==", + "version": "4.0.16", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.16.tgz", + "integrity": "sha512-g8BVNBj5Zeb5/Y3cSN+hDUL7CsIFDIuVxb9EPty3lkxBaYpjL5BNRKSYOF9yOLe+JOcKFd+TSVeADQ4iSY7rbg==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.10", - "@inquirer/type": "^3.0.6", + "@inquirer/core": "^10.1.14", + "@inquirer/type": "^3.0.7", "ansi-escapes": "^4.3.2" }, "engines": { @@ -772,21 +772,21 @@ } }, "node_modules/@inquirer/prompts": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.5.0.tgz", - "integrity": "sha512-tk8Bx7l5AX/CR0sVfGj3Xg6v7cYlFBkEahH+EgBB+cZib6Fc83dwerTbzj7f2+qKckjIUGsviWRI1d7lx6nqQA==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.6.0.tgz", + "integrity": "sha512-jAhL7tyMxB3Gfwn4HIJ0yuJ5pvcB5maYUcouGcgd/ub79f9MqZ+aVnBtuFf+VC2GTkCBF+R+eo7Vi63w5VZlzw==", "license": "MIT", "dependencies": { - "@inquirer/checkbox": "^4.1.5", - "@inquirer/confirm": "^5.1.9", - "@inquirer/editor": "^4.2.10", - "@inquirer/expand": "^4.0.12", - "@inquirer/input": "^4.1.9", - "@inquirer/number": "^3.0.12", - "@inquirer/password": "^4.0.12", - "@inquirer/rawlist": "^4.1.0", - "@inquirer/search": "^3.0.12", - "@inquirer/select": "^4.2.0" + "@inquirer/checkbox": "^4.1.9", + "@inquirer/confirm": "^5.1.13", + "@inquirer/editor": "^4.2.14", + "@inquirer/expand": "^4.0.16", + "@inquirer/input": "^4.2.0", + "@inquirer/number": "^3.0.16", + "@inquirer/password": "^4.0.16", + "@inquirer/rawlist": "^4.1.4", + "@inquirer/search": "^3.0.16", + "@inquirer/select": "^4.2.4" }, "engines": { "node": ">=18" @@ -801,13 +801,13 @@ } }, "node_modules/@inquirer/rawlist": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.0.tgz", - "integrity": "sha512-6ob45Oh9pXmfprKqUiEeMz/tjtVTFQTgDDz1xAMKMrIvyrYjAmRbQZjMJfsictlL4phgjLhdLu27IkHNnNjB7g==", + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.4.tgz", + "integrity": "sha512-5GGvxVpXXMmfZNtvWw4IsHpR7RzqAR624xtkPd1NxxlV5M+pShMqzL4oRddRkg8rVEOK9fKdJp1jjVML2Lr7TQ==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.10", - "@inquirer/type": "^3.0.6", + "@inquirer/core": "^10.1.14", + "@inquirer/type": "^3.0.7", "yoctocolors-cjs": "^2.1.2" }, "engines": { @@ -823,14 +823,14 @@ } }, "node_modules/@inquirer/search": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.0.12.tgz", - "integrity": "sha512-H/kDJA3kNlnNIjB8YsaXoQI0Qccgf0Na14K1h8ExWhNmUg2E941dyFPrZeugihEa9AZNW5NdsD/NcvUME83OPQ==", + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.0.16.tgz", + "integrity": "sha512-POCmXo+j97kTGU6aeRjsPyuCpQQfKcMXdeTMw708ZMtWrj5aykZvlUxH4Qgz3+Y1L/cAVZsSpA+UgZCu2GMOMg==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.10", - "@inquirer/figures": "^1.0.11", - "@inquirer/type": "^3.0.6", + "@inquirer/core": "^10.1.14", + "@inquirer/figures": "^1.0.12", + "@inquirer/type": "^3.0.7", "yoctocolors-cjs": "^2.1.2" }, "engines": { @@ -846,14 +846,14 @@ } }, "node_modules/@inquirer/select": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.2.0.tgz", - "integrity": "sha512-KkXQ4aSySWimpV4V/TUJWdB3tdfENZUU765GjOIZ0uPwdbGIG6jrxD4dDf1w68uP+DVtfNhr1A92B+0mbTZ8FA==", + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.2.4.tgz", + "integrity": "sha512-unTppUcTjmnbl/q+h8XeQDhAqIOmwWYWNyiiP2e3orXrg6tOaa5DHXja9PChCSbChOsktyKgOieRZFnajzxoBg==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.10", - "@inquirer/figures": "^1.0.11", - "@inquirer/type": "^3.0.6", + "@inquirer/core": "^10.1.14", + "@inquirer/figures": "^1.0.12", + "@inquirer/type": "^3.0.7", "ansi-escapes": "^4.3.2", "yoctocolors-cjs": "^2.1.2" }, @@ -1020,9 +1020,9 @@ } }, "node_modules/@typespec/http-client-python": { - "version": "0.11.3", - "resolved": "https://registry.npmjs.org/@typespec/http-client-python/-/http-client-python-0.11.3.tgz", - "integrity": "sha512-ikNjmIadoLmBf26/+3njMWs0jeqEvNalPvxGIYv4q9L08TQIUYFUMDLWzwZQr9RA8U7B++5PtSG06MGbfK8vOw==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@typespec/http-client-python/-/http-client-python-0.13.0.tgz", + "integrity": "sha512-Bp50tOTHeVOJNYUeuABqdSnlPVCYUj6HiwfYl4AofwAmiZl6Cyh7z9TrT6OJQNpAKjFDIThegChdXUpj1uKTmQ==", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/eng/emitter-package.json b/eng/emitter-package.json index 9d6ed0d7adc3..c60b2096adaa 100644 --- a/eng/emitter-package.json +++ b/eng/emitter-package.json @@ -1,23 +1,23 @@ { "main": "dist/src/index.js", "dependencies": { - "@azure-tools/typespec-python": "0.44.2" + "@azure-tools/typespec-python": "0.46.0" }, "devDependencies": { - "@typespec/compiler": "^1.0.0", - "@typespec/http": "^1.0.0", - "@typespec/rest": "~0.70.0", - "@typespec/versioning": "~0.70.0", - "@typespec/openapi": "^1.0.0", - "@typespec/events": "~0.70.0", - "@typespec/sse": "~0.70.0", - "@typespec/streams": "~0.70.0", - "@typespec/xml": "~0.70.0", - "@azure-tools/typespec-azure-core": "~0.56.0", - "@azure-tools/typespec-azure-resource-manager": "~0.56.0", - "@azure-tools/typespec-autorest": "~0.56.0", - "@azure-tools/typespec-azure-rulesets": "~0.56.0", - "@azure-tools/typespec-client-generator-core": "~0.56.1", + "@typespec/compiler": "^1.1.0", + "@typespec/http": "^1.1.0", + "@typespec/rest": "~0.71.0", + "@typespec/versioning": "~0.71.0", + "@typespec/openapi": "^1.1.0", + "@typespec/events": "~0.71.0", + "@typespec/sse": "~0.71.0", + "@typespec/streams": "~0.71.0", + "@typespec/xml": "~0.71.0", + "@azure-tools/typespec-azure-core": "~0.57.0", + "@azure-tools/typespec-azure-resource-manager": "~0.57.2", + "@azure-tools/typespec-autorest": "~0.57.1", + "@azure-tools/typespec-azure-rulesets": "~0.57.1", + "@azure-tools/typespec-client-generator-core": "~0.57.3", "@azure-tools/typespec-liftr-base": "0.8.0" } } \ No newline at end of file From 53da3e6c9ec18cc908865e2bd8c9522d6e489c57 Mon Sep 17 00:00:00 2001 From: howieleung Date: Sat, 5 Jul 2025 20:45:02 -0700 Subject: [PATCH 2/2] Made AgentsOperationsMixin private --- sdk/ai/azure-ai-agents/CHANGELOG.md | 4 ++++ sdk/ai/azure-ai-agents/azure/ai/agents/_client.py | 4 ++-- sdk/ai/azure-ai-agents/azure/ai/agents/aio/_client.py | 4 ++-- .../azure/ai/agents/aio/operations/__init__.py | 2 -- .../azure/ai/agents/aio/operations/_operations.py | 2 +- sdk/ai/azure-ai-agents/azure/ai/agents/operations/__init__.py | 2 -- .../azure-ai-agents/azure/ai/agents/operations/_operations.py | 4 +++- 7 files changed, 12 insertions(+), 10 deletions(-) diff --git a/sdk/ai/azure-ai-agents/CHANGELOG.md b/sdk/ai/azure-ai-agents/CHANGELOG.md index 34a35eba1ee2..b4afa57226e2 100644 --- a/sdk/ai/azure-ai-agents/CHANGELOG.md +++ b/sdk/ai/azure-ai-agents/CHANGELOG.md @@ -6,6 +6,10 @@ - Added samples, [`sample_agents_auto_function_call.py`](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-agents/samples/agents_tools/sample_agents_auto_function_call.py) and [`sample_agents_auto_function_call_async.py`](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-agents/samples/agents_async/sample_agents_auto_function_call_async.py). +### Bugs Fixed + +- `_AgentsClientOperationsMixin` now it is private. + ## 1.0.2 (2025-07-01) ### Bugs Fixed diff --git a/sdk/ai/azure-ai-agents/azure/ai/agents/_client.py b/sdk/ai/azure-ai-agents/azure/ai/agents/_client.py index 25ca9bf0d121..477f1668d17f 100644 --- a/sdk/ai/azure-ai-agents/azure/ai/agents/_client.py +++ b/sdk/ai/azure-ai-agents/azure/ai/agents/_client.py @@ -17,7 +17,6 @@ from ._configuration import AgentsClientConfiguration from ._utils.serialization import Deserializer, Serializer from .operations import ( - AgentsClientOperationsMixin, FilesOperations, MessagesOperations, RunStepsOperations, @@ -27,12 +26,13 @@ VectorStoreFilesOperations, VectorStoresOperations, ) +from .operations._operations import _AgentsClientOperationsMixin if TYPE_CHECKING: from azure.core.credentials import TokenCredential -class AgentsClient(AgentsClientOperationsMixin): # pylint: disable=too-many-instance-attributes +class AgentsClient(_AgentsClientOperationsMixin): # pylint: disable=too-many-instance-attributes """AgentsClient. :ivar threads: ThreadsOperations operations diff --git a/sdk/ai/azure-ai-agents/azure/ai/agents/aio/_client.py b/sdk/ai/azure-ai-agents/azure/ai/agents/aio/_client.py index d228428d68e5..a126bc591a64 100644 --- a/sdk/ai/azure-ai-agents/azure/ai/agents/aio/_client.py +++ b/sdk/ai/azure-ai-agents/azure/ai/agents/aio/_client.py @@ -17,7 +17,6 @@ from .._utils.serialization import Deserializer, Serializer from ._configuration import AgentsClientConfiguration from .operations import ( - AgentsClientOperationsMixin, FilesOperations, MessagesOperations, RunStepsOperations, @@ -27,12 +26,13 @@ VectorStoreFilesOperations, VectorStoresOperations, ) +from .operations._operations import _AgentsClientOperationsMixin if TYPE_CHECKING: from azure.core.credentials_async import AsyncTokenCredential -class AgentsClient(AgentsClientOperationsMixin): # pylint: disable=too-many-instance-attributes +class AgentsClient(_AgentsClientOperationsMixin): # pylint: disable=too-many-instance-attributes """AgentsClient. :ivar threads: ThreadsOperations operations diff --git a/sdk/ai/azure-ai-agents/azure/ai/agents/aio/operations/__init__.py b/sdk/ai/azure-ai-agents/azure/ai/agents/aio/operations/__init__.py index 68b814db1f6f..b323c1c3c268 100644 --- a/sdk/ai/azure-ai-agents/azure/ai/agents/aio/operations/__init__.py +++ b/sdk/ai/azure-ai-agents/azure/ai/agents/aio/operations/__init__.py @@ -20,7 +20,6 @@ from ._operations import VectorStoresOperations # type: ignore from ._operations import VectorStoreFilesOperations # type: ignore from ._operations import VectorStoreFileBatchesOperations # type: ignore -from ._operations import AgentsClientOperationsMixin # type: ignore from ._patch import __all__ as _patch_all from ._patch import * @@ -35,7 +34,6 @@ "VectorStoresOperations", "VectorStoreFilesOperations", "VectorStoreFileBatchesOperations", - "AgentsClientOperationsMixin", ] __all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore _patch_sdk() diff --git a/sdk/ai/azure-ai-agents/azure/ai/agents/aio/operations/_operations.py b/sdk/ai/azure-ai-agents/azure/ai/agents/aio/operations/_operations.py index 8426cfdf2fae..b03b481012f4 100644 --- a/sdk/ai/azure-ai-agents/azure/ai/agents/aio/operations/_operations.py +++ b/sdk/ai/azure-ai-agents/azure/ai/agents/aio/operations/_operations.py @@ -3988,7 +3988,7 @@ async def get_next(_continuation_token=None): return AsyncItemPaged(get_next, extract_data) -class AgentsClientOperationsMixin( +class _AgentsClientOperationsMixin( ClientMixinABC[AsyncPipelineClient[HttpRequest, AsyncHttpResponse], AgentsClientConfiguration] ): diff --git a/sdk/ai/azure-ai-agents/azure/ai/agents/operations/__init__.py b/sdk/ai/azure-ai-agents/azure/ai/agents/operations/__init__.py index 68b814db1f6f..b323c1c3c268 100644 --- a/sdk/ai/azure-ai-agents/azure/ai/agents/operations/__init__.py +++ b/sdk/ai/azure-ai-agents/azure/ai/agents/operations/__init__.py @@ -20,7 +20,6 @@ from ._operations import VectorStoresOperations # type: ignore from ._operations import VectorStoreFilesOperations # type: ignore from ._operations import VectorStoreFileBatchesOperations # type: ignore -from ._operations import AgentsClientOperationsMixin # type: ignore from ._patch import __all__ as _patch_all from ._patch import * @@ -35,7 +34,6 @@ "VectorStoresOperations", "VectorStoreFilesOperations", "VectorStoreFileBatchesOperations", - "AgentsClientOperationsMixin", ] __all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore _patch_sdk() diff --git a/sdk/ai/azure-ai-agents/azure/ai/agents/operations/_operations.py b/sdk/ai/azure-ai-agents/azure/ai/agents/operations/_operations.py index da6734ae5583..0b96599f6680 100644 --- a/sdk/ai/azure-ai-agents/azure/ai/agents/operations/_operations.py +++ b/sdk/ai/azure-ai-agents/azure/ai/agents/operations/_operations.py @@ -5087,7 +5087,9 @@ def get_next(_continuation_token=None): return ItemPaged(get_next, extract_data) -class AgentsClientOperationsMixin(ClientMixinABC[PipelineClient[HttpRequest, HttpResponse], AgentsClientConfiguration]): +class _AgentsClientOperationsMixin( + ClientMixinABC[PipelineClient[HttpRequest, HttpResponse], AgentsClientConfiguration] +): @overload def create_agent(