#NEWLINE# @ classmethod #NEWLINE# def get_association_for_model( cls , target_model ) : #NEWLINE# #INDENT# relation_model = None #NEWLINE# if isinstance ( target_model , models . Plugin ) : #NEWLINE# #INDENT# relation_model = models . PluginDeploymentGraph #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( target_model , models . Release ) : #NEWLINE# #INDENT# relation_model = models . ReleaseDeploymentGraph #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( target_model , models . Cluster ) : #NEWLINE# #INDENT# relation_model = models . ClusterDeploymentGraph #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return relation_model