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

Class NoopAuthHandler

python/pyarrow/tests/test_flight.py:618–629  ·  view source on GitHub ↗

A no-op auth handler.

Source from the content-addressed store, hash-verified

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

Callers 1

test_flight.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected