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

Method pin_txn

pymongo/asynchronous/pool.py:222–224  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

220 return timeout
221
222 def pin_txn(self) -> None:
223 self.pinned_txn = True
224 assert not self.pinned_cursor
225
226 def pin_cursor(self) -> None:
227 self.pinned_cursor = True

Callers 1

pinMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected