cli/streamingphish/streamingphish/database.py
def fetch_classifier(self, classifier_name):
        """
        Fetches the name of the classifier to look for in the database.

        Args:
            classifier_name (string): Name of classifier to be fetched.

        Returns:
            result (dictionary): Contains metrics and bytes for classifier, feature vector, etc.
        """
        result = self._classifiers.find_one({classifier_name: {"$exists": True}})
        return result

        Fetches the name of the classifier to look for in the database.

        Args:
            classifier_name (string): Name of classifier to be fetched.

        Returns:
            result (dictionary): Contains metrics and bytes for classifier, feature vector, etc.
        
Fetches the name of the classifier to look for in the database.
Fetches the name of the classifier to look for in the database .
def fetch_classifier(self, classifier_name):
        result = self._classifiers.find_one({classifier_name: {"$exists": True}})
        return result
def fetch_classifier ( self , classifier_name ) : result = self . _classifiers . find_one ( { classifier_name : { "$exists" : True } } ) return result
Fetches the name of the classifier to look for in the database.
Fetches the name of the classifier to look for in the database .
"""
        Fetches the name of the classifier to look for in the database.

        Args:
            classifier_name (string): Name of classifier to be fetched.

        Returns:
            result (dictionary): Contains metrics and bytes for classifier, feature vector, etc.
        """
result (dictionary): Contains metrics and bytes for classifier, feature vector, etc.
result ( dictionary ) : Contains metrics and bytes for classifier feature vector etc .
self
classifier_name
Name of classifier to be fetched.
Name of classifier to be fetched .