This commit is contained in:
Yuchao Yan 2023-12-05 07:19:24 +08:00 коммит произвёл GitHub
Родитель 739cf35a05
Коммит 6e914fdf38
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 3 добавлений и 5 удалений

Просмотреть файл

@ -247,12 +247,10 @@ class ServiceClient(ServiceClientGenerated):
__all__ = ["ServiceClient"] __all__ = ["ServiceClient"]
``` ```
## Postprocessing ## Postprocessing (Optional)
All of the code, linting, and intellisense between generated and handwritten code should work immediately. In some cases, to get mypy clean, you will need to run our postprocessing step. To run this step, run All of the code, linting, and intellisense between generated and handwritten code should work immediately. In some cases, to correctly point mypy to the patched code, you will need to run our postprocessing step. To run this step, run
```bash ```bash
autorest --postprocess --output-folder=<path-to-root-of-sdk> autorest --python --postprocess --output-folder=<path-to-root-of-sdk>
``` ```
This will update the generated SDK to pass mypy.