class RavenUI(): # no type hint because of circular dependencies window = None @staticmethod def update_ui(): RavenUI.window.update()