/usr/lib/python3/dist-packages/pytds/extensions.py is in python3-tds 1.8.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #: Transaction can read uncommitted data
ISOLATION_LEVEL_READ_UNCOMMITTED = 1
#: Transaction can read only committed data, will block on attempt
#: to read modified uncommitted data
ISOLATION_LEVEL_READ_COMMITTED = 2
#: Transaction will place lock on read records, other transactions
#: will block trying to modify such records
ISOLATION_LEVEL_REPEATABLE_READ = 3
#: Transaction will lock tables to prevent other transactions
#: from inserting new data that would match selected recordsets
ISOLATION_LEVEL_SERIALIZABLE = 4
#: Allows non-blocking consistent reads on a snapshot for transaction without
#: blocking other transactions changes
ISOLATION_LEVEL_SNAPSHOT = 5
|