Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias alias identifier alias identifier alias identifier alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias identifier ImportFrom alias identifier alias identifier alias identifier Import alias ImportFrom alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Set NameLoad Assign NameStore Set NameLoad NameLoad NameLoad Assign NameStore Dict NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr While NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpAdd AttributeLoad NameLoad attr NameLoad If CompareGtE NameLoad NameLoad body Assign NameStore BinOpSub NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore BinOpAdd ListLoad Call NameLoad Str AttributeLoad NameLoad attr NameLoad orelse Assign NameStore ListLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Delete SubscriptDel NameLoad Slice Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call NameLoad Str Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpSub NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad While CompareGt NameLoad Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num If NameLoad body If NameLoad body Expr Call NameLoad Str Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad orelse If CompareIsNot NameLoad NameLoad body Raise Call NameLoad Str AugAssignSub NameStore Call NameLoad NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad If CompareGt NameLoad Num body Assign TupleStore NameStore NameStore NameStore Call NameLoad TupleLoad AttributeLoad NameLoad attr TupleLoad TupleLoad Num While UnaryOpNot NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad TupleLoad AttributeLoad NameLoad attr TupleLoad TupleLoad Num Assign TupleStore NameStore AttributeStore NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num While CompareNotEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Num Assign TupleStore NameStore Call NameLoad Str NameLoad If CompareGt NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Yield NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Pass decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad TryExcept body Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler type TupleLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Raise Call NameLoad Call AttributeLoad NameLoad attr Str Str decorator_list Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr While UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults TupleLoad NameLoad body Expr Str If NameLoad body Expr Call NameLoad Str SubscriptLoad NameLoad Index NameLoad Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr While UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call NameLoad Assign NameStore AttributeLoad Call NameLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Raise Expr Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num For TupleStore NameStore NameStore Call NameLoad body If NameLoad body Expr Call NameLoad Str SubscriptLoad NameLoad Index NameLoad Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad If CompareIn NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Str Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass orelse Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body If NameLoad body Expr Call NameLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr BoolOpOr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If Call NameLoad AttributeLoad NameLoad attr body With Call NameLoad AttributeLoad NameLoad attr NameStore body For NameStore NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq NameLoad NameLoad body Return CompareEq NameLoad NameLoad TryExcept body Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Assign NameStore Call NameLoad AttributeLoad NameLoad attr BinOpBitOr BinOpBitOr NameLoad NameLoad NameLoad Num If Call NameLoad NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad orelse Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Str Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad Str Expr Call NameLoad NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str Assign NameStore BoolOpOr NameLoad NameLoad If NameLoad body Expr Call NameLoad Str NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If BoolOpOr CompareEq AttributeLoad NameLoad attr Num CompareEq AttributeLoad NameLoad attr Num body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad orelse Raise If BoolOpAnd NameLoad NameLoad body If NameLoad body Expr Call NameLoad Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword IfExp NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call NameLoad BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num Assign AttributeStore NameLoad attr NameLoad Raise NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore ListLoad Num Num Num Num Assign NameStore BinOpAdd ListLoad NameLoad NameLoad If NameLoad body Expr Call NameLoad Str NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr GeneratorExp Call NameLoad Str NameLoad comprehension NameStore NameLoad If NameLoad body Expr Call NameLoad Str Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore Call NameLoad TupleLoad NameLoad TupleLoad TupleLoad Num While UnaryOpNot NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad TupleLoad NameLoad TupleLoad TupleLoad Num Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Num body Expr Call NameLoad Str Raise Call NameLoad Str If CompareEq NameLoad Num body If NameLoad body Expr Call NameLoad Str Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad orelse Expr Call NameLoad Str Raise Call NameLoad BinOpMod Str NameLoad Assign TupleStore NameStore Call NameLoad Str NameLoad If NameLoad body Expr Call NameLoad Str NameLoad If CompareEq NameLoad Num body If NameLoad body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr orelse Return Call NameLoad NameLoad keyword NameLoad NameLoad decorator_list
N/A __future__ division base64 b64encode collections deque io BytesIO N/A logging os makedirs open os_open write os_write close os_close O_CREAT O_APPEND O_WRONLY os.path dirname isfile select select socket create_connection SHUT_RDWR error SocketError struct pack struct_pack unpack struct_unpack unpack_from struct_unpack_from N/A errno constants DEFAULT_PORT DEFAULT_USER_AGENT KNOWN_HOSTS MAGIC_PREAMBLE TRUST_DEFAULT TRUST_ON_FIRST_USE compat hex2 exceptions ProtocolError packstream Packer Unpacker ssl_compat SSL_AVAILABLE HAS_SNI SSLError N/A INIT N/A RESET N/A RUN N/A DISCARD_ALL / N/A PULL_ALL ? N/A SUCCESS p N/A RECORD q N/A IGNORED ~ N/A FAILURE N/A DETAIL N/A RECORD N/A SUMMARY N/A SUCCESS IGNORED FAILURE N/A message_names N/A INIT RESET RUN DISCARD_ALL PULL_ALL SUCCESS RECORD IGNORED FAILURE INIT RESET RUN DISCARD_ALL PULL_ALL SUCCESS RECORD IGNORED FAILURE N/A log N/A N/A logging getLogger neo4j.bolt N/A log_debug N/A log debug N/A log_info N/A log info N/A log_warning N/A log warning N/A log_error N/A log error ChunkChannel N/A object N/A N/A  Reader/writer for chunked data.

    .. note:: logs at DEBUG level
     N/A max_chunk_size 65535 __init__ N/A N/A self sock N/A N/A N/A N/A self socket sock N/A N/A self raw N/A BytesIO N/A N/A self output_buffer N/A N/A N/A self output_size 0 N/A N/A self _recv_buffer N/A write N/A N/A self b N/A N/A N/A  Write some bytes, splitting into chunks if necessary.
         N/A max_chunk_size N/A self max_chunk_size N/A output_buffer N/A self output_buffer N/A b N/A N/A size N/A len b N/A future_size N/A N/A self output_size size N/A N/A future_size max_chunk_size N/A N/A end N/A max_chunk_size N/A self output_size N/A N/A N/A output_buffer append N/A b N/A end N/A N/A self output_size max_chunk_size N/A b N/A b N/A end N/A N/A N/A self flush N/A N/A N/A N/A output_buffer append b N/A N/A self output_size future_size N/A b N/A flush N/A N/A self end_of_message N/A False N/A N/A  Flush everything written since the last chunk to the
        stream, followed by a zero-chunk if required.
         N/A output_buffer N/A self output_buffer N/A output_buffer N/A N/A lines N/A N/A N/A struct_pack >H N/A self output_size output_buffer N/A N/A lines N/A N/A end_of_message N/A N/A N/A N/A lines append N/A lines N/A N/A N/A N/A N/A self raw writelines lines N/A N/A N/A N/A self raw flush N/A N/A output_buffer N/A N/A N/A self output_size 0 N/A send N/A N/A self N/A N/A N/A  Send all queued messages to the server.
         N/A data N/A N/A N/A self raw getvalue N/A __debug__ N/A N/A N/A log_debug C: %s N/A N/A : join N/A map hex2 data N/A N/A N/A N/A self socket sendall data N/A N/A N/A N/A self raw seek N/A N/A N/A self raw truncate 0 N/A _recv N/A N/A self size N/A N/A N/A remaining N/A size N/A len N/A self _recv_buffer N/A ready_to_read None N/A N/A remaining 0 N/A N/A b N/A N/A N/A self socket recv 8192 N/A b N/A N/A __debug__ N/A N/A N/A log_debug S: %s N/A N/A : join N/A map hex2 b N/A N/A N/A ready_to_read None N/A N/A N/A ProtocolError Server closed connection N/A remaining N/A len b N/A N/A self _recv_buffer b N/A N/A remaining 0 N/A N/A N/A ready_to_read _ _ N/A select N/A N/A self socket N/A N/A 0 N/A N/A ready_to_read N/A N/A N/A ready_to_read _ _ N/A select N/A N/A self socket N/A N/A 0 N/A N/A data N/A self _recv_buffer N/A N/A N/A self _recv_buffer N/A size N/A N/A self _recv_buffer N/A size N/A data N/A chunk_reader N/A N/A self N/A N/A N/A chunk_size -1 N/A N/A chunk_size 0 N/A N/A chunk_header N/A N/A self _recv 2 N/A N/A chunk_size N/A struct_unpack_from >H chunk_header N/A N/A chunk_size 0 N/A N/A data N/A N/A self _recv chunk_size N/A N/A data N/A N/A Response N/A object N/A N/A  Subscriber object for a full response (zero or
    more detail messages followed by one summary message).
     __init__ N/A N/A self connection N/A N/A N/A N/A self connection connection N/A N/A self complete False N/A on_record N/A N/A self values N/A N/A N/A N/A on_success N/A N/A self metadata N/A N/A N/A N/A on_failure N/A N/A self metadata N/A N/A N/A N/A on_ignored N/A N/A self metadata N/A None N/A N/A N/A N/A Connection N/A object N/A N/A  Server connection through which all protocol messages
    are sent and received. This class is designed for protocol
    version 1.

    .. note:: logs at INFO level
     __init__ N/A N/A self sock N/A config N/A N/A N/A self defunct False N/A N/A self channel N/A ChunkChannel sock N/A N/A self packer N/A Packer N/A self channel N/A N/A self responses N/A deque N/A N/A self closed False N/A user_agent N/A N/A config get user_agent DEFAULT_USER_AGENT N/A N/A isinstance user_agent bytes N/A N/A user_agent N/A N/A user_agent decode UTF-8 N/A N/A self user_agent user_agent N/A N/A N/A N/A self auth_dict N/A vars N/A config N/A auth N/A N/A N/A N/A KeyError TypeError N/A N/A N/A self auth_dict N/A N/A N/A self der_encoded_server_certificate N/A N/A config get der_encoded_server_certificate on_failure N/A N/A metadata N/A N/A N/A N/A ProtocolError N/A N/A metadata get message Inititalisation failed N/A N/A response N/A Response self N/A N/A response on_failure on_failure N/A N/A N/A self append INIT N/A N/A self user_agent N/A self auth_dict response response N/A N/A N/A self send N/A N/A N/A response complete N/A N/A N/A N/A self fetch N/A __del__ N/A N/A self N/A N/A N/A N/A N/A self close N/A append N/A N/A self signature fields response N/A N/A None N/A N/A  Add a message to the outgoing queue.

        :arg signature: the signature of the message
        :arg fields: the fields of the message as a tuple
        :arg response: a response object to handle callbacks
         N/A __debug__ N/A N/A N/A log_info C: %s %s N/A message_names N/A signature N/A N/A join N/A map repr fields N/A N/A N/A N/A self packer pack_struct_header N/A len fields signature N/A field fields N/A N/A N/A N/A N/A self packer pack field N/A N/A N/A N/A self channel flush end_of_message True N/A N/A N/A N/A self responses append response N/A reset N/A N/A self N/A N/A N/A  Add a RESET message to the outgoing queue, send
        it and consume all remaining messages.
         N/A response N/A Response self on_failure N/A N/A metadata N/A N/A N/A N/A ProtocolError Reset failed N/A N/A N/A response on_failure on_failure N/A N/A N/A self append RESET response response N/A N/A N/A self send N/A fetch N/A self fetch N/A N/A N/A response complete N/A N/A N/A fetch N/A send N/A N/A self N/A N/A N/A  Send all queued messages to the server.
         N/A N/A self closed N/A N/A N/A ProtocolError Cannot write to a closed connection N/A N/A self defunct N/A N/A N/A ProtocolError Cannot write to a defunct connection N/A N/A N/A N/A self channel send N/A fetch N/A N/A self N/A N/A N/A  Receive exactly one message from the server.
         N/A N/A self closed N/A N/A N/A ProtocolError Cannot read from a closed connection N/A N/A self defunct N/A N/A N/A ProtocolError Cannot read from a defunct connection N/A raw N/A BytesIO N/A unpack N/A N/A Unpacker raw unpack N/A N/A N/A N/A N/A raw writelines N/A N/A N/A self channel chunk_reader N/A N/A N/A ProtocolError N/A N/A N/A self defunct True N/A N/A N/A self close N/A N/A N/A N/A raw seek 0 N/A response N/A N/A self responses N/A 0 N/A N/A signature fields N/A unpack N/A N/A __debug__ N/A N/A N/A log_info S: %s %s N/A message_names N/A signature N/A N/A join N/A map repr fields N/A N/A signature SUMMARY N/A N/A N/A response complete True N/A N/A N/A N/A self responses popleft N/A N/A signature FAILURE N/A N/A N/A N/A self reset N/A handler_name N/A on_%s N/A N/A N/A message_names N/A signature lower N/A N/A N/A handler N/A getattr response handler_name N/A N/A N/A AttributeError N/A N/A N/A N/A N/A handler fields N/A N/A N/A raw close N/A close N/A N/A self N/A N/A N/A  Close the connection.
         N/A N/A N/A self closed N/A N/A __debug__ N/A N/A N/A log_info ~~ [CLOSE] N/A N/A N/A N/A N/A self channel socket close N/A N/A self closed True N/A N/A CertificateStore N/A object N/A match_or_trust N/A N/A self host der_encoded_certificate N/A N/A N/A  Check whether the supplied certificate matches that stored for the
        specified host. If it does, return ``True``, if it doesn't, return
        ``False``. If no entry for that host is found, add it to the store
        and return ``True``.

        :arg host:
        :arg der_encoded_certificate:
        :return:
         N/A N/A NotImplementedError N/A N/A PersonalCertificateStore N/A CertificateStore N/A __init__ N/A N/A self path N/A None N/A N/A N/A self path N/A path KNOWN_HOSTS N/A match_or_trust N/A N/A self host der_encoded_certificate N/A N/A N/A base64_encoded_certificate N/A b64encode der_encoded_certificate N/A N/A isfile N/A self path N/A N/A N/A open N/A self path f_in N/A N/A line f_in N/A N/A N/A known_host _ known_cert N/A N/A N/A N/A line strip partition : N/A known_cert N/A N/A known_cert encode utf-8 N/A N/A host known_host N/A N/A N/A base64_encoded_certificate known_cert N/A N/A N/A N/A makedirs N/A dirname N/A self path N/A N/A N/A OSError N/A N/A N/A f_out N/A os_open N/A self path N/A N/A O_CREAT O_APPEND O_WRONLY 384 N/A N/A isinstance host bytes N/A N/A N/A os_write f_out host N/A N/A N/A os_write f_out N/A N/A host encode utf-8 N/A N/A os_write f_out : N/A N/A os_write f_out base64_encoded_certificate N/A N/A os_write f_out N/A N/A os_close f_out N/A True N/A N/A connect N/A N/A host port ssl_context N/A None None config N/A N/A  Connect and perform a handshake and return a valid Connection object, assuming
    a protocol version can be agreed.
     N/A port N/A port DEFAULT_PORT N/A __debug__ N/A N/A N/A log_info ~~ [CONNECT] %s %d host port N/A N/A N/A s N/A create_connection N/A host port N/A N/A N/A SocketError N/A error N/A N/A N/A N/A N/A error errno 111 N/A N/A error errno 61 N/A N/A N/A ProtocolError N/A Unable to connect to %s on port %d - is the server running? N/A host port N/A N/A N/A N/A ssl_context SSL_AVAILABLE N/A N/A __debug__ N/A N/A N/A log_info ~~ [SECURE] %s host N/A N/A N/A s N/A N/A ssl_context wrap_socket s server_hostname N/A HAS_SNI host None N/A N/A N/A SSLError N/A cause N/A N/A error N/A ProtocolError N/A Cannot establish secure connection; %s N/A N/A cause args N/A 1 N/A N/A error __cause__ cause N/A error N/A N/A der_encoded_server_certificate N/A N/A s getpeercert binary_form True N/A N/A der_encoded_server_certificate None N/A N/A N/A ProtocolError When using a secure socket, the server should always provide a certificate N/A trust N/A N/A config get trust TRUST_DEFAULT N/A N/A trust TRUST_ON_FIRST_USE N/A N/A store N/A PersonalCertificateStore N/A N/A N/A N/A store match_or_trust host der_encoded_server_certificate N/A N/A N/A ProtocolError N/A Server certificate does not match known certificate for %r; check details in file %r N/A host KNOWN_HOSTS N/A N/A der_encoded_server_certificate None N/A supported_versions N/A 1 0 0 0 N/A handshake N/A N/A MAGIC_PREAMBLE supported_versions N/A __debug__ N/A N/A N/A log_info C: [HANDSHAKE] 0x%X %r MAGIC_PREAMBLE supported_versions N/A data N/A N/A join N/A N/A struct_pack >I num N/A num handshake N/A __debug__ N/A N/A N/A log_debug C: %s N/A N/A : join N/A map hex2 data N/A N/A N/A s sendall data N/A N/A ready_to_read _ _ N/A select N/A s N/A N/A 0 N/A N/A ready_to_read N/A N/A N/A ready_to_read _ _ N/A select N/A s N/A N/A 0 N/A data N/A N/A s recv 4 N/A data_size N/A len data N/A N/A data_size 0 N/A N/A N/A log_error S: [CLOSE] N/A N/A ProtocolError Server closed connection without responding to handshake N/A N/A data_size 4 N/A N/A __debug__ N/A N/A N/A log_debug S: %s N/A N/A : join N/A map hex2 data N/A N/A N/A log_error S: @*#! N/A N/A ProtocolError N/A Expected four byte handshake response, received %r instead data N/A N/A agreed_version N/A struct_unpack >I data N/A __debug__ N/A N/A N/A log_info S: [HANDSHAKE] %d agreed_version N/A N/A agreed_version 0 N/A N/A __debug__ N/A N/A N/A log_info ~~ [CLOSE] N/A N/A N/A s shutdown SHUT_RDWR N/A N/A N/A s close N/A N/A N/A Connection s der_encoded_server_certificate der_encoded_server_certificate config N/A