mkgendocs icon indicating copy to clipboard operation
mkgendocs copied to clipboard

Dataclass attributes not documented

Open edmorley opened this issue 2 years ago • 0 comments

Hi

I tried using mkgendocs with a project that uses dataclasses, however the output was missing all of the dataclass attributes.

For example, the Context dataclass here: https://github.com/heroku/sf-functions-python/blob/3d3b16abc76bde98718fa053f1226fdc4a7052f9/salesforce_functions/context.py#L36-L41

...was documented as:

## Context
\```python 
Context()
\```


---
Information relating to the function and the Salesforce org with which it is associated.

...the org attribute is missing, and also the Context() function signature is missing all arguments present in the generated constructor.

edmorley avatar Jan 13 '23 09:01 edmorley