canonical / pylxd

Python module for LXD
https://pylxd.readthedocs.io/en/latest/
Apache License 2.0
251 stars 133 forks source link

Can't set or update profile description #565

Closed hadmut closed 7 months ago

hadmut commented 8 months ago

Hi,

following https://pylxd.readthedocs.io/en/latest/profiles.html and testing around with 2.2.10-1 coming with ubuntu 22.04, there seems to be no way to set or change the description of a profile.

While, in contrast, projects take a description= parameter for creation and do accept project.description = descr project.save() to change it later, both working well,

there seems to be no such thing for profiles.

hadmut commented 8 months ago

sorry, made a mistake, profile.description = descr profile.save() works, but creation doesn't take the argument.