Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pymc_extras/prior.py
Original file line number Diff line number Diff line change
Expand Up @@ -1575,9 +1575,9 @@ def __getattr__(name: str):
samples = dist.sample_prior(coords={"channel": ["C1", "C2", "C3"]})

"""
# Protect against doctest
if name == "__wrapped__":
return
# Ignore Python internal attributes needed for introspection
if name.startswith("__"):
raise AttributeError(name)

_get_pymc_distribution(name)
return partial(Prior, distribution=name)