Skip to content

Commit c79e581

Browse files
authored
Merge branch 'main' into fix-typespec-python-regenerate-action
2 parents a1f0624 + edf5833 commit c79e581

782 files changed

Lines changed: 16405 additions & 32225 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

eng/emitter-package-lock.json

Lines changed: 343 additions & 657 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/emitter-package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
{
22
"name": "dist/src/index.js",
33
"dependencies": {
4-
"@azure-tools/typespec-python": "0.61.3"
4+
"@azure-tools/typespec-python": "0.62.1"
55
},
66
"devDependencies": {
7-
"@typespec/compiler": "^1.11.0",
8-
"@typespec/http": "^1.11.0",
9-
"@typespec/rest": "~0.81.0",
10-
"@typespec/versioning": "~0.81.0",
11-
"@typespec/openapi": "^1.11.0",
12-
"@typespec/events": "~0.81.0",
13-
"@typespec/sse": "~0.81.0",
14-
"@typespec/streams": "~0.81.0",
15-
"@typespec/xml": "~0.81.0",
16-
"@typespec/openapi3": "1.11.0",
7+
"@typespec/compiler": "^1.12.0",
8+
"@typespec/http": "^1.12.0",
9+
"@typespec/rest": "~0.82.0",
10+
"@typespec/versioning": "~0.82.0",
11+
"@typespec/openapi": "^1.12.0",
12+
"@typespec/events": "~0.82.0",
13+
"@typespec/sse": "~0.82.0",
14+
"@typespec/streams": "~0.82.0",
15+
"@typespec/xml": "~0.82.0",
16+
"@typespec/openapi3": "1.12.0",
1717
"@azure-tools/openai-typespec": "1.11.0",
18-
"@azure-tools/typespec-autorest": "~0.67.0",
19-
"@azure-tools/typespec-azure-core": "~0.67.1",
20-
"@azure-tools/typespec-azure-resource-manager": "~0.67.1",
21-
"@azure-tools/typespec-azure-rulesets": "~0.67.0",
22-
"@azure-tools/typespec-client-generator-core": "~0.67.3",
23-
"@azure-tools/typespec-liftr-base": "0.13.0"
18+
"@azure-tools/typespec-autorest": "~0.68.0",
19+
"@azure-tools/typespec-azure-core": "~0.68.0",
20+
"@azure-tools/typespec-azure-resource-manager": "~0.68.0",
21+
"@azure-tools/typespec-azure-rulesets": "~0.68.0",
22+
"@azure-tools/typespec-client-generator-core": "~0.68.0",
23+
"@azure-tools/typespec-liftr-base": "0.14.0"
2424
}
2525
}
Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,3 @@
1-
# Authentication Apikey client library for Python
2-
<!-- write necessary description of service -->
1+
# ⚠️ TEST CODE — DO NOT INSTALL FROM PYPI
32

