How can I hide data-class generated methods?
See original GitHub issueI am looking for a way to remove componentX() and copy(...) methods of a data class from my Dokka generated Javadoc. Is there a way to do that?
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
dataclasses — Data Classes — Python 3.11.1 documentation
This module provides a decorator and functions for automatically adding generated special methods such as __init__() and __repr__() to user-defined classes. It ...
Read more >How to remove dataclass attributes - python - Stack Overflow
from dataclasses import dataclass from typing import Optional, Dict, ... My first approach was to figure out a way to remove any item...
Read more >Data Classes in Python 3.7+ (Guide)
A data class is a regular Python class. The only thing that sets it apart is that it has basic data model methods...
Read more >Disable componentN() generation in data classes
It seems to be IDE problem, not language problem. The solution could be to introduce a special method annotation like @Generated which is...
Read more >Reconciling Dataclasses And Properties In Python
Dataclasses generate the __init__() method for you — and that's great. They even provide a __post_init__() hook method in case you want to ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Well, nobody likes boilerplate documentation, so you could consider adding a tag for hiding methods, e.g.
@exclude copy, component*.@suppress