Skip to content

Commit d3759b8

Browse files
committed
Fix circular import of Model in printing.py
1 parent 9444946 commit d3759b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pymc/printing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515

1616
import re
17+
1718
from functools import partial
1819
from typing import TYPE_CHECKING
1920

@@ -303,6 +304,7 @@ def _default_repr_pretty(obj: TensorVariable | Model, p, cycle):
303304
try:
304305
# register our custom pretty printer in ipython shells
305306
import IPython
307+
306308
from pymc.model.core import Model
307309

308310
IPython.lib.pretty.for_type(TensorVariable, _default_repr_pretty)

0 commit comments

Comments
 (0)