MCPcopy Create free account
hub / github.com/apache/arrow / NoopAuthHandler

Class NoopAuthHandler

python/pyarrow/tests/test_flight.py:616–627  ·  view source on GitHub ↗

A no-op auth handler.

Source from the content-addressed store, hash-verified

614
615
616class NoopAuthHandler(ServerAuthHandler):
617 """A no-op auth handler."""
618
619 def authenticate(self, outgoing, incoming):
620 """Do nothing."""
621
622 def is_valid(self, token):
623 """
624 Returning an empty string.
625 Returning None causes Type error.
626 """
627 return ""
628
629
630def case_insensitive_header_lookup(headers, lookup_key):

Callers 1

test_flight.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected