Skip to content

Add docstring and type hints to DistributionMeta #5353

Closed
@canyon289

Description

@canyon289

Description of your problem

Please add more documentation to DistributionMeta. This code block controls the logic for basically all distributions but its unclear what exactly its doing, or why.

For example whats cls_dict, how is it created, why is it needed?
https://github.com/pymc-devs/pymc/blob/main/pymc/distributions/distribution.py#L76

Note: This not a beginner issue, one of the core devs should do it to ensure its fully descriptive and contains all nuances

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions