optimizely / optimizely-client-python

Optimizely's Python client library is an interface to its REST API.
MIT License
20 stars 12 forks source link

Updating projects #9

Closed wlowry88 closed 8 years ago

wlowry88 commented 9 years ago

Hi Developers!

I have been using the python client with pretty great success so far. However, it seems like I can't update and save groups.

An example: after authenticating (I can see all the projects), Neither:

project = client.Projects.get(3163460041) project.project_javascript = "alert('yo')" project.save()

nor:

client.Projects.update(3163460041, {'project_name': "New Name"})

Neither will update.

There are no exceptions being thrown or any errors. I have been able to create projects with the python client and love the ease of it to keep things on the server.

Was hoping you might have an idea of how to help! Best, Will

rwsmith commented 9 years ago

Hi @wlowry88, I think the latest commit might have fixed your issue. Can you give it a try? Thanks!

wlowry88 commented 9 years ago

@rwsmith Yes, @lucasoptimizely was great and fixed it!

Thanks!