[DelegateAPIViewFeedbackTool] incorrect clientDoc application on python "dedent docstring" errors
Open
- Dominant language
- C#
- Stars
- 135
- Forks
- 260
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 130
Description
For this error: "
Do not hardcode dedent value in docstring. Leave the dedent entry in your docstring empty, do not assign a numerical value to it. [do-not-hardcode-dedent]"
Copilot is adding clientDoc to try to fix this issue. PR: https://github.com/Azure/azure-rest-api-specs/pull/42448/changes
This is incorrect and should definitely not be doing this. Either the prompt or knowledge base needs to be updated so that it properly fixes this in the parser/generator/_patch.py. Definitely not in the client.tsp.
Contributor guide
Assessment
This issue has not been assessed yet.