#NEWLINE# def toSignature( self , docs ) : #NEWLINE# #INDENT# sig = docs [ 'signature' ] #NEWLINE# return ttypes . Signature ( sig . aid , ttypes . DateInfo ( sig . created . day , sig . created . month , sig . created . year , sig . created . hour , sig . created . minute , sig . created . second ) , sig . creator , '' )