(self, cluster_name)
return ClusterModel.query.filter_by(cluster_name=cluster_name).one_or_none()
Fetches a cluster object from the DB
        :param cluster_id: cluster name 
        :return:
Fetches a cluster object from the DB
        :param cluster_id: cluster name 
        :return:
Fetches a cluster object from the DB : param cluster_id : cluster name : return :
def get_by_id(self, cluster_name):
        """
        Fetches a cluster object from the DB
        :param cluster_id: cluster name 
        :return:
        """
        return ClusterModel.query.filter_by(cluster_name=cluster_name).one_or_none()
def get_by_id ( self , cluster_name ) : return ClusterModel . query . filter_by ( cluster_name = cluster_name ) . one_or_none ( )