Completed
Pull Request — master (#388)
by
unknown
35s
created

DefaultVerbTransformer   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A trans() 0 2 1
1
class DefaultVerbTransformer(object):
2
    verb_map = {}
3
4
    def trans(self, value):
5
        return self.verb_map.get(value, value)
6