mirror of
https://github.com/opencultureconsulting/openrefine-client.git
synced 2025-04-06 00:01:03 +02: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
|
# 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
|
# POST is broken at the moment, so we send it in the URL
|
||||||
new_style_options = {
|
new_style_options = dict(opts, **{
|
||||||
'encoding': s(encoding),
|
'encoding': s(encoding),
|
||||||
}
|
})
|
||||||
params = {
|
params = {
|
||||||
'options': json.dumps(new_style_options),
|
'options': json.dumps(new_style_options),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user