Passed
Push — master ( fad680...3bdfcd )
by
unknown
13:18
created

NoOpAuthHandler.authenticate()   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1.125

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 2
ccs 1
cts 2
cp 0.5
rs 10
c 0
b 0
f 0
cc 1
nop 3
crap 1.125
1 1
from pyarrow.flight import ServerAuthHandler
2
3 1
class NoOpAuthHandler(ServerAuthHandler):
4 1
    def authenticate(self, outgoing, incoming):
5
        pass
6
    
7 1
    def is_valid(self, token):
8
        return ""
9