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

Method authenticate

python/pyarrow/tests/test_flight.py:568–571  ·  view source on GitHub ↗
(self, outgoing, incoming)

Source from the content-addressed store, hash-verified

566 self.token = None
567
568 def authenticate(self, outgoing, incoming):
569 auth = self.basic_auth.serialize()
570 outgoing.write(auth)
571 self.token = incoming.read()
572
573 def get_token(self):
574 return self.token

Callers

nothing calls this directly

Calls 2

writeMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected