MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / SessionAttribute

Class SessionAttribute

asyncpg/connect_utils.py:1201–1207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1199
1200
1201class SessionAttribute(str, enum.Enum):
1202 any = 'any'
1203 primary = 'primary'
1204 standby = 'standby'
1205 prefer_standby = 'prefer-standby'
1206 read_write = "read-write"
1207 read_only = "read-only"
1208
1209
1210def _accept_in_hot_standby(should_be_in_hot_standby: bool):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected