ovh / python-ovh

Thin wrapper around OVH's APIs. Handles all the hard work including credential creation and requests signing.
https://pypi.org/project/ovh/
Other
298 stars 81 forks source link

"target" variable #24

Closed antoinerrr closed 8 years ago

antoinerrr commented 8 years ago

Hi How to use the "target" argument of the api (POST /domain/zone/$/record) with this wrapper ?

client.post('/domain/zone/%s/record' % ndd,
        fieldType="TXT",
        subDomain=sub,
        _target=token
    )

return: TypeError: post() got multiple values for keyword argument '_target'

And without the "_" = error

Thanks

antoinerrr commented 8 years ago

Nether-mind my fault.