Skip to content

2.0.x: Avoid dialog cyclic import

Valentin Valls requested to merge 2.0.x-fix-dialog-cyclic-import into 2.0.x

Found out that we can create cyclic dependency with the dialogs.

https://gitlab.esrf.fr/ui/daiquiri/-/jobs/1081310

This is due to bliss.shell.dialog.__init__ which have to be aware of every existing dialogs.

This is not needed. So i have moved to __init__ into a module all_dialogs, so what it is lazy loaded only at the tine we need to access to this dialogs.

Edited by Valentin Valls

Merge request reports