TypeError: put() takes exactly 2 arguments (1 given)