Azure / Azure/azure-sdk-tools

[Python APIView] default value in docstring overloads should not apply to function

Open
#10,044 0 comments 0 reactions 1 assignee Claimed by @swathipil View on GitHub
APIView Python
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

Example: azure-ai-documentintelligence APIView: The [default value of DocumentIntelligenceClient.begin_analyze_document(body) should not be None](https://spa.apiview.dev/review/e537ef4f04a343e1863478cb96d48b59?activeApiRevisionId=71342035a6c0499fbc13cb9ed0ba7ccc&diffApiRevisionId=fabc56c16a6c446ba9c1d4a4a94e1837). [This should only apply to the first overload.](https://github.com/Azure/azure-sdk-for-python/blob/e816b7596daceb76653e1dd383630abfab3c6280/sdk/documentintelligence/azure-ai-documentintelligence/azure/ai/documentintelligence/_operations/_patch.py#L412)

Change needs to be made in nodes/_docstring_parser.py

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.