#NEWLINE# def _create_term( self , key , dfn ) : #NEWLINE# #INDENT# if isinstance ( self , dict ) : #NEWLINE# #INDENT# iri = dfn . get ( ID_KEY ) #NEWLINE# coercion = dfn . get ( TYPE_KEY ) #NEWLINE# container = dfn . get ( CONTAINER_KEY ) #NEWLINE# if ( ( not container ) and ( dfn . get ( LIST_KEY ) is True ) ) : #NEWLINE# #INDENT# container = LIST_KEY #NEWLINE# #UNINDENT# return Term ( iri , key , coercion , container ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# iri = self . expand ( dfn ) #NEWLINE# return Term ( iri , key )