Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 675 Bytes

kwargs.rst

File metadata and controls

25 lines (19 loc) · 675 Bytes

Pass-Through Keyword Arguments

JSON Config stays out of your way as a Python developer. There's no magic, you can use Config context manager to pass any valid keyword arguments to the functions below.

if readable or writable:
  1. click.get_app_dir
if readable:
  1. io.open if PY2 else open
  2. json.load
if box:
  1. box.Box
if writable:
  1. io.open if PY2 else open
  2. json.dump

The only limitation is when there is when there is a name collision, currently the only known collision is the cls argument, which is used in both json.load and json.dump.