Skip to content

Commit f0a92c5

Browse files
committed
Fix printing Model NameError and move Coord typing to pymc.typing
1 parent 5d0ecac commit f0a92c5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pymc/model/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
from pymc.blocking import DictToArrayBijection, RaveledVars
4646
from pymc.data import MinibatchOp, is_valid_observed
47-
from pymc.distributions.shape_utils import Coords, CoordValue, StrongCoords
47+
from pymc.typing import Coords, CoordValue, StrongCoords
4848
from pymc.exceptions import (
4949
BlockModelAccessError,
5050
ImputationWarning,

pymc/printing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# limitations under the License.
1414

1515

16+
from __future__ import annotations
17+
1618
import re
1719

1820
from functools import partial

0 commit comments

Comments
 (0)