4-
## Getting started
5-
6-
### Install the package
7-
8-
```bash
9-
python -m pip install authentication-apikey
10-
```
11-
12-
#### Prequisites
13-
14-
- Python 3.9 or later is required to use this package.
15-
- You need an [Azure subscription][azure_sub] to use this package.
16-
- An existing Authentication Apikey instance.
17-
18-
19-
## Contributing
20-
21-
This project welcomes contributions and suggestions. Most contributions require
22-
you to agree to a Contributor License Agreement (CLA) declaring that you have
23-
the right to, and actually do, grant us the rights to use your contribution.
24-
For details, visit https://cla.microsoft.com.
25-
26-
When you submit a pull request, a CLA-bot will automatically determine whether
27-
you need to provide a CLA and decorate the PR appropriately (e.g., label,
28-
comment). Simply follow the instructions provided by the bot. You will only
29-
need to do this once across all repos using our CLA.
30-
31-
This project has adopted the
32-
[Microsoft Open Source Code of Conduct][code_of_conduct]. For more information,
33-
see the Code of Conduct FAQ or contact opencode@microsoft.com with any
34-
additional questions or comments.
35-
36-
<!-- LINKS -->
37-
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
38-
[authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token
39-
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#credentials
40-
[azure_identity_pip]: https://pypi.org/project/azure-identity/
41-
[default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential
42-
[pip]: https://pypi.org/project/pip/
43-
[azure_sub]: https://azure.microsoft.com/free/
3+
This is not a published Azure SDK package; it exists only for testing purposes. Do not install from PyPI.
Lines changed: 2 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,3 @@
1-
# Authentication Http Custom client library for Python
2-
<!-- write necessary description of service -->
1+
# ⚠️ TEST CODE — DO NOT INSTALL FROM PYPI
32

4-
## Getting started
5-
6-
### Install the package
7-
8-
```bash
9-
python -m pip install authentication-http-custom
10-
```
11-
12-
#### Prequisites
13-
14-
- Python 3.10 or later is required to use this package.
15-
- You need an [Azure subscription][azure_sub] to use this package.
16-
- An existing Authentication Http Custom instance.
17-
18-
### Use with AI tools
19-
20-
AI coding tools such as VS Code and GitHub Copilot can help you write and debug code that uses this library. See [Using the Azure SDK for Python with AI tools](https://aka.ms/azsdk/python/ai) for available integrations.
21-
22-
23-
## Contributing
24-
25-
This project welcomes contributions and suggestions. Most contributions require
26-
you to agree to a Contributor License Agreement (CLA) declaring that you have
27-
the right to, and actually do, grant us the rights to use your contribution.
28-
For details, visit https://cla.microsoft.com.
29-
30-
When you submit a pull request, a CLA-bot will automatically determine whether
31-
you need to provide a CLA and decorate the PR appropriately (e.g., label,
32-
comment). Simply follow the instructions provided by the bot. You will only
33-
need to do this once across all repos using our CLA.
34-
35-
This project has adopted the
36-
[Microsoft Open Source Code of Conduct][code_of_conduct]. For more information,
37-
see the Code of Conduct FAQ or contact opencode@microsoft.com with any
38-
additional questions or comments.
39-
40-
<!-- LINKS -->
41-
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
42-
[authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token
43-
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#credentials
44-
[azure_identity_pip]: https://pypi.org/project/azure-identity/
45-
[default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential
46-
[pip]: https://pypi.org/project/pip/
47-
[azure_sub]: https://azure.microsoft.com/free/
3+
This is not a published Azure SDK package; it exists only for testing purposes. Do not install from PyPI.
Lines changed: 2 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,3 @@
1-
# Authentication Noauth Union client library for Python
2-
<!-- write necessary description of service -->
1+
# ⚠️ TEST CODE — DO NOT INSTALL FROM PYPI
32

4-
## Getting started
5-
6-
### Install the package
7-
8-
```bash
9-
python -m pip install authentication-noauth-union
10-
```
11-
12-
#### Prequisites
13-
14-
- Python 3.9 or later is required to use this package.
15-
- You need an [Azure subscription][azure_sub] to use this package.
16-
- An existing Authentication Noauth Union instance.
17-
18-
#### Create with an Azure Active Directory Credential
19-
To use an [Azure Active Directory (AAD) token credential][authenticate_with_token],
20-
provide an instance of the desired credential type obtained from the
21-
[azure-identity][azure_identity_credentials] library.
22-
23-
To authenticate with AAD, you must first [pip][pip] install [`azure-identity`][azure_identity_pip]
24-
25-
After setup, you can choose which type of [credential][azure_identity_credentials] from azure.identity to use.
26-
As an example, [DefaultAzureCredential][default_azure_credential] can be used to authenticate the client:
27-
28-
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables:
29-
`AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`
30-
31-
Use the returned token credential to authenticate the client:
32-
33-
```python
34-
>>> from authentication.noauth.union import UnionClient
35-
>>> from azure.identity import DefaultAzureCredential
36-
>>> client = UnionClient(endpoint='<endpoint>', credential=DefaultAzureCredential())
37-
```
38-
39-
## Examples
40-
41-
```python
42-
>>> from authentication.noauth.union import UnionClient
43-
>>> from azure.identity import DefaultAzureCredential
44-
>>> from azure.core.exceptions import HttpResponseError
45-
46-
>>> client = UnionClient(endpoint='<endpoint>', credential=DefaultAzureCredential())
47-
>>> try:
48-
<!-- write test code here -->
49-
except HttpResponseError as e:
50-
print('service responds error: {}'.format(e.response.json()))
51-
52-
```
53-
54-
## Contributing
55-
56-
This project welcomes contributions and suggestions. Most contributions require
57-
you to agree to a Contributor License Agreement (CLA) declaring that you have
58-
the right to, and actually do, grant us the rights to use your contribution.
59-
For details, visit https://cla.microsoft.com.
60-
61-
When you submit a pull request, a CLA-bot will automatically determine whether
62-
you need to provide a CLA and decorate the PR appropriately (e.g., label,
63-
comment). Simply follow the instructions provided by the bot. You will only
64-
need to do this once across all repos using our CLA.
65-
66-
This project has adopted the
67-
[Microsoft Open Source Code of Conduct][code_of_conduct]. For more information,
68-
see the Code of Conduct FAQ or contact opencode@microsoft.com with any
69-
additional questions or comments.
70-
71-
<!-- LINKS -->
72-
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
73-
[authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token
74-
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#credentials
75-
[azure_identity_pip]: https://pypi.org/project/azure-identity/
76-
[default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential
77-
[pip]: https://pypi.org/project/pip/
78-
[azure_sub]: https://azure.microsoft.com/free/
3+
This is not a published Azure SDK package; it exists only for testing purposes. Do not install from PyPI.
Lines changed: 2 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,3 @@
1-
# Authentication Oauth2 client library for Python
2-
<!-- write necessary description of service -->
1+
# ⚠️ TEST CODE — DO NOT INSTALL FROM PYPI
32

4-
## Getting started
5-
6-
### Install the package
7-
8-
```bash
9-
python -m pip install authentication-oauth2
10-
```
11-
12-
#### Prequisites
13-
14-
- Python 3.9 or later is required to use this package.
15-
- You need an [Azure subscription][azure_sub] to use this package.
16-
- An existing Authentication Oauth2 instance.
17-
18-
#### Create with an Azure Active Directory Credential
19-
To use an [Azure Active Directory (AAD) token credential][authenticate_with_token],
20-
provide an instance of the desired credential type obtained from the
21-
[azure-identity][azure_identity_credentials] library.
22-
23-
To authenticate with AAD, you must first [pip][pip] install [`azure-identity`][azure_identity_pip]
24-
25-
After setup, you can choose which type of [credential][azure_identity_credentials] from azure.identity to use.
26-
As an example, [DefaultAzureCredential][default_azure_credential] can be used to authenticate the client:
27-
28-
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables:
29-
`AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`
30-
31-
Use the returned token credential to authenticate the client:
32-
33-
```python
34-
>>> from authentication.oauth2 import OAuth2Client
35-
>>> from azure.identity import DefaultAzureCredential
36-
>>> client = OAuth2Client(endpoint='<endpoint>', credential=DefaultAzureCredential())
37-
```
38-
39-
## Examples
40-
41-
```python
42-
>>> from authentication.oauth2 import OAuth2Client
43-
>>> from azure.identity import DefaultAzureCredential
44-
>>> from azure.core.exceptions import HttpResponseError
45-
46-
>>> client = OAuth2Client(endpoint='<endpoint>', credential=DefaultAzureCredential())
47-
>>> try:
48-
<!-- write test code here -->
49-
except HttpResponseError as e:
50-
print('service responds error: {}'.format(e.response.json()))
51-
52-
```
53-
54-
## Contributing
55-
56-
This project welcomes contributions and suggestions. Most contributions require
57-
you to agree to a Contributor License Agreement (CLA) declaring that you have
58-
the right to, and actually do, grant us the rights to use your contribution.
59-
For details, visit https://cla.microsoft.com.
60-
61-
When you submit a pull request, a CLA-bot will automatically determine whether
62-
you need to provide a CLA and decorate the PR appropriately (e.g., label,
63-
comment). Simply follow the instructions provided by the bot. You will only
64-
need to do this once across all repos using our CLA.
65-
66-
This project has adopted the
67-
[Microsoft Open Source Code of Conduct][code_of_conduct]. For more information,
68-
see the Code of Conduct FAQ or contact opencode@microsoft.com with any
69-
additional questions or comments.
70-
71-
<!-- LINKS -->
72-
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
73-
[authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token
74-
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#credentials
75-
[azure_identity_pip]: https://pypi.org/project/azure-identity/
76-
[default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential
77-
[pip]: https://pypi.org/project/pip/
78-
[azure_sub]: https://azure.microsoft.com/free/
3+
This is not a published Azure SDK package; it exists only for testing purposes. Do not install from PyPI.
Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,3 @@
1-
# Authentication Union client library for Python
2-
<!-- write necessary description of service -->
1+
# ⚠️ TEST CODE — DO NOT INSTALL FROM PYPI
32

4-
## Getting started
5-
6-
### Install the package
7-
8-
```bash
9-
python -m pip install authentication-union
10-
```
11-
12-
#### Prequisites
13-
14-
- Python 3.9 or later is required to use this package.
15-
- You need an [Azure subscription][azure_sub] to use this package.
16-
- An existing Authentication Union instance.
17-
18-
19-
## Contributing
20-
21-
This project welcomes contributions and suggestions. Most contributions require
22-
you to agree to a Contributor License Agreement (CLA) declaring that you have
23-
the right to, and actually do, grant us the rights to use your contribution.
24-
For details, visit https://cla.microsoft.com.
25-
26-
When you submit a pull request, a CLA-bot will automatically determine whether
27-
you need to provide a CLA and decorate the PR appropriately (e.g., label,
28-
comment). Simply follow the instructions provided by the bot. You will only
29-
need to do this once across all repos using our CLA.
30-
31-
This project has adopted the
32-
[Microsoft Open Source Code of Conduct][code_of_conduct]. For more information,
33-
see the Code of Conduct FAQ or contact opencode@microsoft.com with any
34-
additional questions or comments.
35-
36-
<!-- LINKS -->
37-
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
38-
[authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token
39-
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#credentials
40-
[azure_identity_pip]: https://pypi.org/project/azure-identity/
41-
[default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential
42-
[pip]: https://pypi.org/project/pip/
43-
[azure_sub]: https://azure.microsoft.com/free/
3+
This is not a published Azure SDK package; it exists only for testing purposes. Do not install from PyPI.
Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,3 @@
1-
# Specs Azure Clientgenerator Core Access client library for Python
2-
<!-- write necessary description of service -->
1+
# ⚠️ TEST CODE — DO NOT INSTALL FROM PYPI
32

4-
## Getting started
5-
6-
### Install the package
7-
8-
```bash
9-
python -m pip install specs-azure-clientgenerator-core-access
10-
```
11-
12-
#### Prequisites
13-
14-
- Python 3.9 or later is required to use this package.
15-
- You need an [Azure subscription][azure_sub] to use this package.
16-
- An existing Specs Azure Clientgenerator Core Access instance.
17-
18-
19-
## Contributing
20-
21-
This project welcomes contributions and suggestions. Most contributions require
22-
you to agree to a Contributor License Agreement (CLA) declaring that you have
23-
the right to, and actually do, grant us the rights to use your contribution.
24-
For details, visit https://cla.microsoft.com.
25-
26-
When you submit a pull request, a CLA-bot will automatically determine whether
27-
you need to provide a CLA and decorate the PR appropriately (e.g., label,
28-
comment). Simply follow the instructions provided by the bot. You will only
29-
need to do this once across all repos using our CLA.
30-
31-
This project has adopted the
32-
[Microsoft Open Source Code of Conduct][code_of_conduct]. For more information,
33-
see the Code of Conduct FAQ or contact opencode@microsoft.com with any
34-
additional questions or comments.
35-
36-
<!-- LINKS -->
37-
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
38-
[authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token
39-
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#credentials
40-
[azure_identity_pip]: https://pypi.org/project/azure-identity/
41-
[default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential
42-
[pip]: https://pypi.org/project/pip/
43-
[azure_sub]: https://azure.microsoft.com/free/
3+
This is not a published Azure SDK package; it exists only for testing purposes. Do not install from PyPI.

0 commit comments

Comments
 (0)