def ensure_window(self):
        import kivy.core.window  # NOQA
        if not self.window:
            Logger.critical('App: Unable to get a Window, abort.')
            sys.exit(1)
Retrieve the the corresponding team to the user's uid.
dataset/ETHPy150Open kivy/kivy/kivy/base.py/EventLoopBase.ensure_window--crossover with--dataset/ETHPy150Open IceCTF/ctf-platform/api/api/user.py/get_team