(
        self, user, sketch, description=None, query_string=None,
        query_filter=None, query_dsl=None, parent=None)
Initialize the SearchHistory object

        Args:
            user (User): The user who owns the search history.
            sketch (Sketch): The sketch for the search history.
            description (str): Description for the search history entry.
            query_string (str): The query string.
            query_filter (str): The filter to apply (JSON format as string).
            query_dsl (str): A query DSL document (JSON format as string).
            parent (SearchHistory): Reference to parent search history entry.
Initialize the SearchHistory object
Initialize the SearchHistory object
def __init__(
        self, user, sketch, description=None, query_string=None,
        query_filter=None, query_dsl=None, parent=None):
        """"Initialize the SearchHistory object

        Args:
            user (User): The user who owns the search history.
            sketch (Sketch): The sketch for the search history.
            description (str): Description for the search history entry.
            query_string (str): The query string.
            query_filter (str): The filter to apply (JSON format as string).
            query_dsl (str): A query DSL document (JSON format as string).
            parent (SearchHistory): Reference to parent search history entry.
        """
        self.user = user
        self.sketch = sketch
        self.description = description
        self.query_string = query_string
        self.query_filter = query_filter
        self.query_dsl = query_dsl
        self.parent = parent
def __init__ ( self , user , sketch , description = None , query_string = None , query_filter = None , query_dsl = None , parent = None ) : self . user = user self . sketch = sketch self . description = description self . query_string = query_string self . query_filter = query_filter self . query_dsl = query_dsl self . parent = parent