Expected Behavior
Dataclass arguments/attributes should display as instance variables
Actual Behavior
Instead they appear as static variables
Steps to Reproduce
- Create a simple dataclass. e.g.
from dataclasses import dataclass
@dataclass
class Foo:
bar: int
- Run pdoc
- Observe that the
bar variable shows up as static
Additional info