mirror of
https://github.com/opencultureconsulting/openrefine-client.git
synced 2025-02-23 00:00:17 +01:00
Merge pull request #1 from armisael/patch-1
allow for extra parameters in new_project
This commit is contained in:
commit
101a226a4f
@ -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),
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user