Skip to content

Commit

Permalink
Use sketch_url instead of ID (#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchop authored Aug 23, 2024
1 parent 8ef4bb6 commit 25bac89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dftimewolf/lib/containers/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ class TimesketchQuery(TimesketchSavedSearch):
minutes_before: Number of minutes to include before the date.
minutes_after: Number of minutes to include after the date.
results: The results of the query in a given sketch ID.
sketch_id: The sketch ID associated with the query.
sketch_url: URL to the sketch associated with the query results
"""

CONTAINER_TYPE = "timesketch_query"
Expand All @@ -875,11 +875,11 @@ def __init__(
date: Optional[datetime.datetime] = None,
minutes_before: int = 5,
minutes_after: int = 5,
sketch_id: int | None = None,
sketch_url: str | None = None,
results: pandas.DataFrame | None = None,
):
super().__init__(
name, description, query, date, minutes_before, minutes_after
)
self.sketch_id = sketch_id
self.sketch_url = sketch_url
self.results = results

0 comments on commit 25bac89

Please sign in to comment.