We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b512717 commit ec0597fCopy full SHA for ec0597f
pymc/sampling/forward.py
@@ -20,6 +20,7 @@
20
from collections.abc import Callable, Iterable, Sequence
21
from typing import (
22
Any,
23
+ Literal,
24
TypeAlias,
25
cast,
26
overload,
@@ -367,7 +368,7 @@ def sample_prior_predictive(
367
368
model: Model | None = None,
369
var_names: Iterable[str] | None = None,
370
random_seed: RandomState = None,
- return_inferencedata: bool = True,
371
+ return_inferencedata: Literal[True] = True,
372
idata_kwargs: dict | None = None,
373
compile_kwargs: dict | None = None,
374
samples: int | None = None,
@@ -378,7 +379,7 @@ def sample_prior_predictive(
378
379
380
381
- return_inferencedata: bool = False,
382
+ return_inferencedata: Literal[False] = False,
383
384
385
0 commit comments