Extension for AutoRest (https://github.com/Azure/autorest) that generates Python code
Перейти к файлу
iscai-msft 5fb6e48edb black folder 2024-09-16 11:58:07 -04:00
.chronus Fix wrong word in generated test (#2839) 2024-09-13 08:05:12 +00:00
.github fix release branch, hopefully (#2598) 2024-05-23 16:04:15 -04:00
.vscode Snake case naming optimization (with vendor code from `@azure-tools/codegen`) (#2810) 2024-09-05 13:45:59 +08:00
docs Update customizations.md (#2267) 2023-12-04 23:19:24 +00:00
eng pip prod(deps): bump pyright from 1.1.379 to 1.1.380 in /eng 2024-09-16 13:38:28 +00:00
packages black folder 2024-09-16 11:58:07 -04:00
.editorconfig Create a pipeline for generic autorest verification (#2097) 2023-11-16 23:43:31 +00:00
.gitattributes update git config (#2648) 2024-06-20 03:13:47 +00:00
.gitignore Fix ci (#2785) 2024-08-22 22:27:51 +00:00
.prettierignore Refactor autorest (#1362) 2022-07-22 16:09:13 -07:00
.prettierrc.yaml Refactor autorest (#1362) 2022-07-22 16:09:13 -07:00
CODE_OF_CONDUCT.md Refactor autorest (#1362) 2022-07-22 16:09:13 -07:00
CONTRIBUTING.md switch to using `npm run regenerate` (#2747) 2024-08-06 10:04:46 +00:00
LICENSE Refactor autorest (#1362) 2022-07-22 16:09:13 -07:00
README.md Clean work (#2549) 2024-04-28 14:50:23 +08:00
SECURITY.md Refactor autorest (#1362) 2022-07-22 16:09:13 -07:00
package.json bump tsp 0.60.0 (#2834) 2024-09-11 07:07:15 +00:00
pnpm-lock.yaml bump tsp 0.60.0 (#2834) 2024-09-11 07:07:15 +00:00
pnpm-workspace.yaml Refactor autorest (#1362) 2022-07-22 16:09:13 -07:00
pyproject.toml run black on whole repo (#2572) 2024-05-06 19:58:15 +00:00
tsconfig.base.json clean up reqs, use ts to run scripts (#2777) 2024-08-15 14:26:47 -04:00
tsconfig.json Refactor autorest (#1362) 2022-07-22 16:09:13 -07:00
tsconfig.ws.json rename emitter ot `typespec-python` (#1800) 2023-03-20 14:16:33 -07:00

README.md

Python Generator Packages

Requirements

  • Node 16+
  • Python 3.7+

Develop

This project uses pnpm workspaces to manage multiple packages.

pnpm install
  1. Build
pnpm build
  1. Build TS in watch mode
pnpm watch
  1. Clean
pnpm clean

Release a new version

Semi-auto:

Branch publish/auto-release should be automatically updated with the latest changelog. Give it 5min after merging a PR or check the status of the Release action

Then go to https://github.com/Azure/autorest.python/pull/new/publish/auto-release and create this PR.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.