def get_room(self, room_id):
        return self._simple_select_one(
            table="rooms",
            keyvalues={"room_id": room_id},
            retcols=("room_id", "is_public", "creator"),
            desc="get_room",
            allow_none=True,
        )
Retrieve a room.
dataset/ETHPy150Open matrix-org/synapse/synapse/storage/room.py/RoomStore.get_room