Azure / Azure/azure-sdk-tools

[Python APIView] Missing Self When Rendering Dataclass

Open
#14,434 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

When apiview is rendering `dataclass` it is missing `self` inside `__init__`, methods etc.

e.g. of where issue shows up https://spa.apiview.dev/review/aed746a7f4e149e9ba890b7da3276591?activeApiRevisionId=7fe9b97921bb4acdaebd74bd5a4e12b7&diffApiRevisionId=7ca82a5d34d74e4a8fb0dfec49df3f22&diffStyle=trees

Image

Copilot picks these up as issues and once this is addressed, the rendering show be proper

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.