<div dir="auto"><div>Hi Roman,<div dir="auto"><br></div><div dir="auto">Can you please include some code you use to invoke the mentioned function?</div><div dir="auto"><br></div><div dir="auto">I assume you might be calling it in the context that we were not expecting.</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto">Artem<br><br><div data-smartmail="gmail_signature" dir="auto">----<br>typed from mobile, auto-correct typos assumed<br>----</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 18 Nov 2020, 19:55 Roman Budnyk, <<a href="mailto:r.m.budnik@gmail.com">r.m.budnik@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Hello dear developers,<br></div><div dir="ltr"><div><br></div><div>I was trying to update image data by calling method <b>update_image_properties. </b>Each time I was facing the error: TypeError: existing() argument after ** must be a mapping, not str</div><div><br></div><div>I did small research in the source code and found a strange solution. </div><div>Could you please check this place in the code:</div><div>class BaseImageProxy, method update_image_properties (path /openstack/_base_proxy.py):</div><div><br></div><div><div><img src="cid:ii_khnlzkmb0" alt="image.png" width="504" height="152"><br></div></div><div>When I changed it to the below - everything works (with name, id or image instance):</div><div><div><img src="cid:ii_khnm2j4j1" alt="image.png" width="504" height="148"><br></div></div><div>could you please check on your end, why the construction <b>if image is None </b>is using and how can we execute the code <b>self._connection.get_image(image) </b>if None is passing as the argument.</div><div><br></div><div>Many thanks!</div><div>Regards,</div><div>Roman</div></div>
</div></div>
</blockquote></div></div></div>