MeltwaterArchive / datasift-python

Python client to interface with DataSift
http://datasift.com/
MIT License
43 stars 28 forks source link

push.update fails to update subscription's output params #50

Closed msambarino closed 9 years ago

msambarino commented 9 years ago

I've been unable to update a subscription's output params by calling client.push.update. I receive a response with status code 200 but the output_params of the subscription remain unchanged.

I'm passing the following dict to push.update (sensible values edited away)

output_params: {
        'host': 'host.example.com',
        'port': 22,
        'auth': {
            'username': 'my_username',
            'password': 'my_password'
        },
        'directory': '/path/to/datasift/files',
        'file_prefix': 'datasift',
        'format': 'json_meta',
        'delivery_frequency': 300,
        'max_size': 10485760,
        'mark_in_progress': 0
    }

A prior call to push.validate with this same dict returns Validation Successful.

paulmozo commented 9 years ago

This should now be resolved