Skip to content

Commit b58c4c2

Browse files
committed
move the new docstring info into __init__
1 parent 2a1de92 commit b58c4c2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

causalpy/pymc_models.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@
1010
class ModelBuilder(pm.Model):
1111
"""
1212
This is a wrapper around pm.Model to give scikit-learn like API.
13-
14-
:param sample_kwargs: A dictionary of kwargs that get unpacked and passed to the
15-
:func:`pymc.sample` function. Defaults to an empty dictionary.
1613
"""
1714

1815
def __init__(self, sample_kwargs: Optional[Dict[str, Any]] = None):
16+
"""
17+
:param sample_kwargs: A dictionary of kwargs that get unpacked and passed to the
18+
:func:`pymc.sample` function. Defaults to an empty dictionary.
19+
"""
1920
super().__init__()
2021
self.idata = None
2122
self.sample_kwargs = sample_kwargs if sample_kwargs is not None else {}

0 commit comments

Comments
 (0)