-
Notifications
You must be signed in to change notification settings - Fork 60
Generate Python SDK with Cadl (Preview)
Yuchao Yan edited this page Aug 31, 2022
·
4 revisions
Install Node.js 16 or above. (Verify by node --version
)
Install Python 3.7+. (Verify by python --version
)
Install pnpm
with cmd npm install -g pnpm
Clone autorest.python.
Step into repo autorest.python
and run:
pnpm install
pnpm build
- Step into
packages/cadl-python
under repoautorest.python
- Copy Cadl project here and run
cadl compile {your-cadl-files}/. --emit=@azure-tools/cadl-python
The generated SDK code will be in cadl-output
copy following configuration in launch.json
: