Skip to content

Commit 8a28fad

Browse files
committed
Fix typo annotations
1 parent f295288 commit 8a28fad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pymc/backends/arviz.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@
2525

2626
from pymc.aesaraf import extract_obs_data
2727
from pymc.distributions import logpt
28-
from pymc.model import Model, modelcontext
28+
from pymc.model import modelcontext
2929
from pymc.util import get_default_varnames
3030

3131
if TYPE_CHECKING:
3232
from typing import Set # pylint: disable=ungrouped-imports
3333

3434
from pymc.backends.base import MultiTrace # pylint: disable=invalid-name
35+
from pymc.model import Model
3536

3637
___all__ = [""]
3738

@@ -41,7 +42,7 @@
4142
Var = Any # pylint: disable=invalid-name
4243

4344

44-
def find_observations(model: Model) -> Optional[Dict[str, Var]]:
45+
def find_observations(model: Optional["Model"]) -> Optional[Dict[str, Var]]:
4546
"""If there are observations available, return them as a dictionary."""
4647
if model is None:
4748
return None

0 commit comments

Comments
 (0)