Skip to content

use_slave context manager & decorator

Latest
Compare
Choose a tag to compare
@joconor joconor released this 23 Jun 20:48

Implements a 'use_slave' context manager and decorator that can be used in cases where the usual behavior would be to pin to master, such as when the request method is POST, but you know you're not doing any writing.