training_data   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 5
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A TrainingData.__init__() 0 3 1
1
class TrainingData:
2
    def __init__(self, text: str, categories: list[str]):
3
        self.text = text
4
        self.categories = categories