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

Method authenticate

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

Source from the content-addressed store, hash-verified

607 self.token = b''
608
609 def authenticate(self, outgoing, incoming):
610 outgoing.write(self.username)
611 outgoing.write(self.password)
612 self.token = incoming.read()
613
614 def get_token(self):
615 return self.token

Callers

nothing calls this directly

Calls 2

writeMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected