<div dir="ltr"><div dir="ltr"><div><div>Hi Vitalii,<br><br></div>To avoid cyclic imports, One way I can think of is defer the import of brick_libs at the beginning of the module. <br></div>Instead load the brick_libs when needed ( within the definition  ).</div><div dir="ltr"><br></div><div>Regards,</div><div>Vijay A<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 31, 2018 at 5:41 PM, Vitalii Koriakov <span dir="ltr">&lt;<a href="mailto:vkoriako@redhat.com" target="_blank">vkoriako@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello guys.<br>
Faced such problem: we have 2 modules with circular import: brickmux_ops.py and brick_libs.py. They imports each other.<br>
So it need to be fixed in some way. I`v made temporary fixes where I disable a method which uses those import,<br>
but still we need to solve this, coz its architecture issue.<br>
<br>
Regards, Vitalii<br>
</blockquote></div><br></div>