Skip to content

Commit 9ed8c70

Browse files
committed
remove deprecated printing api
1 parent 84a540f commit 9ed8c70

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

pytensor/printing.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import logging
55
import os
66
import sys
7-
import warnings
87
from abc import ABC, abstractmethod
98
from contextlib import contextmanager
109
from copy import copy
@@ -120,7 +119,6 @@ def debugprint(
120119
print_destroy_map: bool = False,
121120
print_view_map: bool = False,
122121
print_fgraph_inputs: bool = False,
123-
ids: Optional[IDTypesType] = None,
124122
) -> Union[str, TextIO]:
125123
r"""Print a graph as text.
126124
@@ -193,14 +191,6 @@ def debugprint(
193191
else:
194192
_file = file
195193

196-
if ids is not None:
197-
warnings.warn(
198-
"`ids` is deprecated; use `id_type` instead.",
199-
DeprecationWarning,
200-
stacklevel=2,
201-
)
202-
id_type = ids
203-
204194
if done is None:
205195
done = dict()
206196

0 commit comments

Comments
 (0)