Skip to content

Commit 63cc0ca

Browse files
committed
remove unused internal argument
1 parent aee9de7 commit 63cc0ca

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pytensor/compile/function/types.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ def _constructor_Function(maker, input_storage, inputs_data, trust_input=False):
11581158
if not config.unpickle_function:
11591159
return None
11601160

1161-
f = maker.create(input_storage, trustme=True)
1161+
f = maker.create(input_storage)
11621162
assert len(f.input_storage) == len(inputs_data)
11631163
for container, x in zip(f.input_storage, inputs_data):
11641164
assert (
@@ -1574,7 +1574,7 @@ def __init__(
15741574
for i in self.inputs
15751575
]
15761576

1577-
def create(self, input_storage=None, trustme=False, storage_map=None):
1577+
def create(self, input_storage=None, storage_map=None):
15781578
"""
15791579
Create a function.
15801580
@@ -1584,9 +1584,6 @@ def create(self, input_storage=None, trustme=False, storage_map=None):
15841584
A list matching the inputs list and providing default values if the
15851585
default for an input is None, then that input is a required input.
15861586
For an input with an update, the default acts as initialization.
1587-
trustme
1588-
Disables some exceptions, used internally.
1589-
15901587
"""
15911588

15921589
if input_storage is None:

0 commit comments

Comments
 (0)