Hi Roman,

Can you please include some code you use to invoke the mentioned function?

I assume you might be calling it in the context that we were not expecting.

Thanks,
Artem

----
typed from mobile, auto-correct typos assumed
----

On Wed, 18 Nov 2020, 19:55 Roman Budnyk, <r.m.budnik@gmail.com> wrote:
Hello dear developers,

I was trying to update image data by calling method update_image_properties. Each time I was facing the error: TypeError: existing() argument after ** must be a mapping, not str

I did small research in the source code and found a strange solution. 
Could you please check this place in the code:
class BaseImageProxy, method update_image_properties (path /openstack/_base_proxy.py):

image.png
When I changed it to the below - everything works (with name, id or image instance):
image.png
could you please check on your end, why the construction if image is None is using and how can we execute the code self._connection.get_image(image) if None is passing as the argument.

Many thanks!
Regards,
Roman