set_session() params documented in a more Python-friendly way