#NEWLINE# @ implementer ( IDroneModelAppProcess ) #NEWLINE# def AdaptAppInstanceToAppProcess( ai ) : #NEWLINE# #INDENT# 'I convert an AppInstance to an AppProcess.\n\n       @param L{IDroneModelAppInstance} provider.\n       @return L{IDroneModelAppProcess} provider.\n    ' #NEWLINE# pid = ai . pid #NEWLINE# server = ai . server #NEWLINE# ap = AppProcess ( server , pid ) #NEWLINE# ai . inode = ap . inode #NEWLINE# return ap