MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / session_ids

Function session_ids

test/asynchronous/test_session.py:80–81  ·  view source on GitHub ↗
(client)

Source from the content-addressed store, hash-verified

78
79
80def session_ids(client):
81 return [s.session_id for s in copy.copy(client._topology._session_pool)]
82
83
84class TestSession(AsyncIntegrationTest):

Callers 5

asyncSetUpMethod · 0.70
asyncTearDownMethod · 0.70
_test_opsMethod · 0.70
test_aggregate_errorMethod · 0.70
_test_cursor_helperMethod · 0.70

Calls 1

copyMethod · 0.80

Tested by

no test coverage detected