Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
format
  • Loading branch information
crflynn committed Oct 2, 2020
commit 9c55e999defb4bfbad1761ee751fe88df0bae3a8
Original file line number Diff line number Diff line change
Expand Up @@ -504,14 +504,10 @@ def _instrument_class_method(
)
else:
setattr(
estimator,
"_original_" + method_name,
(estimator, class_attr),
estimator, "_original_" + method_name, (estimator, class_attr),
)
setattr(
estimator,
method_name,
self.spanner(class_attr, estimator),
estimator, method_name, self.spanner(class_attr, estimator),
)

def _function_wrapper(self, function):
Expand Down