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

tabpy.tabpy_server.handlers.no_op_auth_handler   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 66.67%

Importance

Changes 0
Metric Value
wmc 2
eloc 7
dl 0
loc 9
ccs 4
cts 6
cp 0.6667
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A NoOpAuthHandler.authenticate() 0 2 1
A NoOpAuthHandler.is_valid() 0 2 1
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