From 2d94ac4e36cdba1e29fa0e05a844587f2b74f711 Mon Sep 17 00:00:00 2001 From: Stefano Parmesan Date: Tue, 12 Aug 2014 11:34:17 +0200 Subject: [PATCH] allow for extra parameters in new_project --- google/refine/refine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google/refine/refine.py b/google/refine/refine.py index caf21bc..c7c9b91 100644 --- a/google/refine/refine.py +++ b/google/refine/refine.py @@ -234,9 +234,9 @@ class Refine: # the new APIs requires a json in the 'option' POST or GET argument # POST is broken at the moment, so we send it in the URL - new_style_options = { + new_style_options = dict(opts, **{ 'encoding': s(encoding), - } + }) params = { 'options': json.dumps(new_style_options), }