#NEWLINE# @ defer . inlineCallbacks #NEWLINE# def capsules( self ) : #NEWLINE# #INDENT# cs = ( yield self . session . async_capsules ( ) ) #NEWLINE# defer . returnValue ( [ ttypes . Capsule ( '' , str ( c [ 'id' ] ) , c [ 'resource_uri' ] , c [ 'title' ] , '' , ttypes . DateInfo ( ) , c [ 'size' ] , c [ 'remaining' ] , [ ] ) for c in cs ] )