Azure / Azure/azure-sdk-tools

[DelegateAPIViewFeedbackTool] incorrect clientDoc application on python "dedent docstring" errors

Open
#15,223 0 comments 0 reactions 1 assignee Assigned to @samvaity View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.