MCPcopy
hub / github.com/MagicStack/asyncpg / SessionAttribute

Class SessionAttribute

asyncpg/connect_utils.py:1141–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1139
1140
1141class SessionAttribute(str, enum.Enum):
1142 any = 'any'
1143 primary = 'primary'
1144 standby = 'standby'
1145 prefer_standby = 'prefer-standby'
1146 read_write = "read-write"
1147 read_only = "read-only"
1148
1149
1150def _accept_in_hot_standby(should_be_in_hot_standby: bool):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…