Test Failed
Pull Request — master (#595)
by
unknown
13:42
created

tabpy.tabpy_server.handlers.no_op_auth_handler   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 7
dl 0
loc 9
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
from pyarrow.flight import ServerAuthHandler
2
3
class NoOpAuthHandler(ServerAuthHandler):
4
    def authenticate(self, outgoing, incoming):
5
        pass
6
    
7
    def is_valid(self, token):
8
        return ""
9