Skip to content

Commit

Permalink
feat: Updated agents-api/agents_api/models/entry/d
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] committed Apr 13, 2024
1 parent 4199c15 commit 2e0dc2e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions agents-api/agents_api/models/entry/delete_entries.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@


def delete_entries_query(session_id: UUID) -> pd.DataFrame:
"""
Constructs and returns a datalog query for deleting entries associated with a given session ID from the 'cozodb' database.
Parameters:
- session_id (UUID): The unique identifier of the session whose entries are to be deleted.
Returns:
- pd.DataFrame: A DataFrame containing the results of the deletion query.
"""
query = """
{
input[session_id] <- [[
Expand Down

0 comments on commit 2e0dc2e

Please sign in to comment.