Skip to content

Commit

Permalink
Update IExplainTask signature
Browse files Browse the repository at this point in the history
  • Loading branch information
negvet committed Mar 27, 2023
1 parent e5e254b commit 3fd75ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions otx/api/usecases/tasks/interfaces/explain_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import abc

from otx.api.entities.datasets import DatasetEntity
from otx.api.entities.inference_parameters import InferenceParameters
from otx.api.entities.explain_parameters import ExplainParameters


class IExplainTask(metaclass=abc.ABCMeta):
Expand All @@ -18,7 +18,7 @@ class IExplainTask(metaclass=abc.ABCMeta):
def explain(
self,
dataset: DatasetEntity,
explain_parameters: InferenceParameters,
explain_parameters: ExplainParameters,
) -> DatasetEntity:
"""This is the method that is called upon explanation.
Expand Down

0 comments on commit 3fd75ae

Please sign in to comment.