Codacy correction
This commit is contained in:
committed by
Nicola Demo
parent
ea3d1924e7
commit
dd43c8304c
@@ -5,6 +5,7 @@ from ..label_tensor import LabelTensor
|
||||
from ..graph import Graph
|
||||
from ..utils import check_consistency
|
||||
|
||||
|
||||
class DataConditionInterface(ConditionInterface):
|
||||
"""
|
||||
Condition for data. This condition must be used every
|
||||
@@ -29,4 +30,4 @@ class DataConditionInterface(ConditionInterface):
|
||||
check_consistency(value, (LabelTensor, Graph, torch.Tensor))
|
||||
DataConditionInterface.__dict__[key].__set__(self, value)
|
||||
elif key in ('_problem', '_condition_type'):
|
||||
super().__setattr__(key, value)
|
||||
super().__setattr__(key, value)
|
||||
|
||||
Reference in New Issue
Block a user