@implementer(IDroneModelApp)
def AdaptAppInstanceToApp(ai):
    return App(ai.app.name)
I convert an AppInstance to an App
dataset/ETHPy150Open OrbitzWorldwide/droned/droned/lib/droned/models/app.py/AdaptAppInstanceToApp