◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
generation |
|
) |
| |
◆ inc_transaction_id()
def inc_transaction_id |
( |
|
self | ) |
|
◆ mark_dirty()
Mark this session as dirty.
A server session is marked dirty when a command fails with a network
error. Dirty sessions are later discarded from the server session pool.
◆ timed_out()
def timed_out |
( |
|
self, |
|
|
|
session_timeout_minutes |
|
) |
| |
◆ transaction_id()
def transaction_id |
( |
|
self | ) |
|
◆ dirty
◆ generation
◆ last_use
◆ session_id
The documentation for this class was generated from the following file:
- /home/passerat/Stage/flaskProject/venv/lib/python3.8/site-packages/pymongo/client_session.py