diff --git a/packages/autorest.python/CHANGELOG.md b/packages/autorest.python/CHANGELOG.md index be184a7e07d..09b6743732a 100644 --- a/packages/autorest.python/CHANGELOG.md +++ b/packages/autorest.python/CHANGELOG.md @@ -1,5 +1,13 @@ # Release +## 6.32.1 + +### Bug Fixes + +- [#3067](https://github.com/Azure/autorest.python/pull/3067) Fix crash when configure `license` in tspconfig.yaml` +- [#3067](https://github.com/Azure/autorest.python/pull/3067) Keep license header for legacy SDK + + ## 6.32.0 ### Features diff --git a/packages/autorest.python/package.json b/packages/autorest.python/package.json index 63ddb26cee8..701db0a3899 100644 --- a/packages/autorest.python/package.json +++ b/packages/autorest.python/package.json @@ -1,6 +1,6 @@ { "name": "@autorest/python", - "version": "6.32.0", + "version": "6.32.1", "description": "The Python extension for generators in AutoRest.", "scripts": { "start": "node ./scripts/run-python3.js ./scripts/start.py", @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/Azure/autorest.python/blob/main/README.md", "dependencies": { - "@typespec/http-client-python": "~0.9.0", + "@typespec/http-client-python": "~0.9.1", "@autorest/system-requirements": "~1.0.2", "fs-extra": "~11.2.0", "tsx": "~4.19.1" diff --git a/packages/typespec-python/CHANGELOG.md b/packages/typespec-python/CHANGELOG.md index 063cf5906fd..e4e85b426cd 100644 --- a/packages/typespec-python/CHANGELOG.md +++ b/packages/typespec-python/CHANGELOG.md @@ -1,5 +1,13 @@ # Release +## 0.42.1 + +### Bug Fixes + +- [#3067](https://github.com/Azure/autorest.python/pull/3067) Fix crash when configure `license` in tspconfig.yaml` +- [#3067](https://github.com/Azure/autorest.python/pull/3067) Keep license header for legacy SDK + + ## 0.42.0 ### Features diff --git a/packages/typespec-python/package.json b/packages/typespec-python/package.json index ed36ce48743..1d37acd2525 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/typespec-python", - "version": "0.42.0", + "version": "0.42.1", "author": "Microsoft Corporation", "description": "TypeSpec emitter for Python SDKs", "homepage": "https://github.com/Azure/autorest.python", @@ -64,7 +64,7 @@ "js-yaml": "~4.1.0", "semver": "~7.6.2", "tsx": "~4.19.1", - "@typespec/http-client-python": "~0.9.0", + "@typespec/http-client-python": "~0.9.1", "fs-extra": "~11.2.0" }, "devDependencies": { diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/__init__.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/__init__.py index 4fe58ce5af2..fb55d8ab1df 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_client.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_client.py index 2c226d655e3..1c633670189 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_client.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_configuration.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_configuration.py index 1dc6a815899..7c772291f5e 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_configuration.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_model_base.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_model_base.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_operations/__init__.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_operations/__init__.py index 75ed62e925b..9e189f9ce2b 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_operations/_operations.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_operations/_operations.py index 88c6e5d787b..07bcdba930d 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_serialization.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_serialization.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_vendor.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_vendor.py index 351a31189cc..b99f7ccffbc 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_vendor.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_version.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_version.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/__init__.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/__init__.py index a5665d821b2..a2bfcc451fb 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_client.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_client.py index cb9728a9b7a..1a8d51f1325 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_configuration.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_configuration.py index 1d90671bd26..e9bfba28202 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_operations/__init__.py index 75ed62e925b..9e189f9ce2b 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_operations/_operations.py index 329b16d80d3..cb41522dd04 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_vendor.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_vendor.py index fae2ba47a7e..4340164b26b 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/__init__.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/__init__.py index 8187b432556..afdf5ab4e36 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/_models.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/_models.py index 11442ef8ed8..724a4800fa7 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/_models.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/conftest.py index e3bc6103b50..8082748a92a 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/test_api_key.py b/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/test_api_key.py index fd34a4c7c82..2916e7b9498 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/test_api_key.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/test_api_key.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ApiKeyClientTestBase, ApiKeyPreparer diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/test_api_key_async.py b/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/test_api_key_async.py index e82e41e9f94..214be1ee608 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/test_api_key_async.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/test_api_key_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ApiKeyPreparer diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/testpreparer.py index ae25fb486ba..5af4c923ab1 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from authentication.apikey import ApiKeyClient from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/testpreparer_async.py index e67b8a8dbab..09c26f3fe60 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from authentication.apikey.aio import ApiKeyClient from devtools_testutils import AzureRecordedTestCase diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/setup.py b/packages/typespec-python/test/azure/generated/authentication-api-key/setup.py index bb1b867a819..cf87e596a49 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/setup.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/__init__.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/__init__.py index 0d5511b340f..653ae3efba8 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_client.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_client.py index 1c13ceea489..ab2aed713fa 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_client.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_configuration.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_configuration.py index eacced81001..f91121c1699 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_configuration.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_model_base.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_model_base.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_operations/__init__.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_operations/__init__.py index f3391222533..b4f0e41c524 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_operations/_operations.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_operations/_operations.py index 0e3535d5b22..07eecd4a0ff 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_serialization.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_serialization.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_vendor.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_vendor.py index 33618cec1d4..ca3074f75b4 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_vendor.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_version.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_version.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/__init__.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/__init__.py index 0a3b3d47461..38aeb6108ad 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_client.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_client.py index 4118edbd494..d4beecb8648 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_configuration.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_configuration.py index 3dadc98b9aa..d21e53eda7c 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_operations/__init__.py index f3391222533..b4f0e41c524 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_operations/_operations.py index 547570b9ab5..05d8705705c 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_vendor.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_vendor.py index 1992bdb4ad9..c795fc22c5a 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/__init__.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/__init__.py index 8187b432556..afdf5ab4e36 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/_models.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/_models.py index 11442ef8ed8..724a4800fa7 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/_models.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/conftest.py index d3f830cced9..fac3e2bc399 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/test_custom.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/test_custom.py index 6d1c5ea0285..d87f2c0f154 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/test_custom.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/test_custom.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import CustomClientTestBase, CustomPreparer diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/test_custom_async.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/test_custom_async.py index 7a42f97a35e..97407d6ad8b 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/test_custom_async.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/test_custom_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import CustomPreparer diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/testpreparer.py index 6b7fa71c155..5d6664b2552 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from authentication.http.custom import CustomClient from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/testpreparer_async.py index 1398bce947e..3355fa69b2b 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from authentication.http.custom.aio import CustomClient from devtools_testutils import AzureRecordedTestCase diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/setup.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/setup.py index d6d09457a1e..ab6df28941d 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/setup.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/__init__.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/__init__.py index 69cbcff8e65..3a6613a383e 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_client.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_client.py index 8909ebda492..8acaa0d5bba 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_client.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_configuration.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_configuration.py index 29de3d32db5..76bf6f42ba2 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_configuration.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_model_base.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_model_base.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_operations/__init__.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_operations/__init__.py index a8ae5b8db90..a623b56787b 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_operations/_operations.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_operations/_operations.py index 58257216f05..69d66aedf8c 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_serialization.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_serialization.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_vendor.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_vendor.py index 808a5aef832..18bfe1600c2 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_vendor.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_version.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_version.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/__init__.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/__init__.py index 5326eaf6743..163f532bb6b 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_client.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_client.py index 7030b913b55..e41739ecf0b 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_configuration.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_configuration.py index 5ae10fdbc24..4960264519b 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_operations/__init__.py index a8ae5b8db90..a623b56787b 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_operations/_operations.py index 5b2bfbdb979..605a9ef8500 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_vendor.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_vendor.py index 11bb1c7b5f6..b07a94fefba 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/__init__.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/__init__.py index 8187b432556..afdf5ab4e36 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/_models.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/_models.py index 11442ef8ed8..724a4800fa7 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/_models.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/conftest.py index 5ea47519c7b..f8a1115d861 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/test_oauth2.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/test_oauth2.py index 03e62b153aa..d1c8fee03c3 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/test_oauth2.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/test_oauth2.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OAuth2ClientTestBase, OAuth2Preparer diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/test_oauth2_async.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/test_oauth2_async.py index 7b385cccedb..f7f88060283 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/test_oauth2_async.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/test_oauth2_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OAuth2Preparer diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/testpreparer.py index ef64ff6b368..24fb53e3ec1 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from authentication.oauth2 import OAuth2Client from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/testpreparer_async.py index b9cfd29cf40..6eff123aef9 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from authentication.oauth2.aio import OAuth2Client from devtools_testutils import AzureRecordedTestCase diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/setup.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/setup.py index 1e14b6fc3c8..db5d58c15a9 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/setup.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/__init__.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/__init__.py index 38921c766ab..acbdf9852b1 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_client.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_client.py index d574b3e573d..88e835031b4 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_client.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, TYPE_CHECKING, Union diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_configuration.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_configuration.py index 4158d3d8285..88e5c5ebdad 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_configuration.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, TYPE_CHECKING, Union diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_model_base.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_model_base.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_operations/__init__.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_operations/__init__.py index 60f017105a1..442a1324b51 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_operations/_operations.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_operations/_operations.py index 30e19f667fb..47e6aae425f 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_serialization.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_serialization.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_vendor.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_vendor.py index ada19994ab9..b4a86bb9e91 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_vendor.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_version.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_version.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/__init__.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/__init__.py index 291f8572d59..4e89685076c 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_client.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_client.py index b11dd9520c8..8dafa9fd5ff 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable, TYPE_CHECKING, Union diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_configuration.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_configuration.py index 838122051d6..e7527e9e91d 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, TYPE_CHECKING, Union diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_operations/__init__.py index 60f017105a1..442a1324b51 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_operations/_operations.py index 0850d5f640b..f849d78b2ee 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_vendor.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_vendor.py index cb4a032fcc7..0e4af421704 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/conftest.py index a94972c7b1d..5e28d6377c8 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/test_union.py b/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/test_union.py index 8f0bc4bb57d..fdfea7e808b 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/test_union.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/test_union.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import UnionClientTestBase, UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/test_union_async.py b/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/test_union_async.py index 2a397eefe07..7efe4a658f5 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/test_union_async.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/test_union_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/testpreparer.py index 841c5bdc8af..70237769077 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from authentication.union import UnionClient from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools diff --git a/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/testpreparer_async.py index 398655a963e..7b184e26233 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from authentication.union.aio import UnionClient from devtools_testutils import AzureRecordedTestCase diff --git a/packages/typespec-python/test/azure/generated/authentication-union/setup.py b/packages/typespec-python/test/azure/generated/authentication-union/setup.py index 18e79637e05..ffadede0945 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/setup.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/conftest.py index 5375796cbc1..33880e8e0f8 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/test_access_public_operation_operations.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/test_access_public_operation_operations.py index c4722746bcd..bf07380e8fa 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/test_access_public_operation_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/test_access_public_operation_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AccessClientTestBase, AccessPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/test_access_public_operation_operations_async.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/test_access_public_operation_operations_async.py index 76931298406..2396a14d56f 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/test_access_public_operation_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/test_access_public_operation_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AccessPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/test_access_shared_model_in_operation_operations.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/test_access_shared_model_in_operation_operations.py index 3055a396e94..df2954375fd 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/test_access_shared_model_in_operation_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/test_access_shared_model_in_operation_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AccessClientTestBase, AccessPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/test_access_shared_model_in_operation_operations_async.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/test_access_shared_model_in_operation_operations_async.py index 8d1e9d6f350..a4ce11fd46b 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/test_access_shared_model_in_operation_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/test_access_shared_model_in_operation_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AccessPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/testpreparer.py index 27a797b29f8..7deee53be35 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from specs.azure.clientgenerator.core.access import AccessClient diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/testpreparer_async.py index 906ffa78385..7d4e8352e2b 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from specs.azure.clientgenerator.core.access.aio import AccessClient diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/setup.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/setup.py index 49311fc1414..c3e95806a18 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/__init__.py index 8fee0859e8c..12f58d888a5 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_client.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_client.py index a3126cf293b..c90e9c86bd3 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_configuration.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_configuration.py index d8949a29133..17d76593ee8 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_model_base.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_serialization.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_version.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/__init__.py index 5152f4451fd..cca8a2264e9 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/_client.py index a1478b53a8f..9c535497862 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/_configuration.py index 4a6e7a8d736..52d4bd9c9df 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/operations/__init__.py index be994c7ccaa..4d4e085659d 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/operations/_operations.py index 05aee096e43..a60382927e5 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/__init__.py index 7e5047a4463..19e5aaae4b4 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/_models.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/_models.py index 0aafe1731b3..73740de086a 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/_models.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Dict, Literal, Mapping, TYPE_CHECKING, overload diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/operations/__init__.py index be994c7ccaa..4d4e085659d 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/operations/_operations.py index db27380c9c7..9268632a40e 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/conftest.py index 20b6821fe87..77400d8847a 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/test_flatten_property.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/test_flatten_property.py index 4c4116b85e3..8563ebaa3b4 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/test_flatten_property.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/test_flatten_property.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import FlattenPropertyClientTestBase, FlattenPropertyPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/test_flatten_property_async.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/test_flatten_property_async.py index 47acef2c5c1..93a1b1b5eff 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/test_flatten_property_async.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/test_flatten_property_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import FlattenPropertyPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/testpreparer.py index 92f4c0b7989..739c5ff2de4 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from specs.azure.clientgenerator.core.flattenproperty import FlattenPropertyClient diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/testpreparer_async.py index 852a4a47ce7..f66cc7610b9 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from specs.azure.clientgenerator.core.flattenproperty.aio import FlattenPropertyClient diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/setup.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/setup.py index 16690f4ffb5..083bfcf0ffc 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/__init__.py index 6c5596a52d3..ef53e7666fb 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_client.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_client.py index cea81751a72..36d1697a94d 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_configuration.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_configuration.py index 68f01de7d6b..8341999c54a 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_model_base.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_operations/__init__.py index 3a13431e400..8faee47ec45 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_operations/_operations.py index 90ef60761fe..3fd8e817935 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_serialization.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_vendor.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_vendor.py index 2457c81ed59..bc0657eb4e5 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_version.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/__init__.py index 8ade1772cfa..b9f524cad79 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_client.py index 1eb52f73082..923082b5b22 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_configuration.py index acab3b58b5d..ac8e8834f92 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_operations/__init__.py index 3a13431e400..8faee47ec45 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_operations/_operations.py index 19887607ac3..19ad559a0bc 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_vendor.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_vendor.py index 671a4b22d40..56b763366fe 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/__init__.py index e5d6e2901ea..5315d18dff9 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/_models.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/_models.py index ab17c1ae62f..c1cd8057f71 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, TYPE_CHECKING, overload diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/conftest.py index 0fb0155450f..6a990b92bd7 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/test_usage_model_in_operation_operations.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/test_usage_model_in_operation_operations.py index 29f2ee06836..4cfbc8e6cbb 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/test_usage_model_in_operation_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/test_usage_model_in_operation_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import UsageClientTestBase, UsagePreparer diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/test_usage_model_in_operation_operations_async.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/test_usage_model_in_operation_operations_async.py index 27ec9e80a9a..3ab4fce35a8 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/test_usage_model_in_operation_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/test_usage_model_in_operation_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import UsagePreparer diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/testpreparer.py index ff29f144fa1..6d1b1d9481f 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from specs.azure.clientgenerator.core.usage import UsageClient diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/testpreparer_async.py index 155bce94fd5..d27978d8baa 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from specs.azure.clientgenerator.core.usage.aio import UsageClient diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/setup.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/setup.py index 24f7529befd..a2ed14ee790 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/__init__.py index f16aaa799b1..50d20a1b2af 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_client.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_client.py index 5139201b3c5..b5460b7910d 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_configuration.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_configuration.py index 6601847e878..71d5800a341 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_model_base.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_serialization.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_version.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/__init__.py index 7eb42807ab0..d861130d94b 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/_client.py index bc80a21512f..6df99c466f6 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/_configuration.py index 537bf0b2eec..422e162fe7c 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/operations/__init__.py index 5b50e6f2b8a..9a46cfc7af8 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/operations/_operations.py index d0e498e6333..1d8bd8e2cef 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/__init__.py index d42d6dc8b40..e5ed72eb8fc 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/_models.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/_models.py index 6f1ba2741ea..9126293a8fc 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, TYPE_CHECKING, overload diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/operations/__init__.py index 5b50e6f2b8a..9a46cfc7af8 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/operations/_operations.py index 88e1e423260..40ec4a8b16d 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/conftest.py index 747cfd03133..635e5035817 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/test_basic.py b/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/test_basic.py index f514aa76e76..4e1621dc840 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/test_basic.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/test_basic.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import BasicClientTestBase, BasicPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/test_basic_async.py b/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/test_basic_async.py index d6f627e817a..c3c7f05a6cf 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/test_basic_async.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/test_basic_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import BasicPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/testpreparer.py index dd7565a2d79..b662845bf16 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from specs.azure.core.basic import BasicClient diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/testpreparer_async.py index 00074e87abd..2b63ad3c8f4 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from specs.azure.core.basic.aio import BasicClient diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/setup.py b/packages/typespec-python/test/azure/generated/azure-core-basic/setup.py index 4d37f40e429..022bb2c8a75 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/__init__.py index cb2c6fe0d0f..5e4199c73ea 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_client.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_client.py index 31512aa9cd6..92d669e749c 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_configuration.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_configuration.py index 7c9cdba1c7a..e08e3001fae 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_model_base.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_operations/__init__.py index f5bcb433c8c..a3071a1a917 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_operations/_operations.py index 6f6030a3909..28fd837cb2d 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_serialization.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_vendor.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_vendor.py index 70af8cee838..a9646cc0a20 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_version.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/__init__.py index 283e7f0e5a3..96d70e522b8 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_client.py index 8bbea7dddf2..fe19dc3ae87 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_configuration.py index 7c85bb682e7..42b78d53cfd 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_operations/__init__.py index f5bcb433c8c..a3071a1a917 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_operations/_operations.py index 00975e332ed..8142baeff57 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_vendor.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_vendor.py index 2abd1bf55a6..1adc29db48d 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/__init__.py index c2d0f44e748..7d9287ac247 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/_models.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/_models.py index 7d255de0ccb..d0765992b9e 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, List, Mapping, Optional, TYPE_CHECKING, overload diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/conftest.py index 89745211e0a..066375380f8 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/test_rpc.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/test_rpc.py index 52c8dcb718e..1f3b18e28ab 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/test_rpc.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/test_rpc.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import RpcClientTestBase, RpcPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/test_rpc_async.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/test_rpc_async.py index 69cd3e5d739..9d55e7fa603 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/test_rpc_async.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/test_rpc_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import RpcPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/testpreparer.py index 22590aa3701..284ccba204e 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from specs.azure.core.lro.rpc import RpcClient diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/testpreparer_async.py index 24565ff5041..b004f72dc92 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from specs.azure.core.lro.rpc.aio import RpcClient diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/setup.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/setup.py index eedb49daa00..aaf441426b2 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/__init__.py index 9de06dcdaf8..d7911d568f2 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_client.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_client.py index 7301e1b43d2..91986b17333 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_configuration.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_configuration.py index 44962d24122..d5ff502241c 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_model_base.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_operations/__init__.py index 9eb02baef69..8f65c4838e5 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_operations/_operations.py index 88e7ac6cedd..ee881ae0645 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_serialization.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_vendor.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_vendor.py index c462d7525ce..15a90450617 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_version.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/__init__.py index f94d02ca591..9c6ab0ad2f1 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_client.py index dcb65d7578d..9c997c34626 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_configuration.py index 3d871ebd585..9c42b1e48ff 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_operations/__init__.py index 9eb02baef69..8f65c4838e5 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_operations/_operations.py index e21ec4a3d21..ade3e4d2ee4 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_vendor.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_vendor.py index abab8422955..9e0cd032e1d 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/__init__.py index 7e85c1cb408..557181480b2 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/_models.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/_models.py index f93f1825388..27c76591a96 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/conftest.py index e0622fca946..420b04f8797 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/test_standard.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/test_standard.py index 45183cc23fc..e697fd1634b 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/test_standard.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/test_standard.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import StandardClientTestBase, StandardPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/test_standard_async.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/test_standard_async.py index 9b18cb22809..5b8c4cb2479 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/test_standard_async.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/test_standard_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import StandardPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/testpreparer.py index 4cb7b436db3..e17f19a3271 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from specs.azure.core.lro.standard import StandardClient diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/testpreparer_async.py index 26d29f51668..9b1a3cbea5c 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from specs.azure.core.lro.standard.aio import StandardClient diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/setup.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/setup.py index df041f8000f..fc6c3ebfe2e 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/__init__.py index a11f6c393fb..8914d5571ec 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_client.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_client.py index 4b223a2a900..82c4ceeb159 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_configuration.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_configuration.py index d27e3484e23..b80d4326be0 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_model_base.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_operations/__init__.py index 793fa120fb1..400e221b32f 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_operations/_operations.py index 4233f85e153..46281ebcfa9 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_serialization.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_vendor.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_vendor.py index 3dd4beb1098..89c21215746 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_version.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/__init__.py index 71dc73ddeb5..89ec88ea8af 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_client.py index a73d1289065..1bf0f0b5991 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_configuration.py index 3b29c705608..d69d143b8f2 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_operations/__init__.py index 793fa120fb1..400e221b32f 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_operations/_operations.py index af6a390f9de..d4b2420ffa8 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_vendor.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_vendor.py index 387f2d57415..4461082402a 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/__init__.py index 55e2a01894d..ee2a65b6535 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/_models.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/_models.py index d7abc302216..5dc2ba3e241 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/conftest.py index 323fa6450aa..b11e17f60f7 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/test_model_azure_core_embedding_vector_operations.py b/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/test_model_azure_core_embedding_vector_operations.py index 1e51084f458..824eea481e1 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/test_model_azure_core_embedding_vector_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/test_model_azure_core_embedding_vector_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ModelClientTestBase, ModelPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/test_model_azure_core_embedding_vector_operations_async.py b/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/test_model_azure_core_embedding_vector_operations_async.py index 66ccc727aa9..b7f1463844b 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/test_model_azure_core_embedding_vector_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/test_model_azure_core_embedding_vector_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ModelPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/testpreparer.py index 6fb69406ba3..e8743f4445d 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from specs.azure.core.model import ModelClient diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/testpreparer_async.py index 4df0e4cc4d5..6eafdc7e92f 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from specs.azure.core.model.aio import ModelClient diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/setup.py b/packages/typespec-python/test/azure/generated/azure-core-model/setup.py index ccce3771224..a246e7fa095 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/__init__.py index 12a810c2556..47d83e9b4e1 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_client.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_client.py index 8cdabf0463f..df8084e94a9 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_configuration.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_configuration.py index 206d9487922..c7318273d02 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_model_base.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_serialization.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_version.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/__init__.py index c6b7dda0c5f..245ed623913 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/_client.py index 8344ae47de1..02793af67ed 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/_configuration.py index c3c3aacdcff..7bcd8f6fe5e 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/operations/__init__.py index 3983bd9a9ac..74e18edeaca 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/operations/_operations.py index f417b921c15..606c0a9dc46 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/__init__.py index 96f56f2b452..549c4df4819 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/_models.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/_models.py index ee73c54c83e..a6e7328c818 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, List, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/operations/__init__.py index 3983bd9a9ac..74e18edeaca 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/operations/_operations.py index 267ff7bbf81..a2659bd5db5 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/conftest.py index 948a2bf87c8..76efbc92590 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/test_page.py b/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/test_page.py index 408b34cda38..053081e9ec6 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/test_page.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/test_page.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import PageClientTestBase, PagePreparer diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/test_page_async.py b/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/test_page_async.py index 0ed70331e40..3bfc3a98048 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/test_page_async.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/test_page_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import PagePreparer diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/test_page_two_models_as_page_item_operations.py b/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/test_page_two_models_as_page_item_operations.py index 246d2ada677..e3b9755a70d 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/test_page_two_models_as_page_item_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/test_page_two_models_as_page_item_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import PageClientTestBase, PagePreparer diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/test_page_two_models_as_page_item_operations_async.py b/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/test_page_two_models_as_page_item_operations_async.py index 08558910195..6ce3f441718 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/test_page_two_models_as_page_item_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/test_page_two_models_as_page_item_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import PagePreparer diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/testpreparer.py index 7a2c118afdd..921bc83a56c 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from specs.azure.core.page import PageClient diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/testpreparer_async.py index 22e7835eb1f..fa9ad45c103 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from specs.azure.core.page.aio import PageClient diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/setup.py b/packages/typespec-python/test/azure/generated/azure-core-page/setup.py index 5011d22d820..5f46dee3109 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/__init__.py index 0aa68fc7d8f..fa7507aad85 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_client.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_client.py index d18a283acfe..b0184ed3e51 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_configuration.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_configuration.py index 4a375c3c544..a5fff6bed9e 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_model_base.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_serialization.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_vendor.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_vendor.py index 5a97ecdf950..d4b6b2a9067 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_version.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/__init__.py index 3008412ed34..9018fbe92eb 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/_client.py index 1fd25c26315..249f5287162 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/_configuration.py index 3ee8dbe6d75..5dbba13ee57 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/_vendor.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/_vendor.py index 685d97c2464..8d99e4023fd 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/operations/__init__.py index 6258acc9bde..0f0c4c629d8 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/operations/_operations.py index 80d32717611..8e6733fd50a 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/models/__init__.py index 3fe20e98227..7f0877c9ec2 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/models/_enums.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/models/_enums.py index 80ddf527c4b..e877093ed65 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/models/_models.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/models/_models.py index 5900bac4387..ac2679648e5 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, List, Mapping, Optional, TYPE_CHECKING, overload diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/operations/__init__.py index 6258acc9bde..0f0c4c629d8 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/operations/_operations.py index 8000692bdec..6e4313d44a0 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/conftest.py index 12dd84cf821..f7252bc7a1b 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/test_scalar_azure_location_scalar_operations.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/test_scalar_azure_location_scalar_operations.py index 65879679009..234ea6351a1 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/test_scalar_azure_location_scalar_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/test_scalar_azure_location_scalar_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ScalarClientTestBase, ScalarPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/test_scalar_azure_location_scalar_operations_async.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/test_scalar_azure_location_scalar_operations_async.py index 8c4c5539599..38cff3d36b5 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/test_scalar_azure_location_scalar_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/test_scalar_azure_location_scalar_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ScalarPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/testpreparer.py index 15d725e2d4b..cb3c43946e6 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from specs.azure.core.scalar import ScalarClient diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/testpreparer_async.py index ba628d1cd17..5d70e7f1fa2 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from specs.azure.core.scalar.aio import ScalarClient diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/setup.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/setup.py index cde45d3a796..5b860ef867c 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/__init__.py index 9c03874cf5a..f470f25cbff 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_client.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_client.py index cd9f14d1f5b..aff4e005627 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_configuration.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_configuration.py index 5277a94566e..d47b86ac812 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_model_base.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_serialization.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_version.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/__init__.py index 4460dfb4004..57a4c7c220f 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/_client.py index 343d2513b9b..1cfc559ae82 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/_configuration.py index f16685810c0..e917eca89c1 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/operations/__init__.py index fab47b378a0..f029546c555 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/operations/_operations.py index e40bc883820..6ba2ffd71ce 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/__init__.py index c97aee2c67c..042fbdea8f1 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/_models.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/_models.py index c3ffa8ca594..f8b6fba7815 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/operations/__init__.py index fab47b378a0..f029546c555 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/operations/_operations.py index 4e2a4209359..17aa7fce608 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/conftest.py index 8d561fb9c5f..fd65dd2df68 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/test_traits.py b/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/test_traits.py index 54d8aaea286..eca09365ca5 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/test_traits.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/test_traits.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import TraitsClientTestBase, TraitsPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/test_traits_async.py b/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/test_traits_async.py index 8a83d5819d5..7188bd6c1e7 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/test_traits_async.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/test_traits_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import TraitsPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/testpreparer.py index a2adcc05818..661fdabcd75 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from specs.azure.core.traits import TraitsClient diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/testpreparer_async.py index 97fae1ed91c..ee53fde0dfb 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from specs.azure.core.traits.aio import TraitsClient diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/setup.py b/packages/typespec-python/test/azure/generated/azure-core-traits/setup.py index c44490a96b9..ac3c48ebd62 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/__init__.py index ec84edd85d3..f346af27bdb 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_client.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_client.py index 8cdcf539757..66171c21f0e 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_configuration.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_configuration.py index 1814b66034a..a3ff94fcfad 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_model_base.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_operations/__init__.py index 93dd4985190..1f3894b149d 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_operations/_operations.py index d3fdaae32cb..bbb6ea903a3 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import datetime from io import IOBase import json diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_serialization.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_vendor.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_vendor.py index 98bb474aaee..85a828d8094 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import Optional, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_version.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/__init__.py index 3e3abd60382..b6d6d939e8a 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_client.py index 82d6b17b7fa..03856dd146e 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_configuration.py index 1f95336a4a3..d76adae957c 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_operations/__init__.py index 93dd4985190..1f3894b149d 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_operations/_operations.py index 1967d846ea3..0cdec372bb8 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import datetime from io import IOBase import json diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_vendor.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_vendor.py index 4f5973b0137..206aaefb870 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import Optional, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/models/__init__.py index c24cc16e13d..9cdcc5f066b 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/models/_enums.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/models/_enums.py index 0f03c2e5221..1e2417ecdd1 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/models/_models.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/models/_models.py index fb3fb7a58d1..5b4bb12d34a 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, Optional, overload diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/conftest.py index 6cbe7a62179..7c8e921ac05 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/test_duration.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/test_duration.py index 1427bfa82dc..e5e84e26ce1 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/test_duration.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/test_duration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DurationClientTestBase, DurationPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/test_duration_async.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/test_duration_async.py index 5002da02013..cb3d9bf4047 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/test_duration_async.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/test_duration_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DurationPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/testpreparer.py index 6cda67ae9a9..5182f3adebc 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from specs.azure.encode.duration import DurationClient diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/testpreparer_async.py index 02f2fde38b9..8d38c5e2b40 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from specs.azure.encode.duration.aio import DurationClient diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/setup.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/setup.py index 2d3aa246870..a88819b9e02 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/__init__.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/__init__.py index 0a1d3e4c996..c0610d47384 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_client.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_client.py index 415f2ca5cf5..686a4b7ec5e 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_configuration.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_configuration.py index 7eb0ba72369..29089b62ca4 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_model_base.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_operations/__init__.py index 8c7f39f3448..84eb3d779ef 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_operations/_operations.py index 59ec4ebc038..c373649119e 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_serialization.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_vendor.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_vendor.py index 8bf7bbc91ef..2e2565b9894 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_version.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/__init__.py index 94ecb4b1e47..27b213da2f3 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_client.py index 91e9452250f..b9186aeb4a8 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_configuration.py index 83ba5b4eab8..8c21dd16977 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_operations/__init__.py index 8c7f39f3448..84eb3d779ef 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_operations/_operations.py index 4fc1618209d..0155ccd12b6 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_vendor.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_vendor.py index 7b8dd1d4287..e4b6955d9a2 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/models/__init__.py index 5fe3b7d564e..e9df0d132b5 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/models/_models.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/models/_models.py index cbe20561f89..10672fccf8d 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation import datetime diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/generated_samples/basic.py b/packages/typespec-python/test/azure/generated/azure-example-basic/generated_samples/basic.py index dd100e05704..8fc73742343 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/generated_samples/basic.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/generated_samples/basic.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from specs.azure.example.basic import AzureExampleClient diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/conftest.py index 8bad497b272..dfc189b22aa 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/test_azure_example.py b/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/test_azure_example.py index e5196544d6b..9d66b6994ae 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/test_azure_example.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/test_azure_example.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AzureExampleClientTestBase, AzureExamplePreparer diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/test_azure_example_async.py b/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/test_azure_example_async.py index 9cde03c6472..ec5969f68e3 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/test_azure_example_async.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/test_azure_example_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AzureExamplePreparer diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/testpreparer.py index a9ceecf223a..6039e937d65 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from specs.azure.example.basic import AzureExampleClient diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/testpreparer_async.py index 2fadc148396..64243921636 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from specs.azure.example.basic.aio import AzureExampleClient diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/setup.py b/packages/typespec-python/test/azure/generated/azure-example-basic/setup.py index edfaf488b0f..feda611369d 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/__init__.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/__init__.py index c0821d8dc7c..508179d9aff 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_client.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_client.py index 148b426baa0..c633041f8a6 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_configuration.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_configuration.py index d58b03ac8a2..14df3fdec52 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_model_base.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_operations/__init__.py index 664f75d732e..b876e7a1cf6 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_operations/_operations.py index 7049030baae..0e8f98efa24 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_serialization.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_vendor.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_vendor.py index 3f16108a9f9..fbed59a5ee8 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_version.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/__init__.py index 69bd88c73bd..3f9bc9082b7 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_client.py index a1140bd6c3d..c041c6dc21c 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_configuration.py index ef934b4db56..b851be5e7f1 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_operations/__init__.py index 664f75d732e..b876e7a1cf6 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_operations/_operations.py index 3dc0cb406a6..475464cd1bb 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_vendor.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_vendor.py index 5fc3ee0e119..08b0ff0d65e 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/models/__init__.py index 9a4937c5d82..c406bd9a96e 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/models/_enums.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/models/_enums.py index 4004f20504d..f152be28fe7 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/models/_models.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/models/_models.py index 7eb2ed290ed..37203ba9955 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Dict, List, Mapping, Optional, TYPE_CHECKING, Union, overload diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/conftest.py index 2f5b1b1d57c..164dcd89702 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/test_pageable.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/test_pageable.py index bff1b02ff66..e66879ed799 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/test_pageable.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/test_pageable.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import PageableClientTestBase, PageablePreparer diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/test_pageable_async.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/test_pageable_async.py index 2c6094f082e..44faaa807bd 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/test_pageable_async.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/test_pageable_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import PageablePreparer diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/testpreparer.py index 7901b7ef26f..97506d440e4 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from specs.azure.payload.pageable import PageableClient diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/testpreparer_async.py index ce7fe6b7113..89fed6a680a 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from specs.azure.payload.pageable.aio import PageableClient diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/setup.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/setup.py index 723e21eeb2d..9f21239ea96 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/__init__.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/__init__.py index 6ff122c1497..55076a66f80 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_client.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_client.py index bd55a41ea26..932a7bec934 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_configuration.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_configuration.py index e27ba9d45f6..294df64cf30 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_model_base.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_operations/__init__.py index 94559246602..4f442d8458b 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_operations/_operations.py index 7b3db63a7ef..f2066a63a3a 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Iterable, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_serialization.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_validation.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_validation.py index 964148cf00e..752b2822f9d 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_validation.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_validation.py @@ -1,3 +1,9 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import functools diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_vendor.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_vendor.py index c1b69307c22..48587d02498 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_version.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/__init__.py index de53973183f..f5f2bb54c19 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_client.py index 68743d66176..124ed892238 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_configuration.py index 6b5e998d122..a387e70485c 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_operations/__init__.py index 94559246602..4f442d8458b 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_operations/_operations.py index 8ab77fe9080..eb6b8a225fd 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, AsyncIterable, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_vendor.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_vendor.py index bdf28f3e9e8..3c28688d845 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/__init__.py index 4cb63b0a168..7e2610ea680 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/_models.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/_models.py index c337fe4bfa8..308fc7b4730 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/__init__.py index e446bd3e23c..fdacf31ac35 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_client.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_client.py index dda4be8a415..4c1b4338a2a 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_configuration.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_configuration.py index 927fbc6613e..8868cf89947 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_model_base.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_serialization.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_version.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/__init__.py index 9679199fb66..d00abc19a4d 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/_client.py index f21255462b3..54116b5564e 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/_configuration.py index e7aacba649e..36bf09c24ac 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/operations/__init__.py index 1f567d7ecb8..f406b6d443e 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/operations/_operations.py index 9cde221a0f1..0784ca748f6 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/__init__.py index 4e18352ec3e..3eff4d97094 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/_enums.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/_enums.py index b04031dcae0..52e7a7167bb 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/_models.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/_models.py index 9dfad45a295..ce7e8c5cb2f 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/_models.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation import datetime diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/operations/__init__.py index 1f567d7ecb8..f406b6d443e 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/operations/_operations.py index 04ed954f44b..2e32ebb6d62 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/conftest.py index ab2019a40cd..49852579a99 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/test_common_properties_error_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/test_common_properties_error_operations.py index 93af532e50c..427f508b084 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/test_common_properties_error_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/test_common_properties_error_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.commonproperties import CommonPropertiesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/test_common_properties_error_operations_async.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/test_common_properties_error_operations_async.py index ad49183fa9a..ceedb3682f1 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/test_common_properties_error_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/test_common_properties_error_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.commonproperties.aio import CommonPropertiesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/test_common_properties_managed_identity_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/test_common_properties_managed_identity_operations.py index cea142f4756..92226f4ed8f 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/test_common_properties_managed_identity_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/test_common_properties_managed_identity_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.commonproperties import CommonPropertiesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/test_common_properties_managed_identity_operations_async.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/test_common_properties_managed_identity_operations_async.py index b581b026583..5b0776d5e57 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/test_common_properties_managed_identity_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/generated_tests/test_common_properties_managed_identity_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.commonproperties.aio import CommonPropertiesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/setup.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/setup.py index ce1bf9b0158..8f447850db6 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/__init__.py index fe390756527..401e7377269 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_client.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_client.py index 34e82f27178..1edfabe0cc1 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_configuration.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_configuration.py index f13c9ef4598..3229e1a043d 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_model_base.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_serialization.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_version.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/__init__.py index 7f236f06de5..d278a6b26ab 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/_client.py index 8c93070e981..521960ed465 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/_configuration.py index f4c5298cd1c..acccffb269b 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/operations/__init__.py index d76de3772a1..eeee4ab17e9 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/operations/_operations.py index 5ae28b46c65..4a5fa88d3fb 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/__init__.py index 2991aff6d37..f85a13a853b 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/_models.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/_models.py index 6442aff229a..3ab58bcec32 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, List, Mapping, Optional, TYPE_CHECKING, overload diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/operations/__init__.py index d76de3772a1..eeee4ab17e9 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/operations/_operations.py index b940741edd0..8af494261d2 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/generated_tests/conftest.py index d9a126c5276..0e824f1fc4e 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/generated_tests/test_non_resource_non_resource_operations_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/generated_tests/test_non_resource_non_resource_operations_operations.py index 046d3943a3a..6dde0732c3f 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/generated_tests/test_non_resource_non_resource_operations_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/generated_tests/test_non_resource_non_resource_operations_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.nonresource import NonResourceClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/generated_tests/test_non_resource_non_resource_operations_operations_async.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/generated_tests/test_non_resource_non_resource_operations_operations_async.py index 5a3074b9adf..91a43bd58a9 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/generated_tests/test_non_resource_non_resource_operations_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/generated_tests/test_non_resource_non_resource_operations_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.nonresource.aio import NonResourceClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/setup.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/setup.py index 5e83f4b6e46..f1aa4ed07da 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/__init__.py index 6a3327785b6..9abb46fd7db 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_client.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_client.py index 551f34a47ef..983dcb5fa07 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_configuration.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_configuration.py index b142cb3f428..75f7cb2b560 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_model_base.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_serialization.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_version.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/__init__.py index bea17a71d11..c835cbb4e53 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/_client.py index 97704d02830..1765d28d7a6 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/_configuration.py index 6805c4c7de0..a4782eb1e0a 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/operations/__init__.py index f057d2e621c..10c7c78f1fb 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/operations/_operations.py index ba093c65df5..d93d71dc040 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/__init__.py index 929b35ee01a..7b636e9a55d 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/_enums.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/_enums.py index 093a1c97679..a85c03026d3 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/_models.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/_models.py index 131d3adcb2c..43fed9e0a8f 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/_models.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation import datetime diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/operations/__init__.py index f057d2e621c..10c7c78f1fb 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/operations/_operations.py index 250f715d672..124f552c529 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/conftest.py index bbba4530b4e..e47ba8b6cf2 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_check_name_availability_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_check_name_availability_operations.py index 9822e73e950..40ff08a25dc 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_check_name_availability_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_check_name_availability_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.operationtemplates import OperationTemplatesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_check_name_availability_operations_async.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_check_name_availability_operations_async.py index e2560bc927e..3768701add1 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_check_name_availability_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_check_name_availability_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.operationtemplates.aio import OperationTemplatesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_lro_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_lro_operations.py index 6788f41c586..4dd9bfcf656 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_lro_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_lro_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.operationtemplates import OperationTemplatesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_lro_operations_async.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_lro_operations_async.py index 705e412f630..4d27a056ccf 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_lro_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_lro_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.operationtemplates.aio import OperationTemplatesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_operations.py index 6bcaa1cb896..1f34c88d6d1 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.operationtemplates import OperationTemplatesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_operations_async.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_operations_async.py index 4d7d0265646..ababbb5a856 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/generated_tests/test_operation_templates_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.operationtemplates.aio import OperationTemplatesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/setup.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/setup.py index f802d7e0c1b..5ea55be4791 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/__init__.py index 1a4d7150042..25a65fee3cf 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_client.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_client.py index 8d5c3fe7207..a59d1621c82 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_configuration.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_configuration.py index b40c0a71f94..67356fb251d 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_model_base.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_serialization.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_version.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/__init__.py index 33a41a4a66d..4bf0f1857e2 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/_client.py index b583c512844..3bef6f232ad 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/_configuration.py index 11ad34a3ca6..331a3db67cb 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/operations/__init__.py index 6c5c831601c..a727dcdb4fe 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/operations/_operations.py index 271f14be068..23941e40e61 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/models/__init__.py index eafae1491bf..fae598464cd 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/models/_enums.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/models/_enums.py index 20819f466bc..9c49e6f3b7a 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/models/_models.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/models/_models.py index 2dfa624b3d8..d62bd322a1d 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/models/_models.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation import datetime diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/operations/__init__.py index 6c5c831601c..a727dcdb4fe 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/operations/_operations.py index fff6ca7b30b..5932659b7c6 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/conftest.py index d1b9c80b491..fe8753d01f3 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_extensions_resources_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_extensions_resources_operations.py index 5c3eaeb6914..b37e097a361 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_extensions_resources_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_extensions_resources_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.resources import ResourcesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_extensions_resources_operations_async.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_extensions_resources_operations_async.py index f2fabf43a3f..88a33f4800d 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_extensions_resources_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_extensions_resources_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.resources.aio import ResourcesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_location_resources_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_location_resources_operations.py index 6f47a8b926c..41965ddabba 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_location_resources_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_location_resources_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.resources import ResourcesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_location_resources_operations_async.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_location_resources_operations_async.py index 20b11ca98f9..493b2a11fd8 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_location_resources_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_location_resources_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.resources.aio import ResourcesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_nested_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_nested_operations.py index f1cf6e1fd81..b60fadc33d8 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_nested_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_nested_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.resources import ResourcesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_nested_operations_async.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_nested_operations_async.py index 059f4129b87..bb86a6ff911 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_nested_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_nested_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.resources.aio import ResourcesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_singleton_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_singleton_operations.py index cdb31d5766b..bef8b7bbe35 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_singleton_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_singleton_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.resources import ResourcesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_singleton_operations_async.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_singleton_operations_async.py index 7808fbd88e3..dc973f54204 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_singleton_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_singleton_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.resources.aio import ResourcesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_top_level_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_top_level_operations.py index f30f0d3805d..8c685fd5000 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_top_level_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_top_level_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.resources import ResourcesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_top_level_operations_async.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_top_level_operations_async.py index 4980892c34b..c3cec3db79a 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_top_level_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/generated_tests/test_resources_top_level_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from azure.resourcemanager.resources.aio import ResourcesClient diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/setup.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/setup.py index d073cf6325a..2a3ae2b1e3c 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/__init__.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/__init__.py index d1b53713ab2..16ffa11b366 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_client.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_client.py index 87aa62e0523..5e91595aaac 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_configuration.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_configuration.py index 2b20082a85e..baba7065942 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_model_base.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_operations/__init__.py index 56f97f6fabd..28139ec189e 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_operations/_operations.py index 96a803cf0cb..0c000371333 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_serialization.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_vendor.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_vendor.py index 1bcad881dac..1114c6de90e 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_version.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_version.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/__init__.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/__init__.py index d46dda589be..83fa1dedde7 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_client.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_client.py index af6d568834c..6274a737185 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_configuration.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_configuration.py index d3cc0a3028b..e9e359fd317 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_operations/__init__.py index 56f97f6fabd..28139ec189e 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_operations/_operations.py index c7cfe238fb3..68ff1c791c0 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_vendor.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_vendor.py index 115a03a33b6..f5bddb4b92b 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/conftest.py index f2173ddf6f1..81b0a14c303 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/test_xms_request_id.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/test_xms_request_id.py index 216bd0b5e1d..adb49afe641 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/test_xms_request_id.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/test_xms_request_id.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import XmsClientRequestIdClientTestBase, XmsRequestIdPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/test_xms_request_id_async.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/test_xms_request_id_async.py index 0671296ff79..8830328ad72 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/test_xms_request_id_async.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/test_xms_request_id_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import XmsRequestIdPreparer diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/testpreparer.py index 000fd035fe3..975eab0459d 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from azure.specialheaders.xmsclientrequestid import XmsClientRequestIdClient from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/testpreparer_async.py index 13158549ac5..df7d540a17b 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from azure.specialheaders.xmsclientrequestid.aio import XmsClientRequestIdClient from devtools_testutils import AzureRecordedTestCase diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/setup.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/setup.py index e1df95676a3..e0197f52ec4 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/setup.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/__init__.py index b464c0e3733..3f7d2e99360 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_client.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_client.py index c34a7068c12..4964d46a496 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_client.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_configuration.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_configuration.py index 48326051ff2..89c01e16124 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_configuration.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_model_base.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_model_base.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_operations/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_operations/__init__.py index 53e4b5918f6..8d6b8b1bbc1 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_operations/_operations.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_operations/_operations.py index 17b3a935974..0f337afcc7c 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_serialization.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_serialization.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_vendor.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_vendor.py index e51e96e7e3e..792645e732b 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_vendor.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_version.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_version.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/__init__.py index d976c401f7b..3856e72bfda 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_client.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_client.py index 198aa90f7dd..15930e20546 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_configuration.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_configuration.py index bce6c5ce98b..2d59c0fc0de 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_operations/__init__.py index 53e4b5918f6..8d6b8b1bbc1 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_operations/_operations.py index 3d6286c2260..daeb3184681 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_vendor.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_vendor.py index 6469cc63aa1..77db2da87b6 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/__init__.py index ac2ff001b26..d2634721e6c 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/_models.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/_models.py index 1bdf67013f9..ec2edc6a21d 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/_models.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/__init__.py index 79e0cba058d..0f7106f0faf 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_client.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_client.py index 32aa8e04de3..a422bdbc70f 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_client.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_configuration.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_configuration.py index 58d9d63f65e..412ef516a62 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_configuration.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_operations/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_operations/__init__.py index 7b76b5af4e6..84100277fd2 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_operations/_operations.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_operations/_operations.py index 3217f74654c..c8e0068ad3e 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_vendor.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_vendor.py index cb98189eb75..6707d50a26c 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_vendor.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/__init__.py index 3963f44f5bb..d539abde419 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_client.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_client.py index 32a2e44ada2..b21ae0b0d42 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_configuration.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_configuration.py index 632a47d9d63..32d10db815f 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_operations/__init__.py index 7b76b5af4e6..84100277fd2 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_operations/_operations.py index d7d47ece41e..ae9b491e736 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_vendor.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_vendor.py index b1f821ce9e7..a8e47916562 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/__init__.py index d7a6f974700..ca608d6ae44 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/_models.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/_models.py index 82af76f2fee..b7624ebb7f5 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/_models.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, TYPE_CHECKING, Union, overload diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/sub/models/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/sub/models/__init__.py index ccebb7f1baf..b5c580339ea 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/sub/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/sub/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/sub/models/_enums.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/sub/models/_enums.py index ea7ff8584d1..c2a45b1ecb1 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/sub/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/sub/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/conftest.py index 2d34175225f..6b58c0a8856 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/test_namespace_first.py b/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/test_namespace_first.py index 7a927001527..aee7e809ce3 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/test_namespace_first.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/test_namespace_first.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ClientNamespaceFirstClientTestBase, NamespaceFirstPreparer diff --git a/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/test_namespace_first_async.py b/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/test_namespace_first_async.py index 26273ba60b3..57f958a4a7f 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/test_namespace_first_async.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/test_namespace_first_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NamespaceFirstPreparer diff --git a/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/test_namespace_second.py b/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/test_namespace_second.py index 9395af9de77..5f06f4fdf07 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/test_namespace_second.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/test_namespace_second.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ClientNamespaceSecondClientTestBase, NamespaceSecondPreparer diff --git a/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/test_namespace_second_async.py b/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/test_namespace_second_async.py index 34d4b89df02..bd09e4206a3 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/test_namespace_second_async.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/test_namespace_second_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NamespaceSecondPreparer diff --git a/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/testpreparer.py index 605e31c959d..e8a57ef35a2 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from client.clientnamespace import ClientNamespaceFirstClient from client.clientnamespace.second import ClientNamespaceSecondClient from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer diff --git a/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/testpreparer_async.py index 3909a7c69f0..e6496e014fc 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from client.clientnamespace.aio import ClientNamespaceFirstClient from client.clientnamespace.second.aio import ClientNamespaceSecondClient from devtools_testutils import AzureRecordedTestCase diff --git a/packages/typespec-python/test/azure/generated/client-namespace/setup.py b/packages/typespec-python/test/azure/generated/client-namespace/setup.py index d1722d07b5b..6714d49c75f 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/setup.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/__init__.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/__init__.py index bfb3e395287..dd86870d8cd 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_client.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_client.py index e12458b056a..7395edb6afa 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_client.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_configuration.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_configuration.py index 83109900b28..35eaafa5fb7 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_configuration.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_model_base.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_model_base.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_serialization.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_serialization.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_vendor.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_vendor.py index d91ccc58bae..a2c7563548d 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_vendor.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_version.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_version.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/__init__.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/__init__.py index 7d03eadaade..db076018c2a 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/_client.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/_client.py index 9661872d115..440347432ac 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/_configuration.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/_configuration.py index 978ea2884d3..1688b25d189 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/_vendor.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/_vendor.py index 3fe868888aa..ba41624431c 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/operations/__init__.py index 58a06e7ca41..82100c3183f 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/operations/_operations.py index ecd471065b0..b5090696a04 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/models/__init__.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/models/__init__.py index 16609561ce7..4c81085e1ca 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/models/_enums.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/models/_enums.py index 45bd952f301..f9715a7ef73 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/models/_models.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/models/_models.py index 5387235be81..50f6302b0ee 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/models/_models.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/operations/__init__.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/operations/__init__.py index 58a06e7ca41..82100c3183f 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/operations/_operations.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/operations/_operations.py index bc40d3f001d..d880e3e6dc5 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/conftest.py index ae2f71fe748..e1548f36b47 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming.py b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming.py index c16dae34a5e..d61a3d6139f 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming.py +++ b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import NamingClientTestBase, NamingPreparer diff --git a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_async.py b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_async.py index fa87bf4ce17..8e359563300 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_async.py +++ b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NamingPreparer diff --git a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_client_model_operations.py b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_client_model_operations.py index a572bbae3e4..854de9bc234 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_client_model_operations.py +++ b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_client_model_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import NamingClientTestBase, NamingPreparer diff --git a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_client_model_operations_async.py b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_client_model_operations_async.py index db28f72ad80..ef1c0109021 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_client_model_operations_async.py +++ b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_client_model_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NamingPreparer diff --git a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_union_enum_operations.py b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_union_enum_operations.py index ef37e62b2eb..45e18f9ddc8 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_union_enum_operations.py +++ b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_union_enum_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import NamingClientTestBase, NamingPreparer diff --git a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_union_enum_operations_async.py b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_union_enum_operations_async.py index 7066439b4d9..141e125b601 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_union_enum_operations_async.py +++ b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/test_naming_union_enum_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NamingPreparer diff --git a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/testpreparer.py index 283796d5ef1..0b6e8178c61 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from client.naming import NamingClient from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools diff --git a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/testpreparer_async.py index e11635d9533..f306afdbed6 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/client-naming/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from client.naming.aio import NamingClient from devtools_testutils import AzureRecordedTestCase diff --git a/packages/typespec-python/test/azure/generated/client-naming/setup.py b/packages/typespec-python/test/azure/generated/client-naming/setup.py index 664e4da2f8b..e79e9bbbd32 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/setup.py +++ b/packages/typespec-python/test/azure/generated/client-naming/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/__init__.py index 992e3050650..ad4009b1e17 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_client.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_client.py index 95c8259c2a7..14f4ad71030 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_client.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_configuration.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_configuration.py index adce17be659..30fb07a57b1 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_configuration.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_model_base.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_model_base.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_serialization.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_serialization.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_vendor.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_vendor.py index a182daf8a92..f4827264b19 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_vendor.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_version.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_version.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/__init__.py index 6ba78ef0f8c..227a130dcf3 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/_client.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/_client.py index 30c382c245d..a59b3a26d57 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable, Union diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/_configuration.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/_configuration.py index db70856ad28..deab582a1ff 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/_vendor.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/_vendor.py index 9b4b9e607cc..b11ec73753f 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/operations/__init__.py index 938da9bf7e8..3560145a703 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/operations/_operations.py index ea6a3775882..88bf08cc6a1 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/models/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/models/__init__.py index bb928cca651..7d5b45d151b 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/models/_enums.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/models/_enums.py index e3a450ee5d2..40cfd7a2cda 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/operations/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/operations/__init__.py index 938da9bf7e8..3560145a703 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/operations/_operations.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/operations/_operations.py index 768cc3b3ce3..5dc8e031ea2 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/conftest.py index d665128ffb9..91256e0344e 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service.py b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service.py index 2349bbc2e86..1e7ce2517d5 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ServiceClientTestBase, ServicePreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_async.py b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_async.py index 4bdc0b57f7e..2947d4222c5 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_async.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ServicePreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_bar_operations.py b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_bar_operations.py index 271e4711615..ca4600e7c2c 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_bar_operations.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_bar_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ServiceClientTestBase, ServicePreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_bar_operations_async.py b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_bar_operations_async.py index a2977c84b73..563b02c2ac8 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_bar_operations_async.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_bar_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ServicePreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_baz_operations.py b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_baz_operations.py index e043dc9c94f..25e68492cd5 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_baz_operations.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_baz_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ServiceClientTestBase, ServicePreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_baz_operations_async.py b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_baz_operations_async.py index 9d73d431625..6fc9529df7e 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_baz_operations_async.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_baz_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ServicePreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_foo_operations.py b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_foo_operations.py index 7ef24f5541c..5a62fa3eed0 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_foo_operations.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_foo_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ServiceClientTestBase, ServicePreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_foo_operations_async.py b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_foo_operations_async.py index 8a96579becf..547fc58c746 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_foo_operations_async.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_foo_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ServicePreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_qux_operations.py b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_qux_operations.py index 1f5e4b4a4ca..19079ec2a92 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_qux_operations.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_qux_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ServiceClientTestBase, ServicePreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_qux_operations_async.py b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_qux_operations_async.py index a99a5da973d..4eb28c55ad0 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_qux_operations_async.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/test_service_qux_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ServicePreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/testpreparer.py index 04004aa80ca..957dd158a79 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from client.structure.service import ServiceClient from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/testpreparer_async.py index ab1400da170..5ff957026f2 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from client.structure.service.aio import ServiceClient from devtools_testutils import AzureRecordedTestCase diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/setup.py b/packages/typespec-python/test/azure/generated/client-structure-default/setup.py index 43ba0cbe768..2352cf6974d 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/setup.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/__init__.py index bfb9cbcc18c..4cf28a26c2a 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_client.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_client.py index 7508f5bee71..2681305999d 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_client.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_configuration.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_configuration.py index 7a4441a1c74..3d48f768ccc 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_configuration.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_model_base.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_model_base.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_operations/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_operations/__init__.py index 4c659a54d27..403d58906cf 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_operations/_operations.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_operations/_operations.py index 43146ba2b45..14365ddb794 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_serialization.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_serialization.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_vendor.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_vendor.py index a08eed197be..3b8be01047d 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_vendor.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_version.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_version.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/__init__.py index 94d9824fe12..ebc304f2a86 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_client.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_client.py index def475d9b68..6640b7863be 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable, Union diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_configuration.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_configuration.py index 8b67bb78ed9..6cf7cc02275 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_operations/__init__.py index 4c659a54d27..403d58906cf 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_operations/_operations.py index b7152985e76..e0023216b21 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_vendor.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_vendor.py index ef11af60e8f..6e8a9245612 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/models/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/models/__init__.py index bb928cca651..7d5b45d151b 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/models/_enums.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/models/_enums.py index e3a450ee5d2..40cfd7a2cda 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/conftest.py index 54dcebc5c26..89cc9a005d6 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/test_a.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/test_a.py index 4fe4678edad..758a7aa3087 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/test_a.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/test_a.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import APreparer, ClientAClientTestBase diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/test_aasync.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/test_aasync.py index 395d4fed95d..350a49c78cd 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/test_aasync.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/test_aasync.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import APreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/test_b.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/test_b.py index c413e736840..0c35b7bfba4 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/test_b.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/test_b.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import BPreparer, ClientBClientTestBase diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/test_basync.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/test_basync.py index 37556fa4398..93e20b2c5f5 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/test_basync.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/test_basync.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import BPreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/testpreparer.py index 31aae7aa0b2..de2a68557e5 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from client.structure.multiclient import ClientAClient, ClientBClient from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/testpreparer_async.py index ef7ce4098cd..c8d0f416c46 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from client.structure.multiclient.aio import ClientAClient, ClientBClient from devtools_testutils import AzureRecordedTestCase diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/setup.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/setup.py index 3f46d914940..7e1f4393f07 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/setup.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/__init__.py index daed4ee5336..58e0ffdd2aa 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_client.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_client.py index 32757cbd18e..6a411e8163d 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_client.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_configuration.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_configuration.py index f91dd7d6edb..aab0c5dba9e 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_configuration.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_model_base.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_model_base.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_serialization.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_serialization.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_vendor.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_vendor.py index 834b124871d..8b9d2061a65 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_vendor.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_version.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_version.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/__init__.py index ce8434075dd..2f321433d24 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/_client.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/_client.py index b540f093447..e85841eba7f 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable, Union diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/_configuration.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/_configuration.py index 1bc5cd37fc0..1ee559007a5 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/_vendor.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/_vendor.py index 750ece067cf..6164a637cc6 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/operations/__init__.py index 88aeeb81e1e..ca9bfccd245 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/operations/_operations.py index 8d2439c6978..febc5847535 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/models/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/models/__init__.py index bb928cca651..7d5b45d151b 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/models/_enums.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/models/_enums.py index e3a450ee5d2..40cfd7a2cda 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/operations/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/operations/__init__.py index 88aeeb81e1e..ca9bfccd245 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/operations/_operations.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/operations/_operations.py index 3fed9385f89..efbf4490998 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/conftest.py index 830067291d5..351cda6c0b8 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/test_renamed_operation.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/test_renamed_operation.py index 7f261887325..e62c8f801d3 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/test_renamed_operation.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/test_renamed_operation.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import RenamedOperationClientTestBase, RenamedOperationPreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/test_renamed_operation_async.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/test_renamed_operation_async.py index 3d9b571dfb5..ce2bd7c8e4c 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/test_renamed_operation_async.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/test_renamed_operation_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import RenamedOperationPreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/test_renamed_operation_group_operations.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/test_renamed_operation_group_operations.py index 6e3084c64d3..bba0c3a932d 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/test_renamed_operation_group_operations.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/test_renamed_operation_group_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import RenamedOperationClientTestBase, RenamedOperationPreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/test_renamed_operation_group_operations_async.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/test_renamed_operation_group_operations_async.py index 0467cbfd59b..5ce2eb78017 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/test_renamed_operation_group_operations_async.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/test_renamed_operation_group_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import RenamedOperationPreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/testpreparer.py index 241568399d5..5a277b43b52 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from client.structure.renamedoperation import RenamedOperationClient from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/testpreparer_async.py index d1568a8eca0..b44022452e6 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from client.structure.renamedoperation.aio import RenamedOperationClient from devtools_testutils import AzureRecordedTestCase diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/setup.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/setup.py index 08b5cfe7590..8b84e0b74f9 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/setup.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/__init__.py index c37daa154e7..88b9982fe13 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_client.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_client.py index 2468194ff3c..fae7146457f 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_client.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_configuration.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_configuration.py index 1296073e386..4379fe0f8fe 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_configuration.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_model_base.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_model_base.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_serialization.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_serialization.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_version.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_version.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/__init__.py index bcb96879af0..86345834a0d 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/_client.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/_client.py index 33ccce41114..e112844aae6 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable, Union diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/_configuration.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/_configuration.py index 2c3fbe699f2..fb73832d5c1 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/operations/__init__.py index df75d065849..fc4b79369f8 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/operations/_operations.py index 4bd2b3d186e..85c29d50167 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/models/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/models/__init__.py index bb928cca651..7d5b45d151b 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/models/_enums.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/models/_enums.py index e3a450ee5d2..40cfd7a2cda 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/operations/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/operations/__init__.py index df75d065849..fc4b79369f8 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/operations/_operations.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/operations/_operations.py index ade65ee9f06..f9120decf27 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/conftest.py index c4bc3a20849..c7671c2b0f6 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/test_two_operation_group_group1_operations.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/test_two_operation_group_group1_operations.py index 96913838476..c3c32ec56f0 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/test_two_operation_group_group1_operations.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/test_two_operation_group_group1_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import TwoOperationGroupClientTestBase, TwoOperationGroupPreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/test_two_operation_group_group1_operations_async.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/test_two_operation_group_group1_operations_async.py index 704aef63826..539bfde4da6 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/test_two_operation_group_group1_operations_async.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/test_two_operation_group_group1_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import TwoOperationGroupPreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/test_two_operation_group_group2_operations.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/test_two_operation_group_group2_operations.py index 46e64255f93..0e4194269bb 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/test_two_operation_group_group2_operations.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/test_two_operation_group_group2_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import TwoOperationGroupClientTestBase, TwoOperationGroupPreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/test_two_operation_group_group2_operations_async.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/test_two_operation_group_group2_operations_async.py index febf1362f35..2097a90a553 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/test_two_operation_group_group2_operations_async.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/test_two_operation_group_group2_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import TwoOperationGroupPreparer diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/testpreparer.py index d13a6e67365..a015a7808f7 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from client.structure.twooperationgroup import TwoOperationGroupClient from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/testpreparer_async.py index 3fe5dd94068..4f86f927c06 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from client.structure.twooperationgroup.aio import TwoOperationGroupClient from devtools_testutils import AzureRecordedTestCase diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/setup.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/setup.py index 0bcd3c3f552..496787818fa 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/setup.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/__init__.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/__init__.py index 98e0d7ea829..5ff3e263d97 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_client.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_client.py index f4a322b6271..4d979e2f6ef 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_client.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_configuration.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_configuration.py index 904f4ec0499..5efa5fe5471 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_configuration.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_model_base.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_model_base.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_serialization.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_serialization.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_version.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_version.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/aio/__init__.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/aio/__init__.py index 190a73f4ec7..0861891f084 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/aio/_client.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/aio/_client.py index fdd23d5d07f..8926193e032 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/aio/_configuration.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/aio/_configuration.py index 7a0f92f5dce..56ab8aaefcc 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/header/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/header/aio/operations/__init__.py index 8e39e7642d2..1ab30f60268 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/header/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/header/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/header/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/header/aio/operations/_operations.py index 8643621abe7..a3ca2196205 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/header/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/header/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/header/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/header/operations/__init__.py index 8e39e7642d2..1ab30f60268 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/header/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/header/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/header/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/header/operations/_operations.py index 843aa38c263..949a7f2c551 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/header/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/header/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/__init__.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/__init__.py index 771e6a02d4b..651971cb025 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/_models.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/_models.py index 8ab10f18323..d8c71dd68fe 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/_models.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, List, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/property/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/property/aio/operations/__init__.py index 02fe504541c..22f11074013 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/property/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/property/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/property/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/property/aio/operations/_operations.py index e7026d53728..4c106bca77a 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/property/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/property/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/property/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/property/operations/__init__.py index 02fe504541c..22f11074013 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/property/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/property/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/property/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/property/operations/_operations.py index a75f3514f13..d6453ec92c3 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/property/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/property/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/query/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/query/aio/operations/__init__.py index 2f5d3ef93d9..97d3de4f9b2 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/query/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/query/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/query/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/query/aio/operations/_operations.py index f9a47e5bff6..304c091da52 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/query/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/query/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/query/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/query/operations/__init__.py index 2f5d3ef93d9..97d3de4f9b2 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/query/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/query/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/query/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/query/operations/_operations.py index 104d7728500..a70db0f7f6e 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/query/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/query/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/requestbody/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/requestbody/aio/operations/__init__.py index 8c01ce0db94..4b425cb03d6 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/requestbody/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/requestbody/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/requestbody/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/requestbody/aio/operations/_operations.py index 1461ea4f9d9..6d312998c80 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/requestbody/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/requestbody/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import json import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/requestbody/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/requestbody/operations/__init__.py index 8c01ce0db94..4b425cb03d6 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/requestbody/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/requestbody/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/requestbody/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/requestbody/operations/_operations.py index c601e940fda..7ea809f3b60 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/requestbody/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/requestbody/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import json import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/responsebody/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/responsebody/aio/operations/__init__.py index fc9cf61db5a..903f00096e2 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/responsebody/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/responsebody/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/responsebody/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/responsebody/aio/operations/_operations.py index fb221e78adf..b36bf6d885a 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/responsebody/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/responsebody/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, AsyncIterator, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/responsebody/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/responsebody/operations/__init__.py index fc9cf61db5a..903f00096e2 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/responsebody/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/responsebody/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/responsebody/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/responsebody/operations/_operations.py index 35e2d0205a8..1095d993f22 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/responsebody/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/responsebody/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Iterator, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/conftest.py index ccffdf071cd..9238da04a06 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_header_operations.py b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_header_operations.py index fe9c93675e8..616fd7ecfa3 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_header_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_header_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import BytesClientTestBase, BytesPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_header_operations_async.py b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_header_operations_async.py index 04cd761e0e0..8a957f4dbfc 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_header_operations_async.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_header_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import BytesPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_property_operations.py b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_property_operations.py index b68c8272974..a797ba0131d 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_property_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_property_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import BytesClientTestBase, BytesPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_property_operations_async.py b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_property_operations_async.py index e7cdc05dc96..fd1c0f97a12 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_property_operations_async.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_property_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import BytesPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_query_operations.py b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_query_operations.py index fa205236f50..49f4b3ff3db 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_query_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_query_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import BytesClientTestBase, BytesPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_query_operations_async.py b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_query_operations_async.py index 7458939bf6f..b108afe5b12 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_query_operations_async.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_query_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import BytesPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_request_body_operations.py b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_request_body_operations.py index 2011fd3753f..1d083b7c7b3 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_request_body_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_request_body_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import BytesClientTestBase, BytesPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_request_body_operations_async.py b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_request_body_operations_async.py index 192fd441ec6..a02a0e071e2 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_request_body_operations_async.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_request_body_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import BytesPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_response_body_operations.py b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_response_body_operations.py index b8c666cdb82..1bb3aafaef9 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_response_body_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_response_body_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import BytesClientTestBase, BytesPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_response_body_operations_async.py b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_response_body_operations_async.py index 2b1d58eca44..8e702b41e39 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_response_body_operations_async.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/test_bytes_response_body_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import BytesPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/testpreparer.py index 0d4a021ba47..0885f387943 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer from encode.bytes import BytesClient import functools diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/testpreparer_async.py index c1f67892ff4..8d0f600ec98 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from encode.bytes.aio import BytesClient diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/setup.py b/packages/typespec-python/test/azure/generated/encode-bytes/setup.py index 9489772a52e..2b92ed42939 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/setup.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/__init__.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/__init__.py index 0609055f3e9..7507135b438 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_client.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_client.py index 0704a3a6751..19b86c9b1df 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_client.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_configuration.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_configuration.py index 6584a56a330..81b19bf7e9a 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_configuration.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_model_base.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_model_base.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_serialization.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_serialization.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_version.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_version.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/aio/__init__.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/aio/__init__.py index 91414f6cb57..019719fe7c5 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/aio/_client.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/aio/_client.py index d2952138003..6eacd70de08 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/aio/_configuration.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/aio/_configuration.py index fb5b494282b..e2a6be284ad 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/header/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/header/aio/operations/__init__.py index 8e39e7642d2..1ab30f60268 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/header/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/header/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/header/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/header/aio/operations/_operations.py index 9154498b80b..d8f3f86b207 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/header/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/header/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import datetime import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/header/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/header/operations/__init__.py index 8e39e7642d2..1ab30f60268 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/header/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/header/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/header/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/header/operations/_operations.py index 824c723aec2..0446836ba5c 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/header/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/header/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import datetime import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/__init__.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/__init__.py index 0a19f503f0a..a520b984a7a 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/_models.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/_models.py index 5a62bacae29..9d59dcf05a9 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/_models.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation import datetime diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/property/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/property/aio/operations/__init__.py index 02fe504541c..22f11074013 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/property/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/property/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/property/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/property/aio/operations/_operations.py index 773fd337526..7cba6f88e3c 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/property/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/property/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/property/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/property/operations/__init__.py index 02fe504541c..22f11074013 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/property/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/property/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/property/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/property/operations/_operations.py index b95b4c27b91..175c05da5f7 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/property/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/property/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/query/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/query/aio/operations/__init__.py index 2f5d3ef93d9..97d3de4f9b2 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/query/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/query/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/query/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/query/aio/operations/_operations.py index 718f6069d7a..8481975ad8a 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/query/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/query/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import datetime import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/query/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/query/operations/__init__.py index 2f5d3ef93d9..97d3de4f9b2 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/query/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/query/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/query/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/query/operations/_operations.py index 7c1a63f6c69..1a75883e516 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/query/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/query/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import datetime import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/responseheader/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/responseheader/aio/operations/__init__.py index 9b5f272c654..dba58a39389 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/responseheader/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/responseheader/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/responseheader/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/responseheader/aio/operations/_operations.py index e008cda0048..2001a749820 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/responseheader/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/responseheader/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/responseheader/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/responseheader/operations/__init__.py index 9b5f272c654..dba58a39389 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/responseheader/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/responseheader/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/responseheader/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/responseheader/operations/_operations.py index 105b96c5931..7eaa9c7e1b9 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/responseheader/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/responseheader/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/conftest.py index a776524d84d..f3723e069e8 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_header_operations.py b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_header_operations.py index 597576133f2..db1045ed06e 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_header_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_header_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DatetimeClientTestBase, DatetimePreparer diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_header_operations_async.py b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_header_operations_async.py index 869503f3ec5..bdf46c102fb 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_header_operations_async.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_header_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DatetimePreparer diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_property_operations.py b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_property_operations.py index f751fca542e..53447582c24 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_property_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_property_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DatetimeClientTestBase, DatetimePreparer diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_property_operations_async.py b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_property_operations_async.py index 17fca2f47a2..c7062cd1d6f 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_property_operations_async.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_property_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DatetimePreparer diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_query_operations.py b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_query_operations.py index 70352517a6e..43419883b18 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_query_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_query_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DatetimeClientTestBase, DatetimePreparer diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_query_operations_async.py b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_query_operations_async.py index 61f79ed5d93..d2ea13edbfd 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_query_operations_async.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_query_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DatetimePreparer diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_response_header_operations.py b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_response_header_operations.py index 3546c027eee..7facfe78744 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_response_header_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_response_header_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DatetimeClientTestBase, DatetimePreparer diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_response_header_operations_async.py b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_response_header_operations_async.py index c341b92e761..304b646609e 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_response_header_operations_async.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/test_datetime_response_header_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DatetimePreparer diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/testpreparer.py index c4d62426b39..b05b3815661 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer from encode.datetime import DatetimeClient import functools diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/testpreparer_async.py index ea7061688aa..fa3fcd42461 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from encode.datetime.aio import DatetimeClient diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/setup.py b/packages/typespec-python/test/azure/generated/encode-datetime/setup.py index 49da1ac0b97..89e3acd1483 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/setup.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/__init__.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/__init__.py index 0a1d3e4c996..c0610d47384 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_client.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_client.py index d601adc03ef..5250920b20b 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_client.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_configuration.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_configuration.py index 62650c2e73d..c936259f711 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_configuration.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_model_base.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_model_base.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_serialization.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_serialization.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_version.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_version.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/__init__.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/__init__.py index 94ecb4b1e47..27b213da2f3 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/_client.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/_client.py index bfaf3ee1b67..4f9fcff8eda 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/_configuration.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/_configuration.py index 00a49484a78..aed7771970f 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/operations/__init__.py index f8176fd845a..543a6758629 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/operations/_operations.py index 8626fd3c9e5..ebd6dcb3fa8 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import datetime from io import IOBase import json diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/__init__.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/__init__.py index af6b1e6cb18..19131e3275d 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/_models.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/_models.py index 2f1a1e1d687..a55bf7e46c4 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/_models.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation import datetime diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/operations/__init__.py index f8176fd845a..543a6758629 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/operations/_operations.py index 90580233e11..bee4d3958c5 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import datetime from io import IOBase import json diff --git a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/conftest.py index 6cbe7a62179..7c8e921ac05 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_header_operations.py b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_header_operations.py index 0b1703c9edf..f3bf725bed1 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_header_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_header_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DurationClientTestBase, DurationPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_header_operations_async.py b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_header_operations_async.py index b22b03436f7..8437b4e599c 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_header_operations_async.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_header_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DurationPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_property_operations.py b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_property_operations.py index 04ffec4186b..696c38e6897 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_property_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_property_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DurationClientTestBase, DurationPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_property_operations_async.py b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_property_operations_async.py index ac40b2f01c2..8b6db79b5d8 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_property_operations_async.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_property_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DurationPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_query_operations.py b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_query_operations.py index fa7806eee42..f01cfb4019e 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_query_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_query_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DurationClientTestBase, DurationPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_query_operations_async.py b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_query_operations_async.py index 59f04988769..ce3da7ce8e0 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_query_operations_async.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/test_duration_query_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DurationPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/testpreparer.py index 03241d06a31..92daf94d4fc 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer from encode.duration import DurationClient import functools diff --git a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/testpreparer_async.py index ba3e6a7d51b..9024e6891fc 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from encode.duration.aio import DurationClient diff --git a/packages/typespec-python/test/azure/generated/encode-duration/setup.py b/packages/typespec-python/test/azure/generated/encode-duration/setup.py index 14696b32378..a6d1455bbdd 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/setup.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/__init__.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/__init__.py index 1ee7a75129d..15b4907efe9 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_client.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_client.py index e93fc1034e2..23ea0b25ec4 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_client.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_configuration.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_configuration.py index 54032af7325..3392506366a 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_configuration.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_model_base.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_model_base.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_serialization.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_serialization.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_version.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_version.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/__init__.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/__init__.py index bf4a01f6a67..d7522ab2264 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/_client.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/_client.py index 622953fc4de..805a5d849c2 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/_configuration.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/_configuration.py index 9990bbac876..21b146ee5ed 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/operations/__init__.py index 02fe504541c..22f11074013 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/operations/_operations.py index ff983e03de0..1bb072b5cc8 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/__init__.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/__init__.py index 8fa26c84f44..9b71ce5e4ee 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/_models.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/_models.py index 295a2916854..91af13a3300 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/_models.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, Optional, overload diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/operations/__init__.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/operations/__init__.py index 02fe504541c..22f11074013 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/operations/_operations.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/operations/_operations.py index 90f76f8479a..0f5715ee7a0 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/conftest.py index 4bb3cb68dc5..4d23d2b7057 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/test_numeric_property_operations.py b/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/test_numeric_property_operations.py index b9142641364..fffcf2d5f4e 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/test_numeric_property_operations.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/test_numeric_property_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import NumericClientTestBase, NumericPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/test_numeric_property_operations_async.py b/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/test_numeric_property_operations_async.py index f3c5e71ba7f..8de4f2ad73e 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/test_numeric_property_operations_async.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/test_numeric_property_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NumericPreparer diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/testpreparer.py index 29ea2db4817..f69f6a84bd9 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer from encode.numeric import NumericClient import functools diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/testpreparer_async.py index e9d75c8d20a..1f2469a6268 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from encode.numeric.aio import NumericClient diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/setup.py b/packages/typespec-python/test/azure/generated/encode-numeric/setup.py index b2d0417c377..27689679d17 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/setup.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/conftest.py index 0908053ba71..3fc4942cf79 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/test_visibility.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/test_visibility.py index 889908e6993..8752fa205bf 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/test_visibility.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/test_visibility.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import VisibilityClientTestBase, VisibilityPreparer diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/test_visibility_async.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/test_visibility_async.py index 1461bd28e38..191024e0c9f 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/test_visibility_async.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/test_visibility_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import VisibilityPreparer diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/testpreparer.py index e84ce50f591..877033c71e3 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from headasbooleanfalse import VisibilityClient diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/testpreparer_async.py index 96443c2f661..2d82231904d 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from headasbooleanfalse.aio import VisibilityClient diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/__init__.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/__init__.py index a5b337ef2b7..9c6a37c018b 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/__init__.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_client.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_client.py index 97342141f9d..9d62865aa57 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_client.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_configuration.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_configuration.py index d273281e5b1..feffa1dfda3 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_configuration.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_model_base.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_model_base.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_operations/__init__.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_operations/__init__.py index f37267ce280..ee66d1eea27 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_operations/_operations.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_operations/_operations.py index 4b23c1df4d9..a6e693d290e 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_serialization.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_serialization.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_vendor.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_vendor.py index 22a7653b2f3..f3eb127559a 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_vendor.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_version.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_version.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/__init__.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/__init__.py index 228308d99dc..a06ad6a26d1 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_client.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_client.py index 4b49aed61a8..49b5611e207 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_configuration.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_configuration.py index 69273a32dcd..f3dd4f1306e 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_operations/__init__.py index f37267ce280..ee66d1eea27 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_operations/_operations.py index 15ef393842b..d9130d3b057 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_vendor.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_vendor.py index 735480a1951..59219e20434 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py index d9c235fbae0..0ba8c6b40d6 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/_models.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/_models.py index a302369b8a6..8bb7ceb2bb3 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/_models.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Dict, List, Mapping, Optional, overload diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/setup.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/setup.py index e39dbf6778f..d65d490ec67 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/setup.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/conftest.py index 0908053ba71..3fc4942cf79 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/test_visibility.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/test_visibility.py index 889908e6993..8752fa205bf 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/test_visibility.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/test_visibility.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import VisibilityClientTestBase, VisibilityPreparer diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/test_visibility_async.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/test_visibility_async.py index 1461bd28e38..191024e0c9f 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/test_visibility_async.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/test_visibility_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import VisibilityPreparer diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/testpreparer.py index 5bec8da34fc..370f4302de3 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from headasbooleantrue import VisibilityClient diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/testpreparer_async.py index 7dfe39e7b83..816ff818734 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from headasbooleantrue.aio import VisibilityClient diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/__init__.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/__init__.py index a5b337ef2b7..9c6a37c018b 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/__init__.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_client.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_client.py index 97342141f9d..9d62865aa57 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_client.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_configuration.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_configuration.py index d94461f1801..53fecf4e7b8 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_configuration.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_model_base.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_model_base.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_operations/__init__.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_operations/__init__.py index f37267ce280..ee66d1eea27 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_operations/_operations.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_operations/_operations.py index d40d50d3754..9f644f59e45 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_serialization.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_serialization.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_vendor.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_vendor.py index 22a7653b2f3..f3eb127559a 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_vendor.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_version.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_version.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/__init__.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/__init__.py index 228308d99dc..a06ad6a26d1 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_client.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_client.py index 4b49aed61a8..49b5611e207 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_configuration.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_configuration.py index bb4bcead0ec..1311d06e524 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_operations/__init__.py index f37267ce280..ee66d1eea27 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_operations/_operations.py index a99f2f26a28..d7610607b13 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_vendor.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_vendor.py index 735480a1951..59219e20434 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/__init__.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/__init__.py index d9c235fbae0..0ba8c6b40d6 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/_models.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/_models.py index a302369b8a6..8bb7ceb2bb3 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/_models.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Dict, List, Mapping, Optional, overload diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/setup.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/setup.py index 62e44ab0980..05b60d79c91 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/setup.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/conftest.py index 747cfd03133..635e5035817 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/test_basic_explicit_body_operations.py b/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/test_basic_explicit_body_operations.py index c512565eea2..a764b421795 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/test_basic_explicit_body_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/test_basic_explicit_body_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import BasicClientTestBase, BasicPreparer diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/test_basic_explicit_body_operations_async.py b/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/test_basic_explicit_body_operations_async.py index c871eebaeff..bef8dd97225 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/test_basic_explicit_body_operations_async.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/test_basic_explicit_body_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import BasicPreparer diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/test_basic_implicit_body_operations.py b/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/test_basic_implicit_body_operations.py index 4ff549a5ea4..525c35f6dd0 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/test_basic_implicit_body_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/test_basic_implicit_body_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import BasicClientTestBase, BasicPreparer diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/test_basic_implicit_body_operations_async.py b/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/test_basic_implicit_body_operations_async.py index 1a1cb3a072d..83322a2b281 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/test_basic_implicit_body_operations_async.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/test_basic_implicit_body_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import BasicPreparer diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/testpreparer.py index b1380377925..7b6afef93f7 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from parameters.basic import BasicClient diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/testpreparer_async.py index ea08d45f588..24f41a78773 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from parameters.basic.aio import BasicClient diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/__init__.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/__init__.py index cb2c6fe0d0f..5e4199c73ea 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_client.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_client.py index e15fd420e5b..76c418fd795 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_client.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_configuration.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_configuration.py index 5ea1e677258..5d13927e113 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_configuration.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_model_base.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_model_base.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_serialization.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_serialization.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_version.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_version.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/__init__.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/__init__.py index 283e7f0e5a3..96d70e522b8 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/_client.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/_client.py index 76139cbf5ae..1a86654cf72 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/_configuration.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/_configuration.py index 550df8b0b10..7655cdc2d46 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/operations/__init__.py index 003c81a43ba..e6d8ddd24ac 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/operations/_operations.py index 132922707a2..fc7afacdbe6 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/__init__.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/__init__.py index 4cb63b0a168..7e2610ea680 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/_models.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/_models.py index 8cc3e1d5e79..b068e5f17f7 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/_models.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/operations/__init__.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/operations/__init__.py index 003c81a43ba..e6d8ddd24ac 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/operations/_operations.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/operations/_operations.py index dea457cb416..ee879c1bebb 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/setup.py b/packages/typespec-python/test/azure/generated/parameters-basic/setup.py index 734cec694d4..066d64c920e 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/setup.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/conftest.py index 1ae6d193759..a125385319e 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/test_body_optionality.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/test_body_optionality.py index f442a976f99..ef56ba5b5a8 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/test_body_optionality.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/test_body_optionality.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import BodyOptionalityClientTestBase, BodyOptionalityPreparer diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/test_body_optionality_async.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/test_body_optionality_async.py index f33e2ec469b..5024fbdff9d 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/test_body_optionality_async.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/test_body_optionality_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import BodyOptionalityPreparer diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/test_body_optionality_optional_explicit_operations.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/test_body_optionality_optional_explicit_operations.py index cab32514b0f..5dfe0e95ed4 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/test_body_optionality_optional_explicit_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/test_body_optionality_optional_explicit_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import BodyOptionalityClientTestBase, BodyOptionalityPreparer diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/test_body_optionality_optional_explicit_operations_async.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/test_body_optionality_optional_explicit_operations_async.py index 528cb8b940c..aa6ee862b35 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/test_body_optionality_optional_explicit_operations_async.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/test_body_optionality_optional_explicit_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import BodyOptionalityPreparer diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/testpreparer.py index 2cda4617814..0e733a2adbb 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from parameters.bodyoptionality import BodyOptionalityClient diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/testpreparer_async.py index e1a57facad9..0b22395b14c 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from parameters.bodyoptionality.aio import BodyOptionalityClient diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/__init__.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/__init__.py index 71e33e7e363..03845966659 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_client.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_client.py index 7e8820dc121..89c3d462d4c 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_client.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_configuration.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_configuration.py index a307bcfcaf6..4841edbd6db 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_configuration.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_model_base.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_model_base.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_operations/__init__.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_operations/__init__.py index 1260e3464df..23fda0916ce 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_operations/_operations.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_operations/_operations.py index 9072d446038..0e183074bb9 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_serialization.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_serialization.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_vendor.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_vendor.py index 6cd51b07470..b3061844306 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_vendor.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_version.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_version.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/__init__.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/__init__.py index cc0db670cc8..d864a4bcd60 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_client.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_client.py index dfda190b701..0dcc3936e44 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_configuration.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_configuration.py index 0bbde01e27c..51038512922 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_operations/__init__.py index 1260e3464df..23fda0916ce 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_operations/_operations.py index 7938c165e04..ab625236008 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_vendor.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_vendor.py index 76687111812..7ed4ad1471a 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py index f2adadb64cd..700fcd1e655 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/_models.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/_models.py index f8491da3201..40935f73403 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/_models.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/aio/operations/__init__.py index c3ce33b3ab5..83a10b55fe3 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/aio/operations/_operations.py index d274fb65370..1de50291f6c 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/operations/__init__.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/operations/__init__.py index c3ce33b3ab5..83a10b55fe3 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/operations/_operations.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/operations/_operations.py index 7478d871b6b..ed8d6706078 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/optionalexplicit/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/setup.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/setup.py index 0796e866f70..a21a3c7a4a0 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/setup.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/conftest.py index cb6f0a85dea..d97918929d3 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/test_collection_format_header_operations.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/test_collection_format_header_operations.py index f5126c64cc3..8d22f920b98 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/test_collection_format_header_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/test_collection_format_header_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import CollectionFormatClientTestBase, CollectionFormatPreparer diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/test_collection_format_header_operations_async.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/test_collection_format_header_operations_async.py index 718968c0acc..3b596202fb2 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/test_collection_format_header_operations_async.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/test_collection_format_header_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import CollectionFormatPreparer diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/test_collection_format_query_operations.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/test_collection_format_query_operations.py index a81f0dfe777..498661d3112 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/test_collection_format_query_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/test_collection_format_query_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import CollectionFormatClientTestBase, CollectionFormatPreparer diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/test_collection_format_query_operations_async.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/test_collection_format_query_operations_async.py index 8315ede380c..bffe393738b 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/test_collection_format_query_operations_async.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/test_collection_format_query_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import CollectionFormatPreparer diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/testpreparer.py index 594d8739ef5..94fd34f3df5 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from parameters.collectionformat import CollectionFormatClient diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/testpreparer_async.py index be55bded567..fd91ec8b8cb 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from parameters.collectionformat.aio import CollectionFormatClient diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/__init__.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/__init__.py index 0c598709068..8c83aa56240 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_client.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_client.py index 0e7af92a409..e729f304369 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_client.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_configuration.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_configuration.py index d9d77e62d17..c82f9362a86 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_configuration.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_model_base.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_model_base.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_serialization.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_serialization.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_version.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_version.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/aio/__init__.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/aio/__init__.py index 66fe41bc844..20d9b1bf964 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/aio/_client.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/aio/_client.py index b38df9e4f3d..80e29e9097b 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/aio/_configuration.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/aio/_configuration.py index 58b619ba1b0..5c8570e2568 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/header/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/header/aio/operations/__init__.py index 8e39e7642d2..1ab30f60268 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/header/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/header/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/header/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/header/aio/operations/_operations.py index cdbac8a6764..b70837bb6f6 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/header/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/header/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/header/operations/__init__.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/header/operations/__init__.py index 8e39e7642d2..1ab30f60268 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/header/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/header/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/header/operations/_operations.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/header/operations/_operations.py index 3e84838fad0..223ec858a67 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/header/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/header/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/query/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/query/aio/operations/__init__.py index 2f5d3ef93d9..97d3de4f9b2 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/query/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/query/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/query/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/query/aio/operations/_operations.py index 386caf64f5b..6ea57b3c086 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/query/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/query/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/query/operations/__init__.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/query/operations/__init__.py index 2f5d3ef93d9..97d3de4f9b2 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/query/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/query/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/query/operations/_operations.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/query/operations/_operations.py index 32fa65055f5..4abda2c6b78 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/query/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/query/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/setup.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/setup.py index 1cfd7166058..e6294314d04 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/setup.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/conftest.py index d9348b60ed9..67d88cfd75b 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/test_spread_alias_operations.py b/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/test_spread_alias_operations.py index 5cd1bdbcf68..c1be4f1f508 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/test_spread_alias_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/test_spread_alias_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import SpreadClientTestBase, SpreadPreparer diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/test_spread_alias_operations_async.py b/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/test_spread_alias_operations_async.py index 829fc92a2f0..e54868a73d8 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/test_spread_alias_operations_async.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/test_spread_alias_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import SpreadPreparer diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/test_spread_model_operations.py b/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/test_spread_model_operations.py index bafe70c88da..e223de65762 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/test_spread_model_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/test_spread_model_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import SpreadClientTestBase, SpreadPreparer diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/test_spread_model_operations_async.py b/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/test_spread_model_operations_async.py index a47ae866e00..d8919fbfd48 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/test_spread_model_operations_async.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/test_spread_model_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import SpreadPreparer diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/testpreparer.py index 4852f17d464..2901c04003f 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from parameters.spread import SpreadClient diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/testpreparer_async.py index 2f860c107f6..1416ad2c18b 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from parameters.spread.aio import SpreadClient diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/__init__.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/__init__.py index d03fcc710b6..5be6f6a6209 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_client.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_client.py index 415666ebd1b..a755936a900 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_client.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_configuration.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_configuration.py index c7ddd556e5c..edef1857f37 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_configuration.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_model_base.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_model_base.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_serialization.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_serialization.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_version.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_version.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/__init__.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/__init__.py index 354c7b58426..a968d8e1655 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/_client.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/_client.py index 370be25870f..5e74caef013 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/_configuration.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/_configuration.py index 60ee28635ba..d9567a80c7b 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/operations/__init__.py index 93203fab2db..f70348837ab 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/operations/_operations.py index fb56d5f9a81..8735d72abf0 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/__init__.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/__init__.py index 84dcd89ea86..573eab6a3fd 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/_models.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/_models.py index 33b8f0c5e41..bce4236681e 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/_models.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/operations/__init__.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/operations/__init__.py index 93203fab2db..f70348837ab 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/operations/_operations.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/operations/_operations.py index 4997ca39753..87b43ee0b46 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/setup.py b/packages/typespec-python/test/azure/generated/parameters-spread/setup.py index 94e4aa9cb5f..ef564bd9927 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/setup.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/conftest.py index ed1410dc1ba..acf7adc84bf 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/test_content_negotiation_different_body_operations.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/test_content_negotiation_different_body_operations.py index 6be648376a8..da9558d9c13 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/test_content_negotiation_different_body_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/test_content_negotiation_different_body_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ContentNegotiationClientTestBase, ContentNegotiationPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/test_content_negotiation_different_body_operations_async.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/test_content_negotiation_different_body_operations_async.py index 8e4193c3fb9..62d47e75f10 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/test_content_negotiation_different_body_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/test_content_negotiation_different_body_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ContentNegotiationPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/test_content_negotiation_same_body_operations.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/test_content_negotiation_same_body_operations.py index 44b584f6773..84186b5709d 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/test_content_negotiation_same_body_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/test_content_negotiation_same_body_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ContentNegotiationClientTestBase, ContentNegotiationPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/test_content_negotiation_same_body_operations_async.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/test_content_negotiation_same_body_operations_async.py index 8649d1efaad..2ece9daf85f 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/test_content_negotiation_same_body_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/test_content_negotiation_same_body_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ContentNegotiationPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/testpreparer.py index 1fe930fc9ef..da4060d62c8 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from payload.contentnegotiation import ContentNegotiationClient diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/testpreparer_async.py index d4278af38f7..7133bd2e095 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from payload.contentnegotiation.aio import ContentNegotiationClient diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/__init__.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/__init__.py index 3915e9144ae..ca9c6d0367d 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_client.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_client.py index e1da87adef0..1fbdbf69230 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_client.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_configuration.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_configuration.py index e992db6a38d..489e574c361 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_configuration.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_model_base.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_model_base.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_serialization.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_serialization.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_version.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_version.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/__init__.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/__init__.py index 897aaeadd99..0ff44b942fd 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/_client.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/_client.py index baba294bee5..88fb495e0c1 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/_configuration.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/_configuration.py index b32148d0fd8..fde9868ffe3 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/operations/__init__.py index e498f31062c..1368193a3d3 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/operations/_operations.py index a6ca3572463..78df2b590bb 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, AsyncIterator, Callable, Dict, Literal, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/__init__.py index 36bf9f857f2..da6ad46bb9e 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/_models.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/_models.py index c7511e648ee..872fb18c037 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/_models.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/operations/__init__.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/operations/__init__.py index e498f31062c..1368193a3d3 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/operations/_operations.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/operations/_operations.py index e616d2cd29a..0db304fee4f 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Iterator, Literal, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/setup.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/setup.py index 1f462ec094d..0b387112d64 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/setup.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/conftest.py index 3a695fbbe5f..687cbc1cd18 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/test_json_merge_patch.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/test_json_merge_patch.py index 17de2c92eef..5719033ace2 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/test_json_merge_patch.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/test_json_merge_patch.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import JsonMergePatchClientTestBase, JsonMergePatchPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/test_json_merge_patch_async.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/test_json_merge_patch_async.py index 596bda667f0..bfc931ddf4b 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/test_json_merge_patch_async.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/test_json_merge_patch_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import JsonMergePatchPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/testpreparer.py index 865feb8d4fd..4be2411f2f8 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from payload.jsonmergepatch import JsonMergePatchClient diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/testpreparer_async.py index ab6c9203402..fcc202c7605 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from payload.jsonmergepatch.aio import JsonMergePatchClient diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/__init__.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/__init__.py index 34661a8008a..a25e93a80fb 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_client.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_client.py index c88872c9d30..2e720b42867 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_client.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_configuration.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_configuration.py index 0b3229fba09..d072e6e2869 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_configuration.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_model_base.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_model_base.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_operations/__init__.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_operations/__init__.py index 8f453330e80..f20a6cf438b 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_operations/_operations.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_operations/_operations.py index aebb15008de..f1723c75eda 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_serialization.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_serialization.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_vendor.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_vendor.py index cbf9b7c8f96..fe248e82828 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_vendor.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_version.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_version.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/__init__.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/__init__.py index 623122f6213..7d3eac29927 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_client.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_client.py index 7234e5ecad6..f8da1c6169b 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_configuration.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_configuration.py index fb3273a4ffe..85e73bbd3d6 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_operations/__init__.py index 8f453330e80..f20a6cf438b 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_operations/_operations.py index 3bebaa7f936..3024573af4d 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_vendor.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_vendor.py index f8bdc7d387e..48a6bf8b21a 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py index 763fe7e6f17..8a09827ff02 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py index 9877ae766a1..6257fe5d464 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Dict, List, Mapping, Optional, TYPE_CHECKING, overload diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/setup.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/setup.py index e31b462ec58..2faadfba1e2 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/setup.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/conftest.py index b3260873508..9c6c4e96dc8 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/test_media_type_string_body_operations.py b/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/test_media_type_string_body_operations.py index 5d04ecdb0ab..f3f77dafaf9 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/test_media_type_string_body_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/test_media_type_string_body_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import MediaTypeClientTestBase, MediaTypePreparer diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/test_media_type_string_body_operations_async.py b/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/test_media_type_string_body_operations_async.py index 4872edeb535..12547676b6f 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/test_media_type_string_body_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/test_media_type_string_body_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import MediaTypePreparer diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/testpreparer.py index c33bfd95b65..f32364a5010 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from payload.mediatype import MediaTypeClient diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/testpreparer_async.py index aceb8bf05a2..34e76d5eeaa 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from payload.mediatype.aio import MediaTypeClient diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/__init__.py b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/__init__.py index 76e271bbddd..2986ed72cd4 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_client.py b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_client.py index 45aebfb6b03..93d95fcc350 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_client.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_configuration.py b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_configuration.py index 1adc6aae8bb..ea3f301a76c 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_configuration.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_model_base.py b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_model_base.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_serialization.py b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_serialization.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_version.py b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_version.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/aio/__init__.py b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/aio/__init__.py index 8449e753f6b..cbe4c04a537 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/aio/_client.py b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/aio/_client.py index c1a85a23e3b..0438cdd8725 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/aio/_configuration.py b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/aio/_configuration.py index 168a282bb0e..f65787c362f 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/stringbody/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/stringbody/aio/operations/__init__.py index 773bd5b3b72..24dae74dcf4 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/stringbody/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/stringbody/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/stringbody/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/stringbody/aio/operations/_operations.py index 9fd2b98aba0..5bdf070009d 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/stringbody/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/stringbody/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import json import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/stringbody/operations/__init__.py b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/stringbody/operations/__init__.py index 773bd5b3b72..24dae74dcf4 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/stringbody/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/stringbody/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/stringbody/operations/_operations.py b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/stringbody/operations/_operations.py index d55619aacbf..e462d39a4b8 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/stringbody/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/stringbody/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import json import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/setup.py b/packages/typespec-python/test/azure/generated/payload-media-type/setup.py index 22c7b4fc241..1a96c9aeb67 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/setup.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/conftest.py index 5ddd7e6095c..7b1948a5cb1 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/test_multi_part_form_data_operations.py b/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/test_multi_part_form_data_operations.py index e6ecbc201fa..781835e94a2 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/test_multi_part_form_data_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/test_multi_part_form_data_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import MultiPartClientTestBase, MultiPartPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/test_multi_part_form_data_operations_async.py b/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/test_multi_part_form_data_operations_async.py index 1cdb43e278b..99e804541bf 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/test_multi_part_form_data_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/test_multi_part_form_data_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import MultiPartPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/testpreparer.py index 8013f1cfb3b..ad58b84f2c2 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from payload.multipart import MultiPartClient diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/testpreparer_async.py index 48fae6adf07..98b451ec0c0 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from payload.multipart.aio import MultiPartClient diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/__init__.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/__init__.py index 67ff53b8009..6a576ef2e69 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_client.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_client.py index 426f8b35596..f671b5edf94 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_client.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_configuration.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_configuration.py index 2f2e7097f39..586309bb77e 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_configuration.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_model_base.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_model_base.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_serialization.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_serialization.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_vendor.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_vendor.py index 2c8542749d8..e6f01093482 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_vendor.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + import json from typing import Any, Dict, IO, List, Mapping, Optional, Tuple, Union diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_version.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_version.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/__init__.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/__init__.py index 34cffa1ea0e..edd1c7368dd 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/_client.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/_client.py index 459117aae45..5d8c9a57dd3 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/_configuration.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/_configuration.py index 6d4b6f7c5ce..996600217f9 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/operations/__init__.py index 32e35954dfe..a3f0f414f4c 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/operations/_operations.py index abb46fdee42..4300f327b90 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar, Union, overload diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/__init__.py index a308cc58100..e5f1896cf7d 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/_models.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/_models.py index 17e17689542..98b2d1f106b 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/_models.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, List, Mapping, Optional, TYPE_CHECKING, overload diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/operations/__init__.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/operations/__init__.py index 32e35954dfe..a3f0f414f4c 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/operations/_operations.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/operations/_operations.py index 8cff6033143..273452d6910 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar, Union, overload diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/setup.py b/packages/typespec-python/test/azure/generated/payload-multipart/setup.py index 88b782e7bfe..21daa02fb39 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/setup.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/conftest.py index 2f5b1b1d57c..164dcd89702 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/test_pageable_server_driven_pagination_operations.py b/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/test_pageable_server_driven_pagination_operations.py index 78729e11bc5..923a4b226a2 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/test_pageable_server_driven_pagination_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/test_pageable_server_driven_pagination_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import PageableClientTestBase, PageablePreparer diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/test_pageable_server_driven_pagination_operations_async.py b/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/test_pageable_server_driven_pagination_operations_async.py index af7704c72aa..568cec3409b 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/test_pageable_server_driven_pagination_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/test_pageable_server_driven_pagination_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import PageablePreparer diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/testpreparer.py index 33e3de1dd71..9f5844c2124 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from payload.pageable import PageableClient diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/testpreparer_async.py index 70afd667712..21379ef4880 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from payload.pageable.aio import PageableClient diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/__init__.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/__init__.py index 6ff122c1497..55076a66f80 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_client.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_client.py index 8f804d48a80..967152cad99 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_client.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_configuration.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_configuration.py index 7ccbcc571e8..fcbba4cf876 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_configuration.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_model_base.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_model_base.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_serialization.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_serialization.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_version.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_version.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/aio/__init__.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/aio/__init__.py index de53973183f..f5f2bb54c19 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/aio/_client.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/aio/_client.py index c602c3096a8..402f54fdcf4 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/aio/_configuration.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/aio/_configuration.py index 7d5df1b99bc..09cf67a568f 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/__init__.py index eca9f6d7b8b..eda60593014 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/_models.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/_models.py index 502af952936..0bdafff4dcc 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/_models.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/__init__.py index 7c9450d0979..c027b74a4b9 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/_operations.py index d0f2e0168c8..3519ce73663 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, AsyncIterable, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_operations.py index 05a7b994cb4..04c63181322 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, AsyncIterable, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/__init__.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_operations.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_operations.py index 4ab85140963..ee4803f0993 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Iterable, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/operations/__init__.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/operations/__init__.py index 7c9450d0979..c027b74a4b9 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/operations/_operations.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/operations/_operations.py index 5cfa361e16c..aa7026c01c1 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Iterable, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/setup.py b/packages/typespec-python/test/azure/generated/payload-pageable/setup.py index 7c37c1e0d68..6b35678b1ac 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/setup.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/conftest.py index d03ee65f76c..b7edb687c98 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_array_of_model_value_operations.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_array_of_model_value_operations.py index 33b733af65a..513a9286363 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_array_of_model_value_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_array_of_model_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import XmlClientTestBase, XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_array_of_model_value_operations_async.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_array_of_model_value_operations_async.py index bd3d4f66e61..7f8831671cf 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_array_of_model_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_array_of_model_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_attributes_value_operations.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_attributes_value_operations.py index 356fbb77b01..75477c169a0 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_attributes_value_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_attributes_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import XmlClientTestBase, XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_attributes_value_operations_async.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_attributes_value_operations_async.py index 5d9b0e187e7..38e116b8bf0 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_attributes_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_attributes_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_dictionary_value_operations.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_dictionary_value_operations.py index 26a4d325a55..16928d7c7ab 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_dictionary_value_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_dictionary_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import XmlClientTestBase, XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_dictionary_value_operations_async.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_dictionary_value_operations_async.py index da945cfbd6d..9bf17851386 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_dictionary_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_dictionary_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_empty_array_value_operations.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_empty_array_value_operations.py index 44e6081c14e..ad415cb3ba3 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_empty_array_value_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_empty_array_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import XmlClientTestBase, XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_empty_array_value_operations_async.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_empty_array_value_operations_async.py index 6d41ded11db..15c4211942d 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_empty_array_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_empty_array_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_encoded_names_value_operations.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_encoded_names_value_operations.py index 59f3e60eff6..d5af0600ff8 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_encoded_names_value_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_encoded_names_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import XmlClientTestBase, XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_encoded_names_value_operations_async.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_encoded_names_value_operations_async.py index 1323992df81..26b306b521e 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_encoded_names_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_encoded_names_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_optional_field_value_operations.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_optional_field_value_operations.py index 3b5eb7b634a..3390b3458d8 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_optional_field_value_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_optional_field_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import XmlClientTestBase, XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_optional_field_value_operations_async.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_optional_field_value_operations_async.py index da1a6f9b6ae..4ce92bfc3e5 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_optional_field_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_optional_field_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_renamed_arrays_value_operations.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_renamed_arrays_value_operations.py index 16272ac5a37..1616afab05b 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_renamed_arrays_value_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_renamed_arrays_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import XmlClientTestBase, XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_renamed_arrays_value_operations_async.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_renamed_arrays_value_operations_async.py index 4a2a5e7f598..85c8109461f 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_renamed_arrays_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_renamed_arrays_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_renamed_fields_value_operations.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_renamed_fields_value_operations.py index d4930f241aa..55fa6ec8b3a 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_renamed_fields_value_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_renamed_fields_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import XmlClientTestBase, XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_renamed_fields_value_operations_async.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_renamed_fields_value_operations_async.py index 37473a37186..7ab55fa7257 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_renamed_fields_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_renamed_fields_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_simple_arrays_value_operations.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_simple_arrays_value_operations.py index 45ce3de4505..097a57230ca 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_simple_arrays_value_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_simple_arrays_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import XmlClientTestBase, XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_simple_arrays_value_operations_async.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_simple_arrays_value_operations_async.py index 752fd7ae40d..4d4d4a54266 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_simple_arrays_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_simple_arrays_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_text_value_operations.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_text_value_operations.py index ca3bfd4ffff..c19e8ce8aba 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_text_value_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_text_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import XmlClientTestBase, XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_text_value_operations_async.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_text_value_operations_async.py index 40273954dab..65eab4fe6b5 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_text_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_text_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_unwrapped_array_value_operations.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_unwrapped_array_value_operations.py index a800c926494..06dfa2d6fa9 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_unwrapped_array_value_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_unwrapped_array_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import XmlClientTestBase, XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_unwrapped_array_value_operations_async.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_unwrapped_array_value_operations_async.py index dc90609ca01..7057cddd2c0 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_unwrapped_array_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_model_with_unwrapped_array_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_simple_model_value_operations.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_simple_model_value_operations.py index a37cd64c613..a8376712a5d 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_simple_model_value_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_simple_model_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import XmlClientTestBase, XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_simple_model_value_operations_async.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_simple_model_value_operations_async.py index 739b7e9eee8..0c42bd7d059 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_simple_model_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/test_xml_simple_model_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import XmlPreparer diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/testpreparer.py index d9c970b72fd..7470b7afb70 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from payload.xml import XmlClient diff --git a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/testpreparer_async.py index a7cd6daf1c6..d993ba8306c 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from payload.xml.aio import XmlClient diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/__init__.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/__init__.py index b0f7bb249f1..fe6bc18d345 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_client.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_client.py index 30d8af77354..ea0eedacd17 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_client.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_configuration.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_configuration.py index 0fd64643062..3c8cc9d01f0 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_configuration.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_model_base.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_model_base.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_serialization.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_serialization.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_version.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_version.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/__init__.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/__init__.py index a8d36df7c2b..a26815c9887 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/_client.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/_client.py index 4f42bf3edc2..5a5d8865619 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/_configuration.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/_configuration.py index ae492e1e769..7d629a2738b 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/operations/__init__.py index d8583cd48b3..b4f8b77feaf 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/operations/_operations.py index 09f209898dc..637c8986529 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/__init__.py index e89a33c7aac..5abef18076e 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/_models.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/_models.py index 5f6aafa22ca..25fc1866be4 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/_models.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Dict, List, Mapping, Optional, TYPE_CHECKING, overload diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/operations/__init__.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/operations/__init__.py index d8583cd48b3..b4f8b77feaf 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/operations/_operations.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/operations/_operations.py index 6b2ae99ee71..77d032ba006 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/payload-xml/setup.py b/packages/typespec-python/test/azure/generated/payload-xml/setup.py index cbb42621021..1b62138fe4e 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/setup.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/conftest.py index a8b02f1c29e..a2a87317d0a 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/test_resiliency_service_driven.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/test_resiliency_service_driven.py index 58499e1d169..39eb11630ef 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/test_resiliency_service_driven.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/test_resiliency_service_driven.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ResiliencyServiceDrivenClientTestBase, ResiliencyServiceDrivenPreparer diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/test_resiliency_service_driven_async.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/test_resiliency_service_driven_async.py index 1998fbcccdd..dd7d11a9487 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/test_resiliency_service_driven_async.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/test_resiliency_service_driven_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ResiliencyServiceDrivenPreparer diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/testpreparer.py index 6acb31d75c4..d657bd047dc 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from resiliency.srv.driven1 import ResiliencyServiceDrivenClient diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/testpreparer_async.py index b3ac849dbfe..bb886d1ab0a 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from resiliency.srv.driven1.aio import ResiliencyServiceDrivenClient diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/__init__.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/__init__.py index 777f7bc99dd..97302a56c37 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/__init__.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_client.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_client.py index fa40a38818d..039cabdc3e7 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_client.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_configuration.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_configuration.py index 3e5ae14d4e5..e4da6df9461 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_configuration.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_model_base.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_model_base.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_operations/__init__.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_operations/__init__.py index 4a8ff7f9c39..35198b5ab92 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_operations/_operations.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_operations/_operations.py index 22876d36a34..28098527c83 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_serialization.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_serialization.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_vendor.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_vendor.py index a1f1bf8898a..7bcc56a09c5 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_vendor.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_version.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_version.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/__init__.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/__init__.py index 4f41aabeaa2..0e30b9a924e 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_client.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_client.py index 6e5d7d32e1a..abfab7249ea 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_configuration.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_configuration.py index bce1e6a0cfc..8fc2b09c37f 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_operations/__init__.py index 4a8ff7f9c39..35198b5ab92 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_operations/_operations.py index b73e81158c7..c87f95293c7 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_vendor.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_vendor.py index a683c047d98..f673ada5d49 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/setup.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/setup.py index 00cdce19581..1bc71641ba0 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/setup.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/conftest.py index a8b02f1c29e..a2a87317d0a 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/test_resiliency_service_driven.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/test_resiliency_service_driven.py index 69fac02b913..a827df42fc3 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/test_resiliency_service_driven.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/test_resiliency_service_driven.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ResiliencyServiceDrivenClientTestBase, ResiliencyServiceDrivenPreparer diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/test_resiliency_service_driven_async.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/test_resiliency_service_driven_async.py index 3428f5f7036..05d9bcc89f6 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/test_resiliency_service_driven_async.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/test_resiliency_service_driven_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ResiliencyServiceDrivenPreparer diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/testpreparer.py index 4b27b01cbbd..8ce298e478a 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from resiliency.srv.driven2 import ResiliencyServiceDrivenClient diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/testpreparer_async.py index 8d5fdf72038..e94f4e5ea90 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from resiliency.srv.driven2.aio import ResiliencyServiceDrivenClient diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/__init__.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/__init__.py index 777f7bc99dd..97302a56c37 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/__init__.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_client.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_client.py index 7000678cf9f..a871e6cacac 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_client.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_configuration.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_configuration.py index cf1da010fe0..5a153640f3a 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_configuration.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_model_base.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_model_base.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_operations/__init__.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_operations/__init__.py index 4a8ff7f9c39..35198b5ab92 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_operations/_operations.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_operations/_operations.py index 0e5b9651387..a5a693c8843 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_serialization.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_serialization.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_validation.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_validation.py index 964148cf00e..752b2822f9d 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_validation.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_validation.py @@ -1,3 +1,9 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import functools diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_vendor.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_vendor.py index a1f1bf8898a..7bcc56a09c5 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_vendor.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_version.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_version.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/__init__.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/__init__.py index 4f41aabeaa2..0e30b9a924e 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_client.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_client.py index 1f90d8deab5..3a3d067be58 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_configuration.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_configuration.py index e17d5396869..bd35e1c0c81 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_operations/__init__.py index 4a8ff7f9c39..35198b5ab92 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_operations/_operations.py index 97493602f33..e36e4fa5fb9 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_vendor.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_vendor.py index a683c047d98..f673ada5d49 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/setup.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/setup.py index fa5b438752d..c0bdd60911f 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/setup.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/conftest.py index 714755d1be5..b094f3e620d 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/test_status_code_range.py b/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/test_status_code_range.py index 4ced8965930..5214648aa20 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/test_status_code_range.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/test_status_code_range.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import StatusCodeRangeClientTestBase, StatusCodeRangePreparer diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/test_status_code_range_async.py b/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/test_status_code_range_async.py index 160461c6e14..360b151bc21 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/test_status_code_range_async.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/test_status_code_range_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import StatusCodeRangePreparer diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/testpreparer.py index f06dc3d66d1..caa3846fa25 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from response.statuscoderange import StatusCodeRangeClient diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/testpreparer_async.py index 4a8aabc48d4..de32b98d031 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from response.statuscoderange.aio import StatusCodeRangeClient diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/__init__.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/__init__.py index 3f8f69694e1..16e389f9da2 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/__init__.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_client.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_client.py index 2ca629239f6..4ad9a78ba62 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_client.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_configuration.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_configuration.py index 6886080eeb2..7189db724b4 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_configuration.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_model_base.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_model_base.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_operations/__init__.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_operations/__init__.py index 231dcad49dc..6fdc2a0dad5 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_operations/_operations.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_operations/_operations.py index 10264409d95..051fecb957f 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_serialization.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_serialization.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_vendor.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_vendor.py index fc6f6895235..41dc5fa69db 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_vendor.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_version.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_version.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/__init__.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/__init__.py index c34cf575ead..593da0d6872 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_client.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_client.py index a02b28a91de..7d3a968dc9b 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_configuration.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_configuration.py index f3660ae168b..91b9773fec3 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_operations/__init__.py index 231dcad49dc..6fdc2a0dad5 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_operations/_operations.py index ec011575587..a3ab6eb372e 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_vendor.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_vendor.py index f0020a208fd..263cd4a4f72 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/__init__.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/__init__.py index 4bad01fd68b..f77e6db26dd 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/_models.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/_models.py index d171f4985e7..e113572d890 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/_models.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/setup.py b/packages/typespec-python/test/azure/generated/response-status-code-range/setup.py index a824b470e5e..2a562efe140 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/setup.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/routes/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/routes/generated_tests/conftest.py index 6f540d61aef..0416b7b5099 100644 --- a/packages/typespec-python/test/azure/generated/routes/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/routes/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes.py b/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes.py index 5c6c096cbcb..76ea321422e 100644 --- a/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes.py +++ b/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import RoutesClientTestBase, RoutesPreparer diff --git a/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_async.py b/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_async.py index b56e1897d4d..705ab5d1955 100644 --- a/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_async.py +++ b/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import RoutesPreparer diff --git a/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_in_interface_operations.py b/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_in_interface_operations.py index 9ae1fe951f5..4c2c9a7be14 100644 --- a/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_in_interface_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_in_interface_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import RoutesClientTestBase, RoutesPreparer diff --git a/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_in_interface_operations_async.py b/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_in_interface_operations_async.py index 79c330b0491..1fac7cb10fe 100644 --- a/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_in_interface_operations_async.py +++ b/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_in_interface_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import RoutesPreparer diff --git a/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_path_parameters_operations.py b/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_path_parameters_operations.py index d5834d1a352..20cf78b6765 100644 --- a/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_path_parameters_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_path_parameters_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import RoutesClientTestBase, RoutesPreparer diff --git a/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_path_parameters_operations_async.py b/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_path_parameters_operations_async.py index 90ecf21898b..c73a227f87e 100644 --- a/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_path_parameters_operations_async.py +++ b/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_path_parameters_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import RoutesPreparer diff --git a/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_query_parameters_operations.py b/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_query_parameters_operations.py index 25d7fd4948b..566ff148af5 100644 --- a/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_query_parameters_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_query_parameters_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import RoutesClientTestBase, RoutesPreparer diff --git a/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_query_parameters_operations_async.py b/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_query_parameters_operations_async.py index 48934a0f456..c85cfc7ebd7 100644 --- a/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_query_parameters_operations_async.py +++ b/packages/typespec-python/test/azure/generated/routes/generated_tests/test_routes_query_parameters_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import RoutesPreparer diff --git a/packages/typespec-python/test/azure/generated/routes/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/routes/generated_tests/testpreparer.py index b54f3a337ea..baf88af09ab 100644 --- a/packages/typespec-python/test/azure/generated/routes/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/routes/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from routes import RoutesClient diff --git a/packages/typespec-python/test/azure/generated/routes/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/routes/generated_tests/testpreparer_async.py index d9933ec1ea0..3d66391fd7d 100644 --- a/packages/typespec-python/test/azure/generated/routes/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/routes/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from routes.aio import RoutesClient diff --git a/packages/typespec-python/test/azure/generated/routes/routes/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/__init__.py index f3b8e79a58a..0c684f24b87 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/_client.py b/packages/typespec-python/test/azure/generated/routes/routes/_client.py index 0e22c49efe7..45fa7930063 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/_client.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/routes/routes/_configuration.py b/packages/typespec-python/test/azure/generated/routes/routes/_configuration.py index 7dc1b54f2ff..f39ddcd510d 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/_configuration.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/routes/routes/_model_base.py b/packages/typespec-python/test/azure/generated/routes/routes/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/_model_base.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/routes/routes/_serialization.py b/packages/typespec-python/test/azure/generated/routes/routes/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/_serialization.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/routes/routes/_vendor.py b/packages/typespec-python/test/azure/generated/routes/routes/_vendor.py index f130cb083ba..c3e13092d70 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/_vendor.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/_version.py b/packages/typespec-python/test/azure/generated/routes/routes/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/_version.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/routes/routes/aio/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/aio/__init__.py index 7496fb1698a..cb1c9cf5516 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/aio/_client.py b/packages/typespec-python/test/azure/generated/routes/routes/aio/_client.py index b18c324509b..7345d6d8d94 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/routes/routes/aio/_configuration.py b/packages/typespec-python/test/azure/generated/routes/routes/aio/_configuration.py index fd749625f8f..c9022e831e7 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/routes/routes/aio/_vendor.py b/packages/typespec-python/test/azure/generated/routes/routes/aio/_vendor.py index 5fff12bd7ff..8c4c586c7b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/aio/operations/__init__.py index 7a27dea1544..830cd9bf21f 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/aio/operations/_operations.py index 4ae2ff90055..8cc6873b594 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/operations/__init__.py index 7a27dea1544..830cd9bf21f 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/operations/_operations.py index 1bfa8413ff3..3662220cf24 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/aio/operations/__init__.py index 517900cf344..fc6dacce9a2 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/aio/operations/_operations.py index 46dc2b73ced..51072c593cd 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/aio/operations/_operations.py index 90ec2c68911..04e02bd6daa 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from azure.core import AsyncPipelineClient from ....._serialization import Deserializer, Serializer diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/explode/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/explode/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/explode/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/explode/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/explode/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/explode/aio/operations/_operations.py index 67010443db8..1ad7449bc11 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/explode/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/explode/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/explode/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/explode/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/explode/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/explode/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/explode/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/explode/operations/_operations.py index 5879c3f9a1e..07409f56547 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/explode/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/explode/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/operations/_operations.py index f91ecd35273..f714b5a0a4f 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from azure.core import PipelineClient from ...._configuration import RoutesClientConfiguration diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/standard/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/standard/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/standard/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/standard/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/standard/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/standard/aio/operations/_operations.py index 2ca32090c56..f0d8044500a 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/standard/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/standard/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/standard/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/standard/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/standard/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/standard/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/standard/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/standard/operations/_operations.py index c99f4ea03c5..1d9d9c7e5ad 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/standard/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/labelexpansion/standard/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/aio/operations/_operations.py index d45289cdf21..5b747f1cca1 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from azure.core import AsyncPipelineClient from ....._serialization import Deserializer, Serializer diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/explode/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/explode/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/explode/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/explode/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/explode/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/explode/aio/operations/_operations.py index 808c979d422..317a1b584fc 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/explode/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/explode/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/explode/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/explode/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/explode/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/explode/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/explode/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/explode/operations/_operations.py index 320f64577f9..405fd2801f6 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/explode/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/explode/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/operations/_operations.py index a81b084562c..bcbe3d09bd5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from azure.core import PipelineClient from ...._configuration import RoutesClientConfiguration diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/standard/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/standard/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/standard/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/standard/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/standard/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/standard/aio/operations/_operations.py index e9938eb9c05..38880e6067a 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/standard/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/standard/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/standard/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/standard/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/standard/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/standard/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/standard/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/standard/operations/_operations.py index 5fdfd519c42..99f775b8211 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/standard/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/matrixexpansion/standard/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/operations/__init__.py index 517900cf344..fc6dacce9a2 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/operations/_operations.py index efa8ee970ef..d6d80682e13 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/aio/operations/_operations.py index 366e91ec4a7..9e37a7bc57e 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from azure.core import AsyncPipelineClient from ....._serialization import Deserializer, Serializer diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/explode/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/explode/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/explode/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/explode/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/explode/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/explode/aio/operations/_operations.py index 454284fdef0..14ea8bba16c 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/explode/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/explode/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/explode/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/explode/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/explode/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/explode/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/explode/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/explode/operations/_operations.py index 4121c26fc3c..75272bcae45 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/explode/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/explode/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/operations/_operations.py index 9ffdd8086d9..bfc9d1b6cf4 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from azure.core import PipelineClient from ...._configuration import RoutesClientConfiguration diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/standard/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/standard/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/standard/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/standard/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/standard/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/standard/aio/operations/_operations.py index 10e7c841cfe..0eb26bc5cf3 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/standard/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/standard/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/standard/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/standard/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/standard/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/standard/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/standard/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/standard/operations/_operations.py index 1d5825b63ac..3a1263419dc 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/standard/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/pathexpansion/standard/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/reservedexpansion/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/reservedexpansion/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/reservedexpansion/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/reservedexpansion/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/reservedexpansion/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/reservedexpansion/aio/operations/_operations.py index 35776859f0e..e35160f1d36 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/reservedexpansion/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/reservedexpansion/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/reservedexpansion/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/reservedexpansion/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/reservedexpansion/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/reservedexpansion/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/reservedexpansion/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/reservedexpansion/operations/_operations.py index 4648f5f8078..6404752c1de 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/reservedexpansion/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/reservedexpansion/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/aio/operations/_operations.py index 62f6427783e..415fb2ee17a 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from azure.core import AsyncPipelineClient from ....._serialization import Deserializer, Serializer diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/explode/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/explode/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/explode/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/explode/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/explode/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/explode/aio/operations/_operations.py index 60258fee70f..a1934ebd9bd 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/explode/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/explode/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/explode/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/explode/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/explode/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/explode/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/explode/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/explode/operations/_operations.py index ae5389d0a3c..531f26f1a64 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/explode/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/explode/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/operations/_operations.py index c00cc2306c7..6ecc41d56f4 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from azure.core import PipelineClient from ...._configuration import RoutesClientConfiguration diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/standard/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/standard/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/standard/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/standard/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/standard/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/standard/aio/operations/_operations.py index eefc2aa8181..afa5efcbff5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/standard/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/standard/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/standard/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/standard/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/standard/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/standard/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/standard/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/standard/operations/_operations.py index 478dca24538..51709420fdb 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/standard/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/pathparameters/simpleexpansion/standard/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/aio/operations/__init__.py index d0330f82a46..2a3caa32eab 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/aio/operations/_operations.py index 70319564666..7d21ac809a8 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/operations/__init__.py index d0330f82a46..2a3caa32eab 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/operations/_operations.py index 70bc03fcbf4..d74558a9393 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/aio/operations/_operations.py index 3db8a171462..5cfd81ed40f 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from azure.core import AsyncPipelineClient from ....._serialization import Deserializer, Serializer diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/explode/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/explode/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/explode/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/explode/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/explode/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/explode/aio/operations/_operations.py index 78eb59b8e46..edbdd1c4104 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/explode/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/explode/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/explode/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/explode/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/explode/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/explode/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/explode/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/explode/operations/_operations.py index 1ac22dc16f2..94b7afe8e0b 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/explode/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/explode/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/operations/_operations.py index 4fc877241ff..1be220a2d55 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from azure.core import PipelineClient from ...._configuration import RoutesClientConfiguration diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/standard/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/standard/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/standard/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/standard/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/standard/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/standard/aio/operations/_operations.py index 28df3a5ada6..4862b597636 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/standard/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/standard/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/standard/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/standard/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/standard/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/standard/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/standard/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/standard/operations/_operations.py index 51e9e232122..3cc9b171aef 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/standard/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/querycontinuation/standard/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/aio/operations/_operations.py index de064f5b4b6..fc3aba35f11 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from azure.core import AsyncPipelineClient from ....._serialization import Deserializer, Serializer diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/explode/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/explode/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/explode/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/explode/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/explode/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/explode/aio/operations/_operations.py index ae357f7e7bc..6de8790d6b2 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/explode/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/explode/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/explode/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/explode/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/explode/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/explode/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/explode/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/explode/operations/_operations.py index 7430fc0f1b4..cb190e15d50 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/explode/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/explode/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/operations/_operations.py index ef3f5e88438..1b07e28ec71 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from azure.core import PipelineClient from ...._configuration import RoutesClientConfiguration diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/standard/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/standard/aio/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/standard/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/standard/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/standard/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/standard/aio/operations/_operations.py index 48e3c49c352..e3920ee16d1 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/standard/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/standard/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/standard/operations/__init__.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/standard/operations/__init__.py index 0d033db47cd..933fcd7d1b5 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/standard/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/standard/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/standard/operations/_operations.py b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/standard/operations/_operations.py index a153a486a98..1fea97d4cd6 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/standard/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/queryparameters/queryexpansion/standard/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, List, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/routes/setup.py b/packages/typespec-python/test/azure/generated/routes/setup.py index 0b8d2367215..26e351b172b 100644 --- a/packages/typespec-python/test/azure/generated/routes/setup.py +++ b/packages/typespec-python/test/azure/generated/routes/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/conftest.py index 360a19ea582..9e4e68059bf 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/test_json_property_operations.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/test_json_property_operations.py index 8f85b19c531..ffa148b4644 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/test_json_property_operations.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/test_json_property_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import JsonClientTestBase, JsonPreparer diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/test_json_property_operations_async.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/test_json_property_operations_async.py index e36d1d71f2a..44de344c6f5 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/test_json_property_operations_async.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/test_json_property_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import JsonPreparer diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/testpreparer.py index f062ed9b978..c451c83f0f7 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from serialization.encodedname.json import JsonClient diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/testpreparer_async.py index 86fabcad84c..ede52b11d00 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from serialization.encodedname.json.aio import JsonClient diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/__init__.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/__init__.py index 158d6f01e27..8a0cae70714 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/__init__.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_client.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_client.py index d91f33de4e3..5601a8af2e2 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_client.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_configuration.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_configuration.py index d5fc523c6f2..c7fea5a649e 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_configuration.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_model_base.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_model_base.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_serialization.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_serialization.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_version.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_version.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/__init__.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/__init__.py index 37a7bbc1df0..6644ec64066 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/_client.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/_client.py index ffd007bd563..4f0c8e14015 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/_configuration.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/_configuration.py index 4ee5201495b..f326dea7f12 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/operations/__init__.py index 02fe504541c..22f11074013 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/operations/_operations.py index 5edab0a37c4..2d0183eece1 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/__init__.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/__init__.py index 7b49da89deb..ae9b847704f 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/_models.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/_models.py index b5e390ec244..ee9a4c7d00a 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/_models.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/operations/__init__.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/operations/__init__.py index 02fe504541c..22f11074013 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/operations/_operations.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/operations/_operations.py index aedda48a7b0..81595014e1c 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/setup.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/setup.py index 224a304b704..50bbe3216ee 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/setup.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/conftest.py index 4b10a5bf57c..0ab89c65aa8 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/test_not_defined.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/test_not_defined.py index 33def8e9f6f..d8ac72c4999 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/test_not_defined.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/test_not_defined.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import NotDefinedClientTestBase, NotDefinedPreparer diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/test_not_defined_async.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/test_not_defined_async.py index 2ac30a45e07..debae5f767c 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/test_not_defined_async.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/test_not_defined_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NotDefinedPreparer diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/testpreparer.py index f3ad82df36d..d376459f692 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from server.endpoint.notdefined import NotDefinedClient diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/testpreparer_async.py index e3c3b1678f6..18259ec1835 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from server.endpoint.notdefined.aio import NotDefinedClient diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/__init__.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/__init__.py index 65b249ef3f2..88371bf656d 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_client.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_client.py index e4474ae2159..53a9921f9c1 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_client.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_configuration.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_configuration.py index b21279dd8bf..862ddd55007 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_configuration.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_model_base.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_model_base.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_operations/__init__.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_operations/__init__.py index b51fcf0673d..66dbe8fc3ff 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_operations/_operations.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_operations/_operations.py index 0955331a366..eef77448740 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_serialization.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_serialization.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_vendor.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_vendor.py index 26e4a703329..09fb220b63e 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_vendor.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_version.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_version.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/__init__.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/__init__.py index 199740fc729..9da87864c35 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_client.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_client.py index 5854ef61f39..c1bfb95770e 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_configuration.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_configuration.py index e99290666bc..5b5e297c35f 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_operations/__init__.py index b51fcf0673d..66dbe8fc3ff 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_operations/_operations.py index 5276af49509..9de330eec80 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_vendor.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_vendor.py index e83ffb3e365..19564973a65 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/setup.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/setup.py index 62133e72e3a..cdf05a7fe82 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/setup.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/conftest.py index 1d1a9766c24..ecb5f89d885 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/test_multiple.py b/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/test_multiple.py index 73197661b84..ff7fdbce871 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/test_multiple.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/test_multiple.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import MultipleClientTestBase, MultiplePreparer diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/test_multiple_async.py b/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/test_multiple_async.py index 0197da856c2..af09dbc3f87 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/test_multiple_async.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/test_multiple_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import MultiplePreparer diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/testpreparer.py index 51a8033df77..058cc89c40c 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from server.path.multiple import MultipleClient diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/testpreparer_async.py index bf618593114..3b5a7b2c131 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from server.path.multiple.aio import MultipleClient diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/__init__.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/__init__.py index 9a5d0e75849..10c39fd6e7c 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_client.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_client.py index d18ce37d99f..2d3945dd42c 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_client.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_configuration.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_configuration.py index 4afd66750ec..1a84717b685 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_configuration.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_model_base.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_model_base.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_operations/__init__.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_operations/__init__.py index 9c00f4ab124..5870b7bab12 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_operations/_operations.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_operations/_operations.py index 594b0447e5c..0ac655cc39d 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_serialization.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_serialization.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_vendor.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_vendor.py index 80fc51ca365..1fc0062beca 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_vendor.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_version.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_version.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/__init__.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/__init__.py index 608986b5f60..5bdfad77fe5 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_client.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_client.py index 53fba881aa4..10c4a7214a5 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_configuration.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_configuration.py index 2cb16967ac3..ae9ecd544b7 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_operations/__init__.py index 9c00f4ab124..5870b7bab12 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_operations/_operations.py index 207badc0ab9..9e6a92fdfce 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_vendor.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_vendor.py index 1f3b51bba6b..4396d4e7625 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/models/__init__.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/models/__init__.py index f8b97f7eed8..8ee7511813e 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/models/_enums.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/models/_enums.py index dc037a7c06e..f7253648a1c 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/setup.py b/packages/typespec-python/test/azure/generated/server-path-multiple/setup.py index 582e70219cb..dbae082ce7a 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/setup.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/conftest.py index da0387f18d7..2b689de1153 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/test_single.py b/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/test_single.py index 303d4a5b335..e6c45a6e182 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/test_single.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/test_single.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import SingleClientTestBase, SinglePreparer diff --git a/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/test_single_async.py b/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/test_single_async.py index 7b980b8c287..b841788ad37 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/test_single_async.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/test_single_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import SinglePreparer diff --git a/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/testpreparer.py index 3a82c9356d7..37982e18354 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from server.path.single import SingleClient diff --git a/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/testpreparer_async.py index 6a8a6c3ad65..131dc39a8ce 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from server.path.single.aio import SingleClient diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/__init__.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/__init__.py index c1a11cf8df9..26ea93276bb 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_client.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_client.py index 6892c9a662a..a0f96aa1a9f 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_client.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_configuration.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_configuration.py index 90fb5e53234..7ea638afb08 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_configuration.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_model_base.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_model_base.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_operations/__init__.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_operations/__init__.py index d8945d4e062..9f12b1d8805 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_operations/_operations.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_operations/_operations.py index 8745de9c5ae..40cd333b594 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_serialization.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_serialization.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_vendor.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_vendor.py index 6a2d0c5b0ea..35434b3b12e 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_vendor.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_version.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_version.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/__init__.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/__init__.py index 2397507204e..7a60bdf1302 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_client.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_client.py index 3fcfcf0f7c7..8f39608dad2 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_configuration.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_configuration.py index d6608f046c7..a2107beb1b6 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_operations/__init__.py index d8945d4e062..9f12b1d8805 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_operations/_operations.py index a4fcb3cb3be..76981d29a62 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_vendor.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_vendor.py index 2195187d2e1..ffa3fe62028 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-path-single/setup.py b/packages/typespec-python/test/azure/generated/server-path-single/setup.py index 8a08e2b4bae..1125bdd93d1 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/setup.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/conftest.py index b52093f617f..113408d780d 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/test_not_versioned.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/test_not_versioned.py index 81e58b572b5..0168620cb05 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/test_not_versioned.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/test_not_versioned.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import NotVersionedClientTestBase, NotVersionedPreparer diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/test_not_versioned_async.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/test_not_versioned_async.py index 622a7584191..10167440b12 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/test_not_versioned_async.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/test_not_versioned_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NotVersionedPreparer diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/testpreparer.py index ed94d7d0357..d60bf7abed6 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from server.versions.notversioned import NotVersionedClient diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/testpreparer_async.py index 447544e5d9c..4d083176898 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from server.versions.notversioned.aio import NotVersionedClient diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/__init__.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/__init__.py index a82ba45eb99..6ec69554cfc 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_client.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_client.py index b281edd7417..99ce06095ec 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_client.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_configuration.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_configuration.py index b9de687adef..d384d2e0cff 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_configuration.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_model_base.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_model_base.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_operations/__init__.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_operations/__init__.py index ca066e2178c..a2f7c7e2e99 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_operations/_operations.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_operations/_operations.py index dcd2cec01a7..8d906d9c9b8 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_serialization.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_serialization.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_vendor.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_vendor.py index a143515c22f..224bf8d1e3a 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_vendor.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_version.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_version.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/__init__.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/__init__.py index 891ae2706ea..d94b7ddbb5f 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_client.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_client.py index 9854de87979..c2b673a7186 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_configuration.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_configuration.py index 5a4778cb580..c234059b015 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_operations/__init__.py index ca066e2178c..a2f7c7e2e99 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_operations/_operations.py index a819009c4e5..7eee6b02193 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_vendor.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_vendor.py index 4109dc456d1..6c85bf15bcd 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/setup.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/setup.py index 1ab5afeea51..482e99f26e2 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/setup.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/conftest.py index cf4bd83b93c..b21f87d9301 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/test_versioned.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/test_versioned.py index 660c5133bd1..c3377064708 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/test_versioned.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/test_versioned.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import VersionedClientTestBase, VersionedPreparer diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/test_versioned_async.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/test_versioned_async.py index c24c3047262..b5a2f83d581 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/test_versioned_async.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/test_versioned_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import VersionedPreparer diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/testpreparer.py index b3f71c1148f..8d7f9d4965f 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from server.versions.versioned import VersionedClient diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/testpreparer_async.py index 39c9794cd6a..b0610e33752 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from server.versions.versioned.aio import VersionedClient diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/__init__.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/__init__.py index e111aab357e..22c11a9ab8a 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_client.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_client.py index 391f606b150..9578b041663 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_client.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_configuration.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_configuration.py index 804161833b6..7e6b145bebb 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_configuration.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_model_base.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_model_base.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_operations/__init__.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_operations/__init__.py index eb7e8e013de..a6df38be52e 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_operations/_operations.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_operations/_operations.py index 8e249e2cad7..5cf481a18b1 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_serialization.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_serialization.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_vendor.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_vendor.py index b1dadef4547..851b7e6cfb4 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_vendor.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_version.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_version.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/__init__.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/__init__.py index cf74957c754..04fd4ec253c 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_client.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_client.py index 9d2b09d077a..157bb4d52c4 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_configuration.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_configuration.py index c05caefdf12..4de5d890be3 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_operations/__init__.py index eb7e8e013de..a6df38be52e 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_operations/_operations.py index 9c169cc2b33..ccc7f534f4a 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_vendor.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_vendor.py index e9bc85aa57d..e6d60001282 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/setup.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/setup.py index a06509cf043..5753f051afb 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/setup.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/conftest.py index acb392d0196..732c2c5da0d 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/test_conditional_request.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/test_conditional_request.py index 597c00347cf..3850898ec82 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/test_conditional_request.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/test_conditional_request.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ConditionalRequestClientTestBase, ConditionalRequestPreparer diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/test_conditional_request_async.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/test_conditional_request_async.py index eb3d2d4fefc..714becb95a0 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/test_conditional_request_async.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/test_conditional_request_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ConditionalRequestPreparer diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/testpreparer.py index add7cdadd58..147f64006bd 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from specialheaders.conditionalrequest import ConditionalRequestClient diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/testpreparer_async.py index 48756244dc9..9d23fc53553 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from specialheaders.conditionalrequest.aio import ConditionalRequestClient diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/setup.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/setup.py index fb09c86eaea..ac5f71f3de6 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/setup.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/__init__.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/__init__.py index edea547a157..ccea58b1c38 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/__init__.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_client.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_client.py index bb57dc60baa..39e51c406ef 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_client.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_configuration.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_configuration.py index ac92cb99c6f..e7c0685a5ec 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_configuration.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_model_base.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_model_base.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_operations/__init__.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_operations/__init__.py index 6fac784f674..f4b754aa760 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_operations/_operations.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_operations/_operations.py index 4b3bd854e92..c3558d8d146 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import datetime import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_serialization.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_serialization.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_vendor.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_vendor.py index 86818f4023a..bf469e2b080 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_vendor.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import Optional, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_version.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_version.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/__init__.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/__init__.py index 3b11ea64859..bb9db8564ab 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_client.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_client.py index c8240aa4371..63b3029d4e9 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_configuration.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_configuration.py index 50f41dbcb72..bb841bfd10b 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_operations/__init__.py index 6fac784f674..f4b754aa760 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_operations/_operations.py index 64d0d25c72a..4d816ef0102 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import datetime import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_vendor.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_vendor.py index 9e2e57e7a8a..6009e9c327e 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import Optional, TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/conftest.py index eb554a82d2e..420e0fefcb5 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/test_repeatability.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/test_repeatability.py index 45a238a5b4a..f90fb946847 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/test_repeatability.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/test_repeatability.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import RepeatabilityClientTestBase, RepeatabilityPreparer diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/test_repeatability_async.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/test_repeatability_async.py index d6064f87cbe..96a827ca7de 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/test_repeatability_async.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/test_repeatability_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import RepeatabilityPreparer diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/testpreparer.py index d52e28d85b3..20f2aa53457 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from specialheaders.repeatability import RepeatabilityClient diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/testpreparer_async.py index 804cf50116b..1aee05e0694 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from specialheaders.repeatability.aio import RepeatabilityClient diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/setup.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/setup.py index 3937630960a..5487bcd6c4f 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/setup.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/__init__.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/__init__.py index 5a9a9e6f00a..d0c1e3c9160 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/__init__.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_client.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_client.py index 8fc0e91a88c..9cfa16834bc 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_client.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_configuration.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_configuration.py index b1a0fa5d066..9624079c59d 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_configuration.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_model_base.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_model_base.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_operations/__init__.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_operations/__init__.py index 6ce4232d4d4..3996a41e434 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_operations/_operations.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_operations/_operations.py index 6a50fc27f55..f8fb216c1d3 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import datetime import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_serialization.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_serialization.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_vendor.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_vendor.py index 53c82fa4a77..9cc3504bf35 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_vendor.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_version.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_version.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/__init__.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/__init__.py index 2971f5bd5da..d8b03e02016 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_client.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_client.py index 748605f15aa..c3576722e6a 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_configuration.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_configuration.py index 94ba3fad8ab..8777309481d 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_operations/__init__.py index 6ce4232d4d4..3996a41e434 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_operations/_operations.py index f66f4d83908..d746a2fb938 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_vendor.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_vendor.py index d82a87aaa41..096b77265ed 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-words/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/special-words/generated_tests/conftest.py index 3f9e4310948..299af9f3cf3 100644 --- a/packages/typespec-python/test/azure/generated/special-words/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/special-words/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_model_properties_operations.py b/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_model_properties_operations.py index 0d5a85db15f..b0d93f73c52 100644 --- a/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_model_properties_operations.py +++ b/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_model_properties_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import SpecialWordsClientTestBase, SpecialWordsPreparer diff --git a/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_model_properties_operations_async.py b/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_model_properties_operations_async.py index 241070070dd..fe0b9e2887b 100644 --- a/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_model_properties_operations_async.py +++ b/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_model_properties_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import SpecialWordsPreparer diff --git a/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_models_operations.py b/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_models_operations.py index 931e5c3d957..1e4b1cce356 100644 --- a/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_models_operations.py +++ b/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_models_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import SpecialWordsClientTestBase, SpecialWordsPreparer diff --git a/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_models_operations_async.py b/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_models_operations_async.py index 1da3dddb7f7..36c089dc3a4 100644 --- a/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_models_operations_async.py +++ b/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_models_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import SpecialWordsPreparer diff --git a/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_operations.py b/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_operations.py index ae36e5e5508..e73807af358 100644 --- a/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_operations.py +++ b/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import SpecialWordsClientTestBase, SpecialWordsPreparer diff --git a/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_operations_async.py b/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_operations_async.py index 5299c2a85e6..1404d0b1ef8 100644 --- a/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_operations_async.py +++ b/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import SpecialWordsPreparer diff --git a/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_parameters_operations.py b/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_parameters_operations.py index 613c0f9828c..3096a60a28e 100644 --- a/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_parameters_operations.py +++ b/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_parameters_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import SpecialWordsClientTestBase, SpecialWordsPreparer diff --git a/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_parameters_operations_async.py b/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_parameters_operations_async.py index 2aa00095e95..94ca98849b1 100644 --- a/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_parameters_operations_async.py +++ b/packages/typespec-python/test/azure/generated/special-words/generated_tests/test_special_words_parameters_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import SpecialWordsPreparer diff --git a/packages/typespec-python/test/azure/generated/special-words/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/special-words/generated_tests/testpreparer.py index c96142f0202..09070149dec 100644 --- a/packages/typespec-python/test/azure/generated/special-words/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/special-words/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from specialwords import SpecialWordsClient diff --git a/packages/typespec-python/test/azure/generated/special-words/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/special-words/generated_tests/testpreparer_async.py index 452386368e0..877ce52b4e9 100644 --- a/packages/typespec-python/test/azure/generated/special-words/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/special-words/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from specialwords.aio import SpecialWordsClient diff --git a/packages/typespec-python/test/azure/generated/special-words/setup.py b/packages/typespec-python/test/azure/generated/special-words/setup.py index 01a729b5e44..f09523038f6 100644 --- a/packages/typespec-python/test/azure/generated/special-words/setup.py +++ b/packages/typespec-python/test/azure/generated/special-words/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/__init__.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/__init__.py index 504f648e31f..c64897e50ce 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/__init__.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/_client.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/_client.py index 79b3410a2e7..e999f31bbec 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/_client.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/_configuration.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/_configuration.py index 11dd9ab7340..ec150de191b 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/_configuration.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/_model_base.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/_model_base.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/_serialization.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/_serialization.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/_version.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/_version.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/__init__.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/__init__.py index 9c3c2a32e6c..35316f4c21c 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/_client.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/_client.py index 0b23b88c6da..4d9f8a5e9f4 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/_configuration.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/_configuration.py index 0731f7c3b24..730d6f3089f 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/operations/__init__.py index fbac84a3145..b4802a9d551 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/operations/_operations.py index 06a692e8ea7..ab6664afc82 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/models/__init__.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/models/__init__.py index 9c7f1f17c03..c7efcf1f285 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/models/_models.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/models/_models.py index 5f218dea17a..57c90b789f4 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/models/_models.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/operations/__init__.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/operations/__init__.py index fbac84a3145..b4802a9d551 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/operations/_operations.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/operations/_operations.py index aba3fc6190a..052a07ae1f7 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/conftest.py index daa9458bad7..2c84d079384 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/test_jsonl_basic_operations.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/test_jsonl_basic_operations.py index 8e54b5c5d84..45c586dfb8a 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/test_jsonl_basic_operations.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/test_jsonl_basic_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import JsonlClientTestBase, JsonlPreparer diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/test_jsonl_basic_operations_async.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/test_jsonl_basic_operations_async.py index 68f01419838..7ed2974d246 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/test_jsonl_basic_operations_async.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/test_jsonl_basic_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import JsonlPreparer diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/testpreparer.py index 1375fa59744..31bfc40f948 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from streaming.jsonl import JsonlClient diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/testpreparer_async.py index 35195104a6e..b97ab87659c 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from streaming.jsonl.aio import JsonlClient diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/setup.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/setup.py index 5c1adedf674..4d44af793e9 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/setup.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/__init__.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/__init__.py index 99ea8831210..7e7bd7ff8dc 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/__init__.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_client.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_client.py index 0b346386bf2..5f4503ae008 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_client.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_configuration.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_configuration.py index 44d8e46ffb4..d24e0b3e02e 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_configuration.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_model_base.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_model_base.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_serialization.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_serialization.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_version.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_version.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/aio/__init__.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/aio/__init__.py index cfc0f74f47f..9a9302e2262 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/aio/_client.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/aio/_client.py index d6dc8c5a02a..ccb855c2ff9 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/aio/_configuration.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/aio/_configuration.py index dc0f14a14bb..4d134725b69 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/basic/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/basic/aio/operations/__init__.py index 9408ca230a0..c9a013c3dd2 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/basic/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/basic/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/basic/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/basic/aio/operations/_operations.py index 9b607888d53..c3164171232 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/basic/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/basic/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, AsyncIterator, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/basic/operations/__init__.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/basic/operations/__init__.py index 9408ca230a0..c9a013c3dd2 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/basic/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/basic/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/basic/operations/_operations.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/basic/operations/_operations.py index 2d5d7258a6e..e1214d80140 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/basic/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/basic/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import sys from typing import Any, Callable, Dict, Iterator, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/conftest.py index f9f9c27ea95..76591609ab0 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_boolean_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_boolean_value_operations.py index acd6959f360..a92d8a1de47 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_boolean_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_boolean_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ArrayClientTestBase, ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_boolean_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_boolean_value_operations_async.py index 0e1f6935b58..dbb00a2f7d6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_boolean_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_boolean_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_datetime_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_datetime_value_operations.py index 5fe6de9e178..51c85df3067 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_datetime_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_datetime_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ArrayClientTestBase, ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_datetime_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_datetime_value_operations_async.py index 9b5b7e984e1..c5143d890c3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_datetime_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_datetime_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_duration_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_duration_value_operations.py index 78d6567ba2d..e5f5d6f5398 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_duration_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_duration_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ArrayClientTestBase, ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_duration_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_duration_value_operations_async.py index 02fb8ed8098..d6dca6b97bb 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_duration_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_duration_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_float32_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_float32_value_operations.py index 05aca4a7d99..7667d59ab18 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_float32_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_float32_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ArrayClientTestBase, ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_float32_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_float32_value_operations_async.py index 259e32364d9..32d2941545f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_float32_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_float32_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_int32_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_int32_value_operations.py index 883f868445c..5d3d8e7b084 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_int32_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_int32_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ArrayClientTestBase, ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_int32_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_int32_value_operations_async.py index ec87e0e8e22..945de66811c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_int32_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_int32_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_int64_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_int64_value_operations.py index 519d36c5df0..f7e0c27b1c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_int64_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_int64_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ArrayClientTestBase, ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_int64_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_int64_value_operations_async.py index 8d4546e4090..0a65a3409bc 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_int64_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_int64_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_model_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_model_value_operations.py index df4b27807aa..902a16cc99b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_model_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_model_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ArrayClientTestBase, ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_model_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_model_value_operations_async.py index 47708a32cdf..3f3fd3c8302 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_model_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_model_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_boolean_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_boolean_value_operations.py index 5e0def705ec..424edfcac74 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_boolean_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_boolean_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ArrayClientTestBase, ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_boolean_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_boolean_value_operations_async.py index 4eb1ade230d..00f98afecd6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_boolean_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_boolean_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_float_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_float_value_operations.py index 4d28baabc91..22e6eb6f081 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_float_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_float_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ArrayClientTestBase, ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_float_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_float_value_operations_async.py index 0d90e9fe619..51eb6323a14 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_float_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_float_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_int32_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_int32_value_operations.py index b5f9041e2df..b15da9d989f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_int32_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_int32_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ArrayClientTestBase, ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_int32_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_int32_value_operations_async.py index d0844fcf75a..99ab79992ad 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_int32_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_int32_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_model_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_model_value_operations.py index d29d62e4306..5af02b802ea 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_model_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_model_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ArrayClientTestBase, ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_model_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_model_value_operations_async.py index 62fb9c002e1..add8c12e990 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_model_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_model_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_string_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_string_value_operations.py index b0acb23503c..6f822baef0c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_string_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_string_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ArrayClientTestBase, ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_string_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_string_value_operations_async.py index bdf75750669..872997efda8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_string_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_nullable_string_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_string_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_string_value_operations.py index dbe383c4912..88918304f26 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_string_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_string_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ArrayClientTestBase, ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_string_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_string_value_operations_async.py index 56f32ee8761..fd99dcd54fc 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_string_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_string_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_unknown_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_unknown_value_operations.py index ceb50991ad3..2a018ba6fa0 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_unknown_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_unknown_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ArrayClientTestBase, ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_unknown_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_unknown_value_operations_async.py index 38673d8207b..ffbc2d2c7df 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_unknown_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/test_array_unknown_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ArrayPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/testpreparer.py index 44a63ddb260..7e657f1d6f7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.array import ArrayClient diff --git a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/testpreparer_async.py index 8be7f9ff579..b0e2f641713 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.array.aio import ArrayClient diff --git a/packages/typespec-python/test/azure/generated/typetest-array/setup.py b/packages/typespec-python/test/azure/generated/typetest-array/setup.py index 3aaf474f0ec..ab570e77b0c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/__init__.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/__init__.py index eb3ac4491ac..97c0b178dc6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_client.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_client.py index b84947407cb..7cfb71a561c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_configuration.py index f3c03eec6ee..878e12ed4be 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_version.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/__init__.py index 7e85eb4f1d7..05f638b5602 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/_client.py index 52cdca096ce..5254a810c4f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/_configuration.py index 927dcae5a15..1ffff654266 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/operations/__init__.py index cfe67f416eb..b69786a3d48 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/operations/_operations.py index 63f980bfe8a..9af01ae12a4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import datetime from io import IOBase import json diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/__init__.py index db95b2b44b7..e87b77e0b91 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/_models.py index 995393c84a6..43c2e34c60c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, List, Mapping, Optional, TYPE_CHECKING, overload diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/operations/__init__.py index cfe67f416eb..b69786a3d48 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/operations/_operations.py index 53ad2a2bd83..238cd08d34d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import datetime from io import IOBase import json diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/conftest.py index 967a3a49288..694a0f94554 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_boolean_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_boolean_value_operations.py index 4a4ea811d94..066f228c89a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_boolean_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_boolean_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DictionaryClientTestBase, DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_boolean_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_boolean_value_operations_async.py index 6c26702dc8d..ea0403b733d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_boolean_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_boolean_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_datetime_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_datetime_value_operations.py index d76d0e5d52c..30fb62304ce 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_datetime_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_datetime_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DictionaryClientTestBase, DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_datetime_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_datetime_value_operations_async.py index cab495a950f..3e83eefc827 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_datetime_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_datetime_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_duration_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_duration_value_operations.py index 4a848b31af0..b0b3e702188 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_duration_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_duration_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DictionaryClientTestBase, DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_duration_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_duration_value_operations_async.py index 3680d660ee9..0d5394008dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_duration_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_duration_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_float32_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_float32_value_operations.py index 068e637b902..859239e7348 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_float32_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_float32_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DictionaryClientTestBase, DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_float32_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_float32_value_operations_async.py index 1fb09cba785..a52a03e857f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_float32_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_float32_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_int32_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_int32_value_operations.py index 6400e1e44b3..a2199a45778 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_int32_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_int32_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DictionaryClientTestBase, DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_int32_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_int32_value_operations_async.py index d7e99abdbd3..77d4bb4577d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_int32_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_int32_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_int64_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_int64_value_operations.py index 3298ae2834f..6f7322982d7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_int64_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_int64_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DictionaryClientTestBase, DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_int64_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_int64_value_operations_async.py index 3cc8c733a2e..12b6e15ef77 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_int64_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_int64_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_model_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_model_value_operations.py index 25af66013a9..040afe8e20b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_model_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_model_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DictionaryClientTestBase, DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_model_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_model_value_operations_async.py index 8ed84a0c933..54fbc74db5b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_model_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_model_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_nullable_float_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_nullable_float_value_operations.py index 9ae6bb477ec..3f17f0f6982 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_nullable_float_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_nullable_float_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DictionaryClientTestBase, DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_nullable_float_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_nullable_float_value_operations_async.py index 196909ec9e2..1e8f5f07b35 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_nullable_float_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_nullable_float_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_recursive_model_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_recursive_model_value_operations.py index 14921d17a9f..fe00987385c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_recursive_model_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_recursive_model_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DictionaryClientTestBase, DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_recursive_model_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_recursive_model_value_operations_async.py index bf302093452..63ed9c3ca9f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_recursive_model_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_recursive_model_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_string_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_string_value_operations.py index 71d83401b95..6309558db05 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_string_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_string_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DictionaryClientTestBase, DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_string_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_string_value_operations_async.py index 9106590546b..91fdb59db9f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_string_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_string_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_unknown_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_unknown_value_operations.py index b5ae35525ea..e84f0564e91 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_unknown_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_unknown_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import DictionaryClientTestBase, DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_unknown_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_unknown_value_operations_async.py index 876e6e66378..6bd7a2bf28a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_unknown_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/test_dictionary_unknown_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import DictionaryPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/testpreparer.py index ca5da311aba..8f9f9085cc3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.dictionary import DictionaryClient diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/testpreparer_async.py index 53ad6360b02..d6149b7d469 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.dictionary.aio import DictionaryClient diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/setup.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/setup.py index f1a4de983cc..898ea600964 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/__init__.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/__init__.py index 1dbefc9910f..635684f627e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_client.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_client.py index 35b0d3809e9..4eab01ed5d2 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_configuration.py index d91b60c42c6..4b1915c8ab7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_version.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/__init__.py index 07a7815be00..dcbbc238342 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/_client.py index b931699c655..e546515f177 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/_configuration.py index 2ece8a5e737..0ddc478803d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/operations/__init__.py index 5200c735593..f56c4be2d9f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/operations/_operations.py index 42ba81d2a24..80ca35e63e3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import datetime from io import IOBase import json diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/__init__.py index db95b2b44b7..e87b77e0b91 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/_models.py index b068716a4dd..223e0f75708 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Dict, Mapping, Optional, TYPE_CHECKING, overload diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/operations/__init__.py index 5200c735593..f56c4be2d9f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/operations/_operations.py index db967bf7b5a..338c0cd62e5 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import datetime from io import IOBase import json diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/conftest.py index 2ae21d9f024..ef77f38e7b8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/test_extensible_string_operations.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/test_extensible_string_operations.py index 27a29eb445f..be910b162cb 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/test_extensible_string_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/test_extensible_string_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ExtensibleClientTestBase, ExtensiblePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/test_extensible_string_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/test_extensible_string_operations_async.py index 3fcc5a3afd0..3e12585bf55 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/test_extensible_string_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/test_extensible_string_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ExtensiblePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/testpreparer.py index 6320e71b507..67cc900aa4c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.enum.extensible import ExtensibleClient diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/testpreparer_async.py index 5493d69c923..2ffefb6d6b1 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.enum.extensible.aio import ExtensibleClient diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/setup.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/setup.py index ee81bb6f373..ec86c8de3f9 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/__init__.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/__init__.py index 1c244ab7c8c..02d81d7b41b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_client.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_client.py index 1593bc6e00a..d62b7006fea 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_configuration.py index d426147ea46..616a6a00b4b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_version.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/__init__.py index 02c40b9f9c1..8a47bba1594 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/_client.py index 808d57db1ea..4971f65f2e7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/_configuration.py index e2a5505aeb2..0fa7f15d2fa 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/operations/__init__.py index 43d60d6b4fa..572d8fdb9fa 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/operations/_operations.py index d8132e28b5c..16cef96f8f1 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import json import sys from typing import Any, Callable, Dict, Optional, TypeVar, Union diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py index ffc720b61f5..14d43225b08 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/models/_enums.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/models/_enums.py index fb9c6694776..827a91ab315 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/operations/__init__.py index 43d60d6b4fa..572d8fdb9fa 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/operations/_operations.py index 57faf75d0c1..1596762f2dc 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import json import sys from typing import Any, Callable, Dict, Optional, TypeVar, Union diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/conftest.py index 95afc2e79f8..4dd457b05f4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/test_fixed_string_operations.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/test_fixed_string_operations.py index 193170e6828..01f766ccb9c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/test_fixed_string_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/test_fixed_string_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import FixedClientTestBase, FixedPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/test_fixed_string_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/test_fixed_string_operations_async.py index 5da8167cd4c..fd4a6d20c4c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/test_fixed_string_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/test_fixed_string_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import FixedPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/testpreparer.py index 3707085add7..5a5bb459bc4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.enum.fixed import FixedClient diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/testpreparer_async.py index a4ac742d529..ec4217913e8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.enum.fixed.aio import FixedClient diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/setup.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/setup.py index 5c0ef780786..74c6f9269ed 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/__init__.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/__init__.py index 2d39784826e..b5cfadce277 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_client.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_client.py index 020afc97e88..46347e113c5 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_configuration.py index c97a9bd95f3..817c2e32d5c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_version.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/__init__.py index 4233a1e656a..6eeef7e661b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/_client.py index e5147c4919d..16452d8cf16 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/_configuration.py index 0c04b99c085..9dc244dc911 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/operations/__init__.py index 43d60d6b4fa..572d8fdb9fa 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/operations/_operations.py index 8aaf77d9b54..b50a51edba4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/aio/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import json import sys from typing import Any, Callable, Dict, Optional, TypeVar, Union diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py index 00eb73e2f68..b54200145a6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/models/_enums.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/models/_enums.py index cc26e97dd54..2e332c62a8a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/operations/__init__.py index 43d60d6b4fa..572d8fdb9fa 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/operations/_operations.py index abaf8dd13a8..569bcf2d620 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import json import sys from typing import Any, Callable, Dict, Optional, TypeVar, Union diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/conftest.py index 24454ffc171..2a895bea492 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/test_empty.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/test_empty.py index c9b4a38f11c..cdadb9d894a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/test_empty.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/test_empty.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import EmptyClientTestBase, EmptyPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/test_empty_async.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/test_empty_async.py index 0001aa9bc9a..ed450cbb2e3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/test_empty_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/test_empty_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import EmptyPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/testpreparer.py index 20241a88a8b..697114f9f4b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.model.empty import EmptyClient diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/testpreparer_async.py index 586ee3e701f..de9919c1869 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.model.empty.aio import EmptyClient diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/setup.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/setup.py index 1b4b6102237..2fe76c99d5a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/__init__.py index 69c4da1d559..5979ec8ca60 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_client.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_client.py index fa828a6ba98..1203a13a078 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_configuration.py index d4336f3d45a..fed25b6dc97 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_operations/__init__.py index 9cd2961533b..ebefd232117 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_operations/_operations.py index bdd41bb3564..a704f04d662 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_vendor.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_vendor.py index 5ea806901c1..a426658d648 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_vendor.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_version.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/__init__.py index d1bd1d8e45c..c6759fcb8a9 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_client.py index 81f05201a35..5c5d4314983 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_configuration.py index 83685e19fb4..e0dbba3a161 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_operations/__init__.py index 9cd2961533b..ebefd232117 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_operations/_operations.py index 13f206924f9..6952bd33a7b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_vendor.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_vendor.py index 28f937018ae..13fb010ecad 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/models/__init__.py index 08c8ada02ff..f755987d47b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/models/_models.py index ece8028edf6..9ecc9553e5c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from .. import _model_base diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/conftest.py index fded4b26c54..8f844ad92c7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/test_enum_discriminator.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/test_enum_discriminator.py index 270198f6679..efc5b841192 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/test_enum_discriminator.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/test_enum_discriminator.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import EnumDiscriminatorClientTestBase, EnumDiscriminatorPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/test_enum_discriminator_async.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/test_enum_discriminator_async.py index 41934914cda..d4c0c170943 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/test_enum_discriminator_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/test_enum_discriminator_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import EnumDiscriminatorPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/testpreparer.py index 971c79bd040..99473c8b5b6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.model.enumdiscriminator import EnumDiscriminatorClient diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/testpreparer_async.py index 2e74ea2753b..479d42f79ee 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.model.enumdiscriminator.aio import EnumDiscriminatorClient diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/setup.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/setup.py index c84c7491b1c..16e27c6934e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/__init__.py index 54d64e1d2ad..0ea0b3fe9f4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_client.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_client.py index 5d78a02a85d..ddb248c9c55 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_configuration.py index d8cd133a14b..950cc33a894 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_operations/__init__.py index 84681b7eb61..915c9cdf59c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_operations/_operations.py index b73029d40ff..e4b3b45ce5b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_vendor.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_vendor.py index 9527ca67ecf..455e121338a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_vendor.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_version.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/__init__.py index dccd761b150..e21b6657e70 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_client.py index 01971720494..953f89e061c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_configuration.py index 7b1b72d1841..9ea706f4a51 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_operations/__init__.py index 84681b7eb61..915c9cdf59c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_operations/_operations.py index 98bf8bbd5b9..43816a9ec0e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_vendor.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_vendor.py index d8c0502ca7d..c42b28f6bbe 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/__init__.py index 8f3c5f07d63..f6641f038d4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_enums.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_enums.py index 30c3f276555..3f7f45a458a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py index 77564305f09..1fe05d3dc0c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Dict, Literal, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/conftest.py index 330f93de0e9..8ba1f6f463b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/test_nested_discriminator.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/test_nested_discriminator.py index d738950351d..76206b37b92 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/test_nested_discriminator.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/test_nested_discriminator.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import NestedDiscriminatorClientTestBase, NestedDiscriminatorPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/test_nested_discriminator_async.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/test_nested_discriminator_async.py index e4c5dcb3cfd..08270488ab8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/test_nested_discriminator_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/test_nested_discriminator_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NestedDiscriminatorPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/testpreparer.py index 292a16055b8..11eb32cb7e3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.model.nesteddiscriminator import NestedDiscriminatorClient diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/testpreparer_async.py index 2a0637bad0e..7913db8a24b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.model.nesteddiscriminator.aio import NestedDiscriminatorClient diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/setup.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/setup.py index 9f8b59921d9..a94995c4f46 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/__init__.py index 2982acdd59c..4c00f9ebfda 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_client.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_client.py index 2e18b536c29..a5c2cbe233f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_configuration.py index 3a9fe8382ef..8a760939311 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_operations/__init__.py index 6fcbbb5a90c..8451c880d19 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_operations/_operations.py index 20b37cb6287..cfda6231d45 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_vendor.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_vendor.py index 76d73a2464b..93171f5f439 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_vendor.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_version.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/__init__.py index 6479a326168..5d76ff402e0 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_client.py index d838431f8b6..7b35cadd7d5 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_configuration.py index d8ef78fde8f..a6cf66e0de9 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_operations/__init__.py index 6fcbbb5a90c..8451c880d19 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_operations/_operations.py index 85dfbde667f..1f39743cc44 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_vendor.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_vendor.py index a766e81fbd9..a09ae7669a0 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py index 3b7819f743c..4e00e8e4f59 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py index d64f96eac48..28f21fdbba1 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Dict, List, Literal, Mapping, Optional, TYPE_CHECKING, overload diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/conftest.py index 85e9186e09e..f6b00219293 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/test_not_discriminated.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/test_not_discriminated.py index 1b6e8eed63d..8cae28e36be 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/test_not_discriminated.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/test_not_discriminated.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import NotDiscriminatedClientTestBase, NotDiscriminatedPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/test_not_discriminated_async.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/test_not_discriminated_async.py index ddd51a1524a..a9df6bb895b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/test_not_discriminated_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/test_not_discriminated_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NotDiscriminatedPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/testpreparer.py index b5ab2e18fa4..82ddc70adbe 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.model.notdiscriminated import NotDiscriminatedClient diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/testpreparer_async.py index 012423750f2..ecfe643396f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.model.notdiscriminated.aio import NotDiscriminatedClient diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/setup.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/setup.py index ca7017d1ab2..3178a156672 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/__init__.py index edfd0d3596c..e8b25026814 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_client.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_client.py index 9ad0d406332..32ded264642 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_configuration.py index 2b983d2e818..eb3c97819a6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_operations/__init__.py index 49c7a65eb1e..8f7b4a976ae 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_operations/_operations.py index ee763bc8ec4..abf91c419d8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_vendor.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_vendor.py index 9021987eea7..181f2d8067b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_vendor.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_version.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/__init__.py index b6adbc2257d..0d53c2e58ec 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_client.py index 7c3450a9b7d..1a2cbec4fb5 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_configuration.py index 48a11530638..18467eee99e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_operations/__init__.py index 49c7a65eb1e..8f7b4a976ae 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_operations/_operations.py index 708ba718db1..cb79be55bad 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_vendor.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_vendor.py index 195062c8e6e..bbe77210d78 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py index 68ab5405c20..82917b2a4ee 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py index 42616bbc4e3..b605546e929 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/conftest.py index 7701dab7925..338abb9869a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/test_recursive.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/test_recursive.py index 87de9eed3c7..11b06922531 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/test_recursive.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/test_recursive.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import RecursiveClientTestBase, RecursivePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/test_recursive_async.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/test_recursive_async.py index c0b3c720bab..a09a896c425 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/test_recursive_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/test_recursive_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import RecursivePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/testpreparer.py index fadcb232f65..33dbd65de15 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.model.recursive import RecursiveClient diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/testpreparer_async.py index 728fae80a0a..e57630973f5 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.model.recursive.aio import RecursiveClient diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/setup.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/setup.py index bd56f33f39c..1af80bb14e6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/__init__.py index fa720696e55..b3df8683abc 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_client.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_client.py index c9558ee34ad..533bf7bd4d3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_configuration.py index abac153026c..ec26b2d1960 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_operations/__init__.py index c92a47b2a4b..7e33b64cd0f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_operations/_operations.py index dbaff2ae0f5..f2f6ad81704 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_vendor.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_vendor.py index 2836dae96a6..1ed2509c3b6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_vendor.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_version.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/__init__.py index f26abfa39a7..0ce312643e2 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_client.py index 6f038242459..b4418d44257 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_configuration.py index 29d006d815e..1f4f42cf6de 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_operations/__init__.py index c92a47b2a4b..7e33b64cd0f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_operations/_operations.py index 8a143dc8bb0..39648938d1e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_vendor.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_vendor.py index 373e168d543..8f54ccac103 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py index c72412ad27f..ee21d83d171 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/_models.py index a4c192e0bb3..0e47753623f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, List, Mapping, Optional, TYPE_CHECKING, overload diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/conftest.py index 13241885af1..633ac1e52f0 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/test_single_discriminator.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/test_single_discriminator.py index 944c58f8a6f..efc2bac6ce8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/test_single_discriminator.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/test_single_discriminator.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import SingleDiscriminatorClientTestBase, SingleDiscriminatorPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/test_single_discriminator_async.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/test_single_discriminator_async.py index 105acecf8e2..96fc035088f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/test_single_discriminator_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/test_single_discriminator_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import SingleDiscriminatorPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/testpreparer.py index 6ac7ecb8cf9..97b81d355e1 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.model.singlediscriminator import SingleDiscriminatorClient diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/testpreparer_async.py index 68267ba9023..71110d7df51 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.model.singlediscriminator.aio import SingleDiscriminatorClient diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/setup.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/setup.py index d7a9009ca8d..4a664a090a3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/__init__.py index 584174329f0..acc9ddd564d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_client.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_client.py index daae56248b8..e7a78886ba1 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_configuration.py index 74e04a78481..dd717bbc1ea 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_operations/__init__.py index b94eaf567db..2545dba0af8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_operations/_operations.py index 9f1689301cb..8e5d72d804b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_vendor.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_vendor.py index c3add50754b..ae3d24181dc 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_vendor.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_version.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/__init__.py index 44af1792f8a..09d46008797 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_client.py index 15444fb5459..c3824840e34 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_configuration.py index a40bb0725b1..ddd2fbc1fa7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_operations/__init__.py index b94eaf567db..2545dba0af8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_operations/_operations.py index 25d08ca7c86..0db6370d6c8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_vendor.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_vendor.py index c0eaaa10dcf..5eed1f8a91d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py index 04145d22215..b19768d5048 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py index 3abbcdbb093..8c8631c8c53 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Dict, List, Literal, Mapping, Optional, TYPE_CHECKING, overload diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/conftest.py index 0fb0155450f..6a990b92bd7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/test_usage.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/test_usage.py index be41eb19a15..7514cae181d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/test_usage.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/test_usage.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import UsageClientTestBase, UsagePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/test_usage_async.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/test_usage_async.py index 9c1579e6ad4..c2a66f7642b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/test_usage_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/test_usage_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import UsagePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/testpreparer.py index ec0128fd2b6..1c43d7f3f9e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.model.usage import UsageClient diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/testpreparer_async.py index 11f55bdd3b9..feabf6b2b2e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.model.usage.aio import UsageClient diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/setup.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/setup.py index 44c14d970db..4e4ef459336 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/__init__.py index f16aaa799b1..50d20a1b2af 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_client.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_client.py index 8c24cb5cc88..e8a442fa9cf 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_configuration.py index 5d2510ed174..2d9916e721f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_operations/__init__.py index 1f497c19efd..69356ba7c44 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_operations/_operations.py index 50accfa4d8d..b1279974421 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_vendor.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_vendor.py index 8d271d85d53..3d8d44f371b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_vendor.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_version.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/__init__.py index 7eb42807ab0..d861130d94b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_client.py index 3f7f55d10ec..0ae2dc02b49 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_configuration.py index 1c4f4b04fe3..1687f780e0f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_operations/__init__.py index 1f497c19efd..69356ba7c44 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_operations/_operations.py index 54ced346bef..78fe9a40a7e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_vendor.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_vendor.py index 7bd1c9c7022..1de910cdbfe 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/__init__.py index d95bed72abd..f51b1efc84e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/_models.py index 8eada1c6668..70a57c40426 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/conftest.py index 0908053ba71..3fc4942cf79 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/test_visibility.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/test_visibility.py index 889908e6993..8752fa205bf 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/test_visibility.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/test_visibility.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import VisibilityClientTestBase, VisibilityPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/test_visibility_async.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/test_visibility_async.py index 1461bd28e38..191024e0c9f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/test_visibility_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/test_visibility_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import VisibilityPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/testpreparer.py index 3cbcba8c6a1..5b050ddfa6b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.model.visibility import VisibilityClient diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/testpreparer_async.py index 0b63223ef81..d029cadcb66 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.model.visibility.aio import VisibilityClient diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/setup.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/setup.py index b17449a04db..47fd18c23d6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/__init__.py index a5b337ef2b7..9c6a37c018b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_client.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_client.py index 97342141f9d..9d62865aa57 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_configuration.py index d0cc7ae5382..5b0c2d96135 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_operations/__init__.py index f37267ce280..ee66d1eea27 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_operations/_operations.py index e8f318edb5c..04c816e63f7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_vendor.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_vendor.py index 22a7653b2f3..f3eb127559a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_vendor.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_version.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/__init__.py index 228308d99dc..a06ad6a26d1 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_client.py index 4b49aed61a8..49b5611e207 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_configuration.py index be08c4431cd..a97f0bc1047 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_operations/__init__.py index f37267ce280..ee66d1eea27 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_operations/_operations.py index d6089a5e6a9..4caf5c867b5 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_vendor.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_vendor.py index 735480a1951..59219e20434 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py index d9c235fbae0..0ba8c6b40d6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/_models.py index a302369b8a6..8bb7ceb2bb3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Dict, List, Mapping, Optional, overload diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/conftest.py index 66983009ddc..1468d06c958 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_float_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_float_operations.py index bf32d01f958..bce95a06639 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_float_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_float_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_float_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_float_operations_async.py index fa76e4925d5..efbdeeb9588 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_float_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_float_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_model_array_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_model_array_operations.py index 9fd6affe52b..048d80dbb9e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_model_array_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_model_array_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_model_array_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_model_array_operations_async.py index d49d14ea36b..dad7cd099de 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_model_array_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_model_array_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_model_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_model_operations.py index 000ea15b07d..9a3ab0104f4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_model_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_model_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_model_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_model_operations_async.py index f3d589e9edb..eb9aed8f98e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_model_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_model_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_string_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_string_operations.py index b695b11f041..c2d8c804b7a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_string_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_string_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_string_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_string_operations_async.py index 039520b743c..117ae0ce9d0 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_string_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_different_spread_string_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_float_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_float_operations.py index f8867e2cca7..9f7581b3d8c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_float_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_float_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_float_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_float_operations_async.py index e9d70d28172..737ed0bd682 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_float_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_float_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_model_array_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_model_array_operations.py index 7c10653d3f5..6e539bb68c5 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_model_array_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_model_array_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_model_array_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_model_array_operations_async.py index b37846bd074..1c0cb2da785 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_model_array_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_model_array_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_model_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_model_operations.py index c0f3c6f2119..71f8be6216c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_model_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_model_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_model_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_model_operations_async.py index f55b4c5868a..1ed0b99ca3f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_model_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_model_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_string_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_string_operations.py index ede9fcb0a78..ba56033e4af 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_string_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_string_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_string_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_string_operations_async.py index 53443257147..58e4e63d8ea 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_string_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_string_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_derived_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_derived_operations.py index 55023e24d4c..3a65da7a619 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_derived_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_derived_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_derived_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_derived_operations_async.py index 14a13749f16..ce20df60dc4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_derived_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_derived_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_discriminated_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_discriminated_operations.py index b7bb9e29b79..c0a56d2ff1a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_discriminated_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_discriminated_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_discriminated_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_discriminated_operations_async.py index ac5c3b1adef..ad6020d0192 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_discriminated_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_discriminated_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_operations.py index 3fb0bb0914b..31c2bed53f2 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_operations_async.py index 92c9dceb98b..83136a4fe7e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_extends_unknown_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_float_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_float_operations.py index ff9a4e979f6..354263e1857 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_float_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_float_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_float_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_float_operations_async.py index 59bf3367886..da7825acb80 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_float_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_float_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_model_array_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_model_array_operations.py index 56ff2264d33..bdb8bd90138 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_model_array_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_model_array_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_model_array_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_model_array_operations_async.py index 1e9bcf9e414..31593031a17 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_model_array_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_model_array_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_model_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_model_operations.py index bbc42158c7b..5ccd7fddce3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_model_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_model_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_model_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_model_operations_async.py index 41c00b079fd..1606f5f21cc 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_model_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_model_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_string_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_string_operations.py index e03e9b02f52..7fbd6658191 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_string_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_string_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_string_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_string_operations_async.py index f4d468e2c0a..60854f96eb7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_string_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_string_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_derived_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_derived_operations.py index 8f5548368bb..b3798ae7950 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_derived_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_derived_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_derived_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_derived_operations_async.py index f26e67bda25..ff24780610d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_derived_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_derived_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_discriminated_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_discriminated_operations.py index 31210ac9b92..6721020fb1a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_discriminated_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_discriminated_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_discriminated_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_discriminated_operations_async.py index 75ecd5fef6e..baabdf3a52e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_discriminated_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_discriminated_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_operations.py index 471dc9a024f..8886d068ecd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_operations_async.py index 6468dd83f0c..a382ceef639 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_is_unknown_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_multiple_spread_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_multiple_spread_operations.py index 1775f8bc4fd..05639d3daf0 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_multiple_spread_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_multiple_spread_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_multiple_spread_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_multiple_spread_operations_async.py index 5ec760f9ae3..d252e42b2e6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_multiple_spread_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_multiple_spread_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_float_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_float_operations.py index 6512f1b7912..c49babb04e8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_float_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_float_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_float_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_float_operations_async.py index 13c06cd08ec..a809a2f2a04 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_float_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_float_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_model_array_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_model_array_operations.py index d3d4b85a416..72f42e0aa6d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_model_array_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_model_array_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_model_array_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_model_array_operations_async.py index 28c3fcef8df..87aa47bc9e0 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_model_array_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_model_array_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_model_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_model_operations.py index 84588271b42..f98dbe3ac01 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_model_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_model_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_model_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_model_operations_async.py index 7d9a4f3dbd7..bf9d2bed264 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_model_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_model_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_string_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_string_operations.py index 37d5ae1ea2d..6dc582546a5 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_string_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_string_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_string_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_string_operations_async.py index 20c53da57fa..65018748418 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_string_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_different_string_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_float_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_float_operations.py index 39716460bfa..6061341f6b0 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_float_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_float_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_float_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_float_operations_async.py index 9e6ffdf39a3..429930f2719 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_float_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_float_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_model_array_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_model_array_operations.py index 0cee8e9f334..ba829536ceb 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_model_array_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_model_array_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_model_array_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_model_array_operations_async.py index 94949e943ac..2647755f4dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_model_array_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_model_array_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_model_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_model_operations.py index 9aff21acf55..9fe7fb6e2cc 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_model_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_model_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_model_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_model_operations_async.py index ea9c552bb82..d1987ed0a6d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_model_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_model_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union2_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union2_operations.py index 927117727bc..1e2055dfb52 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union2_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union2_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union2_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union2_operations_async.py index 8886ea46594..b4fc9526888 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union2_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union2_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union3_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union3_operations.py index 2f2f25e33be..d80b30b4424 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union3_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union3_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union3_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union3_operations_async.py index 5084aec4969..9b6f4cf260e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union3_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union3_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union_operations.py index 28d4b2ed00c..fc4e613ba15 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union_operations_async.py index ea1115e27d9..af876dc59cc 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_non_discriminated_union_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_union_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_union_operations.py index 7ef75196e54..a78a589899d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_union_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_union_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_union_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_union_operations_async.py index 09934c7e227..6738840018d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_union_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_record_union_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_string_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_string_operations.py index 8baa2136d55..b01e760174d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_string_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_string_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AdditionalPropertiesClientTestBase, AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_string_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_string_operations_async.py index b932cee6062..6647bf7b020 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_string_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/test_additional_properties_spread_string_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AdditionalPropertiesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/testpreparer.py index 5f71173e533..84f49b4c073 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.property.additionalproperties import AdditionalPropertiesClient diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/testpreparer_async.py index 91819ff8bcb..a512953aeed 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.property.additionalproperties.aio import AdditionalPropertiesClient diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/setup.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/setup.py index 26966219061..f5d2332f6a8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/__init__.py index 3bee0a3f036..9f24dc3567c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_client.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_client.py index f8a645392a4..e7a430ca381 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_configuration.py index be6991f4290..88f5fb9226a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_version.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/__init__.py index 5377b0fc867..61fe3f03273 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/_client.py index d404ba78b43..547d4a108f7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/_configuration.py index 0cc9b55401e..3a0633edea5 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/operations/__init__.py index 9842e8086f0..5cb7c3e9a72 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/operations/_operations.py index c2343463af7..606b1e954e0 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py index f24aca31668..b367be58424 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py index 77eb632ed8b..05289245c58 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation import datetime diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/operations/__init__.py index 9842e8086f0..5cb7c3e9a72 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/operations/_operations.py index b1268672282..cb5729dd47f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/conftest.py index 2e1546e3279..3bb2820941c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_bytes_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_bytes_operations.py index 8b8da355460..b6cb74e9109 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_bytes_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_bytes_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import NullableClientTestBase, NullablePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_bytes_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_bytes_operations_async.py index bc924c9cb7f..792c936c76e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_bytes_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_bytes_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NullablePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_byte_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_byte_operations.py index e5f4b524963..ab22c0a94d7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_byte_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_byte_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import NullableClientTestBase, NullablePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_byte_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_byte_operations_async.py index 2c82490aae8..b970b004499 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_byte_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_byte_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NullablePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_model_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_model_operations.py index 43842f4a3e2..36ead8cceca 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_model_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_model_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import NullableClientTestBase, NullablePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_model_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_model_operations_async.py index 62bd7515e53..dd0a92fa140 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_model_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_model_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NullablePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_string_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_string_operations.py index e9681843658..ec73d86cce2 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_string_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_string_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import NullableClientTestBase, NullablePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_string_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_string_operations_async.py index 1b862a636a0..f8e87b572b6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_string_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_collections_string_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NullablePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_datetime_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_datetime_operations.py index 58a6340aa60..afdf8b9796a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_datetime_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_datetime_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import NullableClientTestBase, NullablePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_datetime_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_datetime_operations_async.py index c42941bc299..0e3f62d7660 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_datetime_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_datetime_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NullablePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_duration_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_duration_operations.py index 9f086699c56..00c29045174 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_duration_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_duration_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import NullableClientTestBase, NullablePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_duration_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_duration_operations_async.py index c869f9ce9f3..e2fc03a01e0 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_duration_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_duration_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NullablePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_string_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_string_operations.py index c75825c658c..9dcc24d95a3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_string_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_string_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import NullableClientTestBase, NullablePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_string_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_string_operations_async.py index eb19d32bc19..dbf4e588182 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_string_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/test_nullable_string_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import NullablePreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/testpreparer.py index 6ea6c6afdcb..1a8af063f5a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.property.nullable import NullableClient diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/testpreparer_async.py index d248e45bfa2..243f7d80b11 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.property.nullable.aio import NullableClient diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/setup.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/setup.py index 3deefe200cf..1ce95b37f53 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/__init__.py index 596b1c2d271..ff130c6992b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_client.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_client.py index 890be085920..8a87c3bd71a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_configuration.py index dfbe5d96ae1..8b438812c62 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_version.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/__init__.py index 24fa42e7c70..55f06103760 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/_client.py index 45d51c00ff3..6e3e3913c12 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/_configuration.py index 38cbeb78f3a..96d8028ebff 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/operations/__init__.py index 57de474bdd3..30338a73d8f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/operations/_operations.py index 581c4563d25..1f386ab9011 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py index 68fc8f8e27b..9a38ab728d0 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/_models.py index a4c92a0627e..f903a0b6593 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation import datetime diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/operations/__init__.py index 57de474bdd3..30338a73d8f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/operations/_operations.py index 34ea913fee1..9c105fefa63 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/conftest.py index e3d752180fb..0361d7a1e81 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_boolean_literal_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_boolean_literal_operations.py index 3adf2194494..54ed36a824b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_boolean_literal_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_boolean_literal_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OptionalClientTestBase, OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_boolean_literal_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_boolean_literal_operations_async.py index ff2571c8703..30609287dc3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_boolean_literal_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_boolean_literal_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_bytes_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_bytes_operations.py index 08b66609910..305d2612ee3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_bytes_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_bytes_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OptionalClientTestBase, OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_bytes_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_bytes_operations_async.py index ef7b0e1549a..ce7a116254f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_bytes_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_bytes_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_collections_byte_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_collections_byte_operations.py index 45cf482e403..1f6dcf106f3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_collections_byte_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_collections_byte_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OptionalClientTestBase, OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_collections_byte_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_collections_byte_operations_async.py index 6e70fcdf9a5..896f44ea6ed 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_collections_byte_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_collections_byte_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_collections_model_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_collections_model_operations.py index 97cd16c2b3f..18cc93f8a5a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_collections_model_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_collections_model_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OptionalClientTestBase, OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_collections_model_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_collections_model_operations_async.py index ca23515271d..06e36e8e9f8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_collections_model_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_collections_model_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_datetime_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_datetime_operations.py index f1f520bf678..bc19d57fef3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_datetime_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_datetime_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OptionalClientTestBase, OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_datetime_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_datetime_operations_async.py index 77d0fbaef15..280a0014040 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_datetime_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_datetime_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_duration_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_duration_operations.py index c52acacbb53..e920893260a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_duration_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_duration_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OptionalClientTestBase, OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_duration_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_duration_operations_async.py index 289e49abc32..c31f449ec75 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_duration_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_duration_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_float_literal_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_float_literal_operations.py index 68a62138059..f546fda9550 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_float_literal_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_float_literal_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OptionalClientTestBase, OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_float_literal_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_float_literal_operations_async.py index a049cb59e79..f10606012a1 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_float_literal_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_float_literal_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_int_literal_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_int_literal_operations.py index f7b1ee702cc..044da751628 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_int_literal_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_int_literal_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OptionalClientTestBase, OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_int_literal_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_int_literal_operations_async.py index 854fdbe5033..a84ba860d26 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_int_literal_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_int_literal_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_plain_date_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_plain_date_operations.py index c8913ace2a2..8d7331a5528 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_plain_date_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_plain_date_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OptionalClientTestBase, OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_plain_date_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_plain_date_operations_async.py index a2b6abfadff..ecea48e2582 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_plain_date_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_plain_date_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_plain_time_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_plain_time_operations.py index 30676a25402..223b55f35ea 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_plain_time_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_plain_time_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OptionalClientTestBase, OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_plain_time_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_plain_time_operations_async.py index 334d247de30..062b2c1a48d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_plain_time_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_plain_time_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_required_and_optional_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_required_and_optional_operations.py index ddaa32cc4b5..38b641dad1a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_required_and_optional_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_required_and_optional_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OptionalClientTestBase, OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_required_and_optional_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_required_and_optional_operations_async.py index b0b5c1ab3ed..0d694036bda 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_required_and_optional_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_required_and_optional_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_string_literal_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_string_literal_operations.py index 286a978bce8..3c75efd4b0a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_string_literal_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_string_literal_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OptionalClientTestBase, OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_string_literal_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_string_literal_operations_async.py index 1b7ac088af4..0f48cbf56a8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_string_literal_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_string_literal_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_string_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_string_operations.py index 1ccc33cd305..1dcc560ba06 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_string_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_string_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OptionalClientTestBase, OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_string_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_string_operations_async.py index be822a64c0e..d757488c9b5 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_string_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_string_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_float_literal_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_float_literal_operations.py index 11900db1268..775c2e338e9 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_float_literal_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_float_literal_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OptionalClientTestBase, OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_float_literal_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_float_literal_operations_async.py index f03552c5ffc..1c7555ba53e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_float_literal_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_float_literal_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_int_literal_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_int_literal_operations.py index 6e4a6486f70..a301c507aea 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_int_literal_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_int_literal_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OptionalClientTestBase, OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_int_literal_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_int_literal_operations_async.py index 37aad8a1eb9..552dbfca317 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_int_literal_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_int_literal_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_string_literal_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_string_literal_operations.py index 4cefdec0e3e..4cde960c6d4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_string_literal_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_string_literal_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import OptionalClientTestBase, OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_string_literal_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_string_literal_operations_async.py index f101e79f3f9..785ec15fdc2 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_string_literal_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/test_optional_union_string_literal_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import OptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/testpreparer.py index 02bdd776d20..3fea0db046e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.property.optional import OptionalClient diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/testpreparer_async.py index 40afcf8ba13..617123e80fe 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.property.optional.aio import OptionalClient diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/setup.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/setup.py index 7a9fbf7d49c..ad8debda21d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/__init__.py index 4dfc65236e6..fac36304e78 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_client.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_client.py index 4822a6af1f3..56a39763d10 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_configuration.py index 257ac060598..9933899f05b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_version.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/__init__.py index 403cccdd039..896722ee61c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/_client.py index e01447dec21..5b23fe6080f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/_configuration.py index 5cd5b1caa9f..73cf6c63410 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/operations/__init__.py index 39aa569bc6d..c6d4de0737d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/operations/_operations.py index 326f330aba8..6eca2e1f22c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/__init__.py index 44f3bb9ac8a..1066277c5db 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/_models.py index 0cc9c3838d2..fa782ae9327 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation import datetime diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/operations/__init__.py index 39aa569bc6d..c6d4de0737d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/operations/_operations.py index 1822359b3c0..e962a7d3c9a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/conftest.py index 2816a4e9834..c2d5129d87a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_boolean_literal_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_boolean_literal_operations.py index cc68517f303..c3c3d54b963 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_boolean_literal_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_boolean_literal_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_boolean_literal_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_boolean_literal_operations_async.py index 244ee99a71b..e8c8189aae4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_boolean_literal_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_boolean_literal_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_boolean_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_boolean_operations.py index aab35b31b24..51309ac9860 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_boolean_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_boolean_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_boolean_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_boolean_operations_async.py index 02cd81dc5f0..069b7a93c2b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_boolean_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_boolean_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_bytes_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_bytes_operations.py index 287c93589b6..3f08982c2f8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_bytes_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_bytes_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_bytes_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_bytes_operations_async.py index 857e58c8509..dd9dcffc483 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_bytes_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_bytes_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_int_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_int_operations.py index 2caf83bb810..df06ce23f99 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_int_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_int_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_int_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_int_operations_async.py index 3b822097f01..51b31ffdd77 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_int_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_int_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_model_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_model_operations.py index 2aad10e76e9..8fcab968ccd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_model_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_model_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_model_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_model_operations_async.py index b511ae1f4c4..991461dc3dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_model_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_model_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_string_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_string_operations.py index 34e1ccf2292..1ab22215eab 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_string_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_string_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_string_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_string_operations_async.py index fbc3b09ca69..cb8e324ceb2 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_string_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_collections_string_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_datetime_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_datetime_operations.py index b36b00d67fb..a0eaa45c66a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_datetime_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_datetime_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_datetime_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_datetime_operations_async.py index af9d8284d65..888caa316a4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_datetime_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_datetime_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_decimal128_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_decimal128_operations.py index 11778189545..00676e9f6a1 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_decimal128_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_decimal128_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_decimal128_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_decimal128_operations_async.py index 0316c5203f0..605c463e8df 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_decimal128_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_decimal128_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_decimal_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_decimal_operations.py index 4d9b5f363ae..f495eea2814 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_decimal_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_decimal_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_decimal_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_decimal_operations_async.py index ca3fc3e43fc..7153118e60d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_decimal_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_decimal_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_dictionary_string_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_dictionary_string_operations.py index 2328012669a..9e09f1d71f4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_dictionary_string_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_dictionary_string_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_dictionary_string_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_dictionary_string_operations_async.py index 9ba2db295ad..f24b8b13007 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_dictionary_string_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_dictionary_string_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_duration_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_duration_operations.py index ccc743b78b3..135aa3cb772 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_duration_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_duration_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_duration_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_duration_operations_async.py index 44f5d86eb20..cac800420e5 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_duration_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_duration_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_enum_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_enum_operations.py index 0317cb630a5..cc503ad2394 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_enum_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_enum_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_enum_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_enum_operations_async.py index 5327fc07cff..778528c75cf 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_enum_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_enum_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_extensible_enum_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_extensible_enum_operations.py index 32bde61d753..a095e152b17 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_extensible_enum_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_extensible_enum_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_extensible_enum_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_extensible_enum_operations_async.py index a483617b443..362775ee153 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_extensible_enum_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_extensible_enum_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_float_literal_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_float_literal_operations.py index 6f604941fcb..df265bbaafc 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_float_literal_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_float_literal_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_float_literal_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_float_literal_operations_async.py index 0cbaede6a4c..9bffccf770d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_float_literal_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_float_literal_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_float_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_float_operations.py index a59f57e5a7a..b0fe9df2e81 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_float_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_float_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_float_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_float_operations_async.py index 337d5ddf221..18f8789a51f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_float_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_float_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_int_literal_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_int_literal_operations.py index e2d7d429d0c..061f04a21a5 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_int_literal_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_int_literal_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_int_literal_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_int_literal_operations_async.py index 2f0dc8a243a..46d4783f71f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_int_literal_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_int_literal_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_int_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_int_operations.py index 863af971c50..a59b36e06e1 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_int_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_int_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_int_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_int_operations_async.py index 9ad44adaebd..c694b12be4d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_int_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_int_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_model_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_model_operations.py index 98695d77cf2..a65204abb54 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_model_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_model_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_model_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_model_operations_async.py index 05a6adac921..aa51c3983e5 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_model_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_model_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_never_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_never_operations.py index 35177b1fc04..9271124511a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_never_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_never_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_never_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_never_operations_async.py index 2f1299c10e7..3a5917baf1b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_never_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_never_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_string_literal_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_string_literal_operations.py index 490612c2ecc..906cdcc0ec9 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_string_literal_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_string_literal_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_string_literal_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_string_literal_operations_async.py index d87e3fa124b..40d3144d7f1 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_string_literal_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_string_literal_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_string_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_string_operations.py index bfd24a9d2c4..60cec79a37b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_string_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_string_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_string_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_string_operations_async.py index 28a54ffadd9..4da3d00b3ff 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_string_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_string_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_enum_value_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_enum_value_operations.py index 106c2a896c5..8f3ada270c8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_enum_value_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_enum_value_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_enum_value_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_enum_value_operations_async.py index 2f15d87c145..356ae6028a7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_enum_value_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_enum_value_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_float_literal_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_float_literal_operations.py index 8689d4f44fd..014f408a041 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_float_literal_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_float_literal_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_float_literal_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_float_literal_operations_async.py index 222191079ef..a9690ec570c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_float_literal_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_float_literal_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_int_literal_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_int_literal_operations.py index 67daafae9e8..5388367dd02 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_int_literal_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_int_literal_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_int_literal_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_int_literal_operations_async.py index d25a12b6e53..589cebfb201 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_int_literal_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_int_literal_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_string_literal_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_string_literal_operations.py index 76573695dd6..89f1206661e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_string_literal_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_string_literal_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_string_literal_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_string_literal_operations_async.py index 2879369b69f..b1d0eeb1cea 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_string_literal_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_union_string_literal_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_array_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_array_operations.py index 9647a12bd55..328bdaea272 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_array_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_array_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_array_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_array_operations_async.py index d04f8dc334c..7fcf40b5904 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_array_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_array_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_dict_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_dict_operations.py index 3186c4c54e1..f1f1b2d139f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_dict_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_dict_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_dict_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_dict_operations_async.py index 787ef5a4a43..d43b1a5e594 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_dict_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_dict_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_int_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_int_operations.py index 0476fcac2da..1fd3a8f292b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_int_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_int_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_int_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_int_operations_async.py index d1ae5caebf1..688cf49172d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_int_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_int_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_string_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_string_operations.py index 1b74e955d83..de51f421a4f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_string_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_string_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ValueTypesClientTestBase, ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_string_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_string_operations_async.py index 8fd247005f8..4c60198bcef 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_string_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/test_value_types_unknown_string_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ValueTypesPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/testpreparer.py index 15fd5916f93..8c8476a2489 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.property.valuetypes import ValueTypesClient diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/testpreparer_async.py index b0ac3864e1b..08c15283880 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.property.valuetypes.aio import ValueTypesClient diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/setup.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/setup.py index 5fe13f6ff5c..a816b6619a8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/__init__.py index c160393cebd..50e7679001a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_client.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_client.py index 723e57ae685..77c1d4e505f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_configuration.py index 2cca23dcf70..9098a30e2d2 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_version.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/__init__.py index 6e37006fadb..c83d1fee15a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/_client.py index c42b653fe3b..be01a475ee6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/_configuration.py index cde37ccc449..f3bcf56c0fb 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/operations/__init__.py index f8e55f8ae46..314aeada203 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/operations/_operations.py index 2d8cb12e987..bc7718a7d35 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/__init__.py index 9b63873f970..e5cc17c7627 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/_enums.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/_enums.py index 2b89e11e047..e1ffa2bf06f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py index 3d7cfc2bfba..77a4ca14594 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation import datetime diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/operations/__init__.py index f8e55f8ae46..314aeada203 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/operations/_operations.py index e6928c6ca9a..c777a8e014f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/conftest.py index 12dd84cf821..f7252bc7a1b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_boolean_operations.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_boolean_operations.py index 0294251d11b..8ed568688c1 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_boolean_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_boolean_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ScalarClientTestBase, ScalarPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_boolean_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_boolean_operations_async.py index bfd50dc949a..beb9b7ee726 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_boolean_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_boolean_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ScalarPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal128_type_operations.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal128_type_operations.py index 76782503c0f..a66b1a98438 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal128_type_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal128_type_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ScalarClientTestBase, ScalarPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal128_type_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal128_type_operations_async.py index 22a1090d431..8d30937e1da 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal128_type_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal128_type_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ScalarPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal128_verify_operations.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal128_verify_operations.py index 23cd2b4fcbd..575d594f1da 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal128_verify_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal128_verify_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ScalarClientTestBase, ScalarPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal128_verify_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal128_verify_operations_async.py index 043981b1319..c8a29772379 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal128_verify_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal128_verify_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ScalarPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal_type_operations.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal_type_operations.py index e4de8f4372e..744251a8c93 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal_type_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal_type_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ScalarClientTestBase, ScalarPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal_type_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal_type_operations_async.py index 90056b76fd2..8ceb3f201ac 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal_type_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal_type_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ScalarPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal_verify_operations.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal_verify_operations.py index b87b3fd4486..4b4b954a380 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal_verify_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal_verify_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ScalarClientTestBase, ScalarPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal_verify_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal_verify_operations_async.py index 21820a5ea02..0d649c9cdec 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal_verify_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_decimal_verify_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ScalarPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_string_operations.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_string_operations.py index 863d61c73ff..951f291fca6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_string_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_string_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ScalarClientTestBase, ScalarPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_string_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_string_operations_async.py index 94be9444397..03824836948 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_string_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_string_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ScalarPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_unknown_operations.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_unknown_operations.py index 4464575b421..9af0d808bc9 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_unknown_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_unknown_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ScalarClientTestBase, ScalarPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_unknown_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_unknown_operations_async.py index 2cafe57c1f2..fd3aa53ac1b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_unknown_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/test_scalar_unknown_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ScalarPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/testpreparer.py index 01f959dedd4..3ba91005381 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.scalar import ScalarClient diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/testpreparer_async.py index af44d9f9168..f3e076a1b41 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.scalar.aio import ScalarClient diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/setup.py b/packages/typespec-python/test/azure/generated/typetest-scalar/setup.py index 710d6967972..f7275204841 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/__init__.py b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/__init__.py index 9c03874cf5a..f470f25cbff 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_client.py b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_client.py index d1b617976f6..8eeb82118b8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_configuration.py index 559b41cc51d..bf42dbcbe76 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_version.py b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/__init__.py index 4460dfb4004..57a4c7c220f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/_client.py index 63585027713..239bdb87f3b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/_configuration.py index 85480b4e1f4..ef3bdca8428 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/operations/__init__.py index d53a8ad35f4..88fcd329c4c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/operations/_operations.py index 8afeb80cfc3..36002ae3e99 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import decimal import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/operations/__init__.py index d53a8ad35f4..88fcd329c4c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/operations/_operations.py index 301b91df66b..115c24376d3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import decimal import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/conftest.py index a94972c7b1d..5e28d6377c8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_enums_only_operations.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_enums_only_operations.py index cd4379bc4f7..e35f531e7af 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_enums_only_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_enums_only_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import UnionClientTestBase, UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_enums_only_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_enums_only_operations_async.py index 22b67cdfc2f..7927950425b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_enums_only_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_enums_only_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_floats_only_operations.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_floats_only_operations.py index 47e88b9d627..1f6b8c84fc7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_floats_only_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_floats_only_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import UnionClientTestBase, UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_floats_only_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_floats_only_operations_async.py index 7ab3b08c0e6..95c162de097 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_floats_only_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_floats_only_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_ints_only_operations.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_ints_only_operations.py index 26ca15ce76f..8eb6efc6d13 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_ints_only_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_ints_only_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import UnionClientTestBase, UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_ints_only_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_ints_only_operations_async.py index 4ed6a4b0c86..876727cdc0c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_ints_only_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_ints_only_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_mixed_literals_operations.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_mixed_literals_operations.py index 79a94c1e63e..2b46b3270d9 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_mixed_literals_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_mixed_literals_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import UnionClientTestBase, UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_mixed_literals_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_mixed_literals_operations_async.py index 1ae82ad9483..356f7496bf0 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_mixed_literals_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_mixed_literals_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_mixed_types_operations.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_mixed_types_operations.py index 18605035e7c..325317368c6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_mixed_types_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_mixed_types_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import UnionClientTestBase, UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_mixed_types_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_mixed_types_operations_async.py index 037a3eb29d4..b146ea74056 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_mixed_types_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_mixed_types_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_models_only_operations.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_models_only_operations.py index ed29b1d0c03..e932af10a22 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_models_only_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_models_only_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import UnionClientTestBase, UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_models_only_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_models_only_operations_async.py index f130c1aa48d..1ee10f9b68e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_models_only_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_models_only_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_and_array_operations.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_and_array_operations.py index cddd551ddf5..4e68cad1acd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_and_array_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_and_array_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import UnionClientTestBase, UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_and_array_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_and_array_operations_async.py index c64d4a75464..7692fd0bd05 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_and_array_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_and_array_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_extensible_named_operations.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_extensible_named_operations.py index 5c6041b685c..b05ecc2f0c7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_extensible_named_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_extensible_named_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import UnionClientTestBase, UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_extensible_named_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_extensible_named_operations_async.py index f730b5ec93e..63d9457c2a8 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_extensible_named_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_extensible_named_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_extensible_operations.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_extensible_operations.py index f74c82eaf18..4514fdc2676 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_extensible_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_extensible_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import UnionClientTestBase, UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_extensible_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_extensible_operations_async.py index 0b69f04576c..7150caa0edd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_extensible_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_string_extensible_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_strings_only_operations.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_strings_only_operations.py index 3c66a359337..2181e8a0ced 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_strings_only_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_strings_only_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import UnionClientTestBase, UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_strings_only_operations_async.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_strings_only_operations_async.py index 7688d0f9e4b..89d23916804 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_strings_only_operations_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/test_union_strings_only_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import UnionPreparer diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/testpreparer.py index c8942e291d1..0d66b2cf3fa 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from typetest.union import UnionClient diff --git a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/testpreparer_async.py index 9e841e1fd48..d61fa77c079 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from typetest.union.aio import UnionClient diff --git a/packages/typespec-python/test/azure/generated/typetest-union/setup.py b/packages/typespec-python/test/azure/generated/typetest-union/setup.py index 90de057fb1e..e6c4e3091c2 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/setup.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/__init__.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/__init__.py index 38921c766ab..acbdf9852b1 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_client.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_client.py index 9a6d1862ab7..495882455e4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_configuration.py index 1654eb6e78a..33107b509a7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_model_base.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_version.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_version.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/__init__.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/__init__.py index 291f8572d59..4e89685076c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/_client.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/_client.py index 70c4512eef1..a1e05a75d08 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/_configuration.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/_configuration.py index 2ca4b1bf792..7eb55f17196 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/operations/__init__.py index 94461a966e7..79b9ff621f3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/operations/_operations.py index e2cc25140e8..4ff35e49dc4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/models/__init__.py index 959e9e86908..7d46e43ec75 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/models/_enums.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/models/_enums.py index 0a881bde60d..8057e6b79bd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/models/_models.py index 8a5b2e4ac34..a635d6561b2 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, List, Literal, Mapping, TYPE_CHECKING, Union, overload diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/operations/__init__.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/operations/__init__.py index 94461a966e7..79b9ff621f3 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/operations/_operations.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/operations/_operations.py index 27221e230e7..c9d80b640f5 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/conftest.py index a8567ae6b16..37ef9defab6 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/test_added.py b/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/test_added.py index 0bd28db5b1d..21f3c1c245f 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/test_added.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/test_added.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AddedClientTestBase, AddedPreparer diff --git a/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/test_added_async.py b/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/test_added_async.py index 8b43ae0832e..c0aa575e088 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/test_added_async.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/test_added_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AddedPreparer diff --git a/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/test_added_interface_v2_operations.py b/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/test_added_interface_v2_operations.py index f475a14d697..d29deadeedd 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/test_added_interface_v2_operations.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/test_added_interface_v2_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import AddedClientTestBase, AddedPreparer diff --git a/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/test_added_interface_v2_operations_async.py b/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/test_added_interface_v2_operations_async.py index 6e9c6aaaeeb..653c57ae97f 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/test_added_interface_v2_operations_async.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/test_added_interface_v2_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import AddedPreparer diff --git a/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/testpreparer.py index ccfc073c84c..da5e39b6fe6 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from versioning.added import AddedClient diff --git a/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/testpreparer_async.py index c3d4ff5db4b..fb7f4883db3 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from versioning.added.aio import AddedClient diff --git a/packages/typespec-python/test/azure/generated/versioning-added/setup.py b/packages/typespec-python/test/azure/generated/versioning-added/setup.py index f90d5db5105..effcf349cac 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/setup.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/__init__.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/__init__.py index 483fdae0356..9b9200a1417 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_client.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_client.py index 8f6197dae2b..40e4a87f401 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_client.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_configuration.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_configuration.py index 4a43ca77057..925b429a047 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_configuration.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_model_base.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_model_base.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_serialization.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_serialization.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_types.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_types.py index 45f53499c1a..ad0f62c5c36 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_types.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_types.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Union diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_validation.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_validation.py index 964148cf00e..752b2822f9d 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_validation.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_validation.py @@ -1,3 +1,9 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import functools diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_vendor.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_vendor.py index a183ab77f79..9be6e919385 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_vendor.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_version.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_version.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/__init__.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/__init__.py index 325ca3d1fb7..a9c0e2a1572 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/_client.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/_client.py index ae3633d4e5e..580b735bdd2 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/_configuration.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/_configuration.py index 91a8fbb3432..05d6d4d360f 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/_vendor.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/_vendor.py index fb2bc2da3cc..27a5ba89938 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/operations/__init__.py index 9b9a0bcf90e..92aae3ae4fb 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/operations/_operations.py index 137b5a0c893..ee609fd604b 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/models/__init__.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/models/__init__.py index eea37c3d233..2e823ff46bd 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/models/_enums.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/models/_enums.py index a22c56dfde7..37ca39cb540 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/models/_models.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/models/_models.py index 8d4372b3d3f..ed9f8d9d37f 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/models/_models.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, TYPE_CHECKING, Union, overload diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/operations/__init__.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/operations/__init__.py index 9b9a0bcf90e..92aae3ae4fb 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/operations/_operations.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/operations/_operations.py index bc80ab059a4..eb4b74f3de3 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/conftest.py index 6922d54dbd4..02d95966ca8 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/test_made_optional.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/test_made_optional.py index 6794dd9f95a..13cd7b9ea12 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/test_made_optional.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/test_made_optional.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import MadeOptionalClientTestBase, MadeOptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/test_made_optional_async.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/test_made_optional_async.py index 2b2924ca49d..6a6baf3922c 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/test_made_optional_async.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/test_made_optional_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import MadeOptionalPreparer diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/testpreparer.py index 766ae5e9f74..e2d307ecbe9 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from versioning.madeoptional import MadeOptionalClient diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/testpreparer_async.py index 06f1d58a4a9..394e086e4ac 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from versioning.madeoptional.aio import MadeOptionalClient diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/setup.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/setup.py index 2186ecb3115..a2179b56c18 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/setup.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/__init__.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/__init__.py index a02992f7640..7e7d59853c1 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_client.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_client.py index fa96d674a38..ac0bf0a076d 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_client.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_configuration.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_configuration.py index b513254291e..0e7cdeb40e0 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_configuration.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_model_base.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_model_base.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_operations/__init__.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_operations/__init__.py index 3499d74ba27..0906701662f 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_operations/_operations.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_operations/_operations.py index 487a36cea13..cf583ed9bee 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_serialization.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_serialization.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_vendor.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_vendor.py index bf2d6aca9c3..cd65b2e21c7 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_vendor.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_version.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_version.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/__init__.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/__init__.py index 05e517e3665..77e6666f6d6 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_client.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_client.py index 214ae95c230..07ea9a02f88 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_configuration.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_configuration.py index 9168e928849..caa06d1dcc2 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_operations/__init__.py index 3499d74ba27..0906701662f 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_operations/_operations.py index 17d58762f36..e59f4897cdf 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_vendor.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_vendor.py index b79e0448499..88e2f72f142 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/models/__init__.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/models/__init__.py index a6db263685c..cc8a2f08bbd 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/models/_enums.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/models/_enums.py index 619182f533e..083033257ff 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/models/_models.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/models/_models.py index 172a88161d5..c2449575c39 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/models/_models.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, Optional, overload diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/conftest.py index 46b65c340ba..dd62b27f5ea 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/test_removed.py b/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/test_removed.py index 27f4d32194a..d3f57f2b16a 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/test_removed.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/test_removed.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import RemovedClientTestBase, RemovedPreparer diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/test_removed_async.py b/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/test_removed_async.py index 589406caf80..0a5c7bee85a 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/test_removed_async.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/test_removed_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import RemovedPreparer diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/testpreparer.py index 62e8e344584..60f068de6e5 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from versioning.removed import RemovedClient diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/testpreparer_async.py index aaec2630caa..fb44cbf1a9c 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from versioning.removed.aio import RemovedClient diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/setup.py b/packages/typespec-python/test/azure/generated/versioning-removed/setup.py index d918b21ab9e..f3a4d1220dd 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/setup.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/__init__.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/__init__.py index 3c0bce0e2dd..54f0083a747 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_client.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_client.py index a415a213d46..39ad8c17e39 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_client.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_configuration.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_configuration.py index d3bf3859f26..e853169e299 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_configuration.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_model_base.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_model_base.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_operations/__init__.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_operations/__init__.py index 305dc4d6c45..5582b0fb982 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_operations/_operations.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_operations/_operations.py index 4fa2f874597..b0385017472 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_serialization.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_serialization.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_types.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_types.py index d8bb21ff55f..d9eb2e02134 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_types.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_types.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Union diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_vendor.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_vendor.py index 25d1f0bb786..bc90285b643 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_vendor.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_version.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_version.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/__init__.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/__init__.py index b34a094d572..48ede13eaa0 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_client.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_client.py index 5ef4e468fa9..65407459b1e 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_configuration.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_configuration.py index 5ee5ac9351d..d59bbf8ebc6 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_operations/__init__.py index 305dc4d6c45..5582b0fb982 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_operations/_operations.py index e8bd0595d8b..d1fd773d544 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_vendor.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_vendor.py index bc568f57fbd..2da759abf44 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/models/__init__.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/models/__init__.py index 200657f6cf3..e583fe0d255 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/models/_enums.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/models/_enums.py index b63f4af1f8d..ab821672712 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/models/_models.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/models/_models.py index b5b1ee579b8..dbce875014e 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/models/_models.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, TYPE_CHECKING, Union, overload diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/conftest.py index fea4a7913c9..4a15c18fbd5 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/test_renamed_from.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/test_renamed_from.py index 7c2b19de36f..724043b1b94 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/test_renamed_from.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/test_renamed_from.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import RenamedFromClientTestBase, RenamedFromPreparer diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/test_renamed_from_async.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/test_renamed_from_async.py index f9e9b38ccbb..aac2319e12b 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/test_renamed_from_async.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/test_renamed_from_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import RenamedFromPreparer diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/test_renamed_from_new_interface_operations.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/test_renamed_from_new_interface_operations.py index 4d7b99e18e1..d3aa2db48ef 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/test_renamed_from_new_interface_operations.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/test_renamed_from_new_interface_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import RenamedFromClientTestBase, RenamedFromPreparer diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/test_renamed_from_new_interface_operations_async.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/test_renamed_from_new_interface_operations_async.py index 049081b4c07..ded1a984fd9 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/test_renamed_from_new_interface_operations_async.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/test_renamed_from_new_interface_operations_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import RenamedFromPreparer diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/testpreparer.py index 026fe862b85..af5459a16cb 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from versioning.renamedfrom import RenamedFromClient diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/testpreparer_async.py index ff2460374c6..2a3a04d4cd9 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from versioning.renamedfrom.aio import RenamedFromClient diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/setup.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/setup.py index 5dfa518de19..99265363447 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/setup.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/__init__.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/__init__.py index 70557e7183a..606a0526685 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_client.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_client.py index f5c5981e76b..c0dd5d0b32e 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_client.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_configuration.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_configuration.py index 68719b4b1dc..afabb9629cd 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_configuration.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_model_base.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_model_base.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_serialization.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_serialization.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_types.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_types.py index b302e8524e9..6a0c99464d6 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_types.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_types.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Union diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_vendor.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_vendor.py index f3306e8e50f..58ea6f6e27e 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_vendor.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_version.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_version.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/__init__.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/__init__.py index fb354954e69..2aa4c18d3d5 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/_client.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/_client.py index c7232df7ba8..c8264d9ae70 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/_configuration.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/_configuration.py index 674dd3a96f8..842464aeaf5 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/_vendor.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/_vendor.py index cf93e097313..9efbf1c2f6d 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/operations/__init__.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/operations/__init__.py index 1b0314ab91a..4598dad127d 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/operations/_operations.py index 0f0ac531660..3ec4aef9bb3 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/aio/operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/models/__init__.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/models/__init__.py index 97c5f28cad5..e69225631a7 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/models/_enums.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/models/_enums.py index f0563f7ae56..7b36162656d 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/models/_models.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/models/_models.py index 4c6346de4d1..cd263115fd2 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/models/_models.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, TYPE_CHECKING, Union, overload diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/operations/__init__.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/operations/__init__.py index 1b0314ab91a..4598dad127d 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/operations/_operations.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/operations/_operations.py index c7314c6aa55..9041afcbb9f 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/conftest.py index c9ee56d4c68..2d8b087a478 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/test_return_type_changed_from.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/test_return_type_changed_from.py index 47086930be6..27b6ee78d2b 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/test_return_type_changed_from.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/test_return_type_changed_from.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import ReturnTypeChangedFromClientTestBase, ReturnTypeChangedFromPreparer diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/test_return_type_changed_from_async.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/test_return_type_changed_from_async.py index 6c520db0669..b75ea6fa0ab 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/test_return_type_changed_from_async.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/test_return_type_changed_from_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import ReturnTypeChangedFromPreparer diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/testpreparer.py index 23e58bb80a1..3db19f8ddbe 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from versioning.returntypechangedfrom import ReturnTypeChangedFromClient diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/testpreparer_async.py index 6687b8612fb..9b673fad3f1 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from versioning.returntypechangedfrom.aio import ReturnTypeChangedFromClient diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/setup.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/setup.py index 0a7f4002a1a..635e05853c2 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/setup.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/__init__.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/__init__.py index 79169729d67..3c6fa047701 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_client.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_client.py index 6a6b5ea1f1a..84b6e6c87d8 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_client.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_configuration.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_configuration.py index 005d0202050..abecc8aa36f 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_configuration.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_model_base.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_model_base.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_operations/__init__.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_operations/__init__.py index ce1ec088f62..d6cf57e7558 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_operations/_operations.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_operations/_operations.py index c594717b672..854bf1cd1fe 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import json import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_serialization.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_serialization.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_vendor.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_vendor.py index 324b2885c7f..b3ff6f2365c 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_vendor.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_version.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_version.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/__init__.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/__init__.py index 67e78e60168..f018e0258ea 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_client.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_client.py index e82d76189af..9189be8e3dd 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_configuration.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_configuration.py index 364d296961a..ff038012ca6 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_operations/__init__.py index ce1ec088f62..d6cf57e7558 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_operations/_operations.py index 6355566155e..1eedd9983b2 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import json import sys from typing import Any, Callable, Dict, Optional, TypeVar diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_vendor.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_vendor.py index e5c24319dad..fd597fb4fe8 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py index f8b97f7eed8..8ee7511813e 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/_enums.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/_enums.py index 619182f533e..083033257ff 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/conftest.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/conftest.py index 98396267472..9fcd84c05df 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/conftest.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/conftest.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os import pytest from dotenv import load_dotenv diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/test_type_changed_from.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/test_type_changed_from.py index 62a13b697f3..f923927e7d8 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/test_type_changed_from.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/test_type_changed_from.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils import recorded_by_proxy from testpreparer import TypeChangedFromClientTestBase, TypeChangedFromPreparer diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/test_type_changed_from_async.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/test_type_changed_from_async.py index 4bda8ff98a8..cc7fe639551 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/test_type_changed_from_async.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/test_type_changed_from_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import pytest from devtools_testutils.aio import recorded_by_proxy_async from testpreparer import TypeChangedFromPreparer diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/testpreparer.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/testpreparer.py index d3fae408cae..69d22259ad2 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/testpreparer.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/testpreparer.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase, PowerShellPreparer import functools from versioning.typechangedfrom import TypeChangedFromClient diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/testpreparer_async.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/testpreparer_async.py index 19439dde99a..cf09aeeeca5 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/testpreparer_async.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/generated_tests/testpreparer_async.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from devtools_testutils import AzureRecordedTestCase from versioning.typechangedfrom.aio import TypeChangedFromClient diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/setup.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/setup.py index 8193261bf4e..316a7dec988 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/setup.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/setup.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- import os diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/__init__.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/__init__.py index 4786ba94062..b271bf81085 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_client.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_client.py index ea5a36bba68..c66041becc2 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_client.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_configuration.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_configuration.py index 46076aa4750..86e37114d27 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_configuration.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_model_base.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_model_base.py index e8ecb270bd8..065b17f67c4 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_model_base.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_model_base.py @@ -1,5 +1,11 @@ # pylint: disable=too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=protected-access, broad-except import copy diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_operations/__init__.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_operations/__init__.py index b1003f556ef..3714545bb4e 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_operations/_operations.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_operations/_operations.py index a50269853c8..4a5c3ce2574 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_operations/_operations.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_serialization.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_serialization.py index f71dbc0833e..eb86ea23c96 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_serialization.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_serialization.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pyright: reportUnnecessaryTypeIgnoreComment=false diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_vendor.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_vendor.py index b84c3cedbc0..ce81fb7ab76 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_vendor.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_version.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_version.py index 9f6458b8cda..be71c81bd28 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_version.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_version.py @@ -1,3 +1,9 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- VERSION = "1.0.0b1" diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/__init__.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/__init__.py index d981ab5497e..0cb99f10dfb 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_client.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_client.py index 781b681abe1..eb6a347b764 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_client.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_client.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_configuration.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_configuration.py index 512dfc22035..2ace1748d55 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_configuration.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_configuration.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from typing import Any, Union diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_operations/__init__.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_operations/__init__.py index b1003f556ef..3714545bb4e 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_operations/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_operations/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_operations/_operations.py index 44d40ed7ae0..facba2f832c 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_operations/_operations.py @@ -1,5 +1,11 @@ # pylint: disable=line-too-long,useless-suppression # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from io import IOBase import json import sys diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_vendor.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_vendor.py index 69ae86a1ca3..ae00688372b 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_vendor.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/aio/_vendor.py @@ -1,3 +1,10 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + from abc import ABC from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/__init__.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/__init__.py index a6db263685c..cc8a2f08bbd 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/__init__.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=wrong-import-position from typing import TYPE_CHECKING diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/_enums.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/_enums.py index 619182f533e..083033257ff 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/_enums.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/_enums.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- from enum import Enum from azure.core import CaseInsensitiveEnumMeta diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py index adfc3374ed7..536b61d8536 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py @@ -1,4 +1,10 @@ # coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- # pylint: disable=useless-super-delegation from typing import Any, Mapping, overload diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 260b0e984de..aac2369e8d9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -57,8 +57,8 @@ importers: specifier: ~1.0.2 version: 1.0.2 '@typespec/http-client-python': - specifier: ~0.9.0 - version: 0.9.0(2ivfmxvrftapo7cbuxsaae6yq4) + specifier: ~0.9.1 + version: 0.9.1(2ivfmxvrftapo7cbuxsaae6yq4) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -79,8 +79,8 @@ importers: packages/typespec-python: dependencies: '@typespec/http-client-python': - specifier: ~0.9.0 - version: 0.9.0(2ivfmxvrftapo7cbuxsaae6yq4) + specifier: ~0.9.1 + version: 0.9.1(2ivfmxvrftapo7cbuxsaae6yq4) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -1538,8 +1538,8 @@ packages: peerDependencies: '@typespec/compiler': ^1.0.0-rc.0 - '@typespec/http-client-python@0.9.0': - resolution: {integrity: sha512-4gAC9ht4LwZ0eyBgCT94emckysHSd/MNfX96yaVvdZze5xN3LyVdh0BWg6Gn/C6/tGm4ECrdPBZJT/mqI/IXbw==} + '@typespec/http-client-python@0.9.1': + resolution: {integrity: sha512-symHQo4KvdId6fHhN/7biCXQjK915757DVOrMlTuKmDNWaaLoPTK4Y9zgQodsu4mMrkTRiRERHJdjIRFVZYvFg==} engines: {node: '>=20.0.0'} peerDependencies: '@azure-tools/typespec-autorest': '>=0.54.0 <1.0.0' @@ -5893,7 +5893,7 @@ snapshots: dependencies: '@typespec/compiler': 1.0.0-rc.0(@types/node@22.13.17) - '@typespec/http-client-python@0.9.0(2ivfmxvrftapo7cbuxsaae6yq4)': + '@typespec/http-client-python@0.9.1(2ivfmxvrftapo7cbuxsaae6yq4)': dependencies: '@azure-tools/typespec-autorest': 0.54.0(eijwshhpe4ydfv4uxokr3dajqe) '@azure-tools/typespec-azure-core': 0.54.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17))(@typespec/http@1.0.0-rc.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17))(@typespec/streams@0.68.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17))))(@typespec/rest@0.68.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17))(@typespec/http@1.0.0-rc.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17))(@typespec/streams@0.68.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17)))))