#NEWLINE# def create_lig( self , lig , blocking = True , verbose = False ) : #NEWLINE# #INDENT# ( task , body ) = self . _con . post ( uri [ 'lig' ] , lig ) #NEWLINE# ( task , entity ) = self . _activity . make_task_entity_tuple ( task ) #NEWLINE# if ( blocking is True ) : #NEWLINE# #INDENT# task = self . _activity . wait4task ( task , verbose = verbose ) #NEWLINE# #UNINDENT# return entity