

def _get_min_depth_interaction(self, txn, room_id):
    min_depth = txn._simple_select_one_onecol_txn(txn, table='room_depth', keyvalues={
        'room_id': room_id,
    }, retcol='min_depth', allow_none=True)
    return (int(min_depth) if (min_depth is not None) else None)

dataset/ETHPy150Open matrix-org/synapse/synapse/storage/event_federation.py EventFederationStore._get_min_depth_interaction/VarMisuse@16/26 `self`->`txn`