Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add management command to remove expired messages #122

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

alangsto
Copy link
Member

COSMO-554

This PR adds a management command that can be used to delete messages that have passed an expiration period (defined by LEARNING_ASSISTANT_MESSAGES_EXPIRY).

@alangsto alangsto force-pushed the alangsto/add_management_command branch from c9a70f3 to 368b165 Compare October 31, 2024 14:47
Copy link

github-actions bot commented Oct 31, 2024

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  learning_assistant/management/commands
  retire_user_messages.py
  learning_assistant/management/commands/tests
  test_retire_user_messages.py
Project Total  

This report was generated by python-coverage-comment-action

Copy link
Member

@schenedx schenedx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@alangsto alangsto force-pushed the alangsto/add_management_command branch from 368b165 to 5651c80 Compare October 31, 2024 17:19
@alangsto alangsto merged commit 9a4f62d into main Oct 31, 2024
4 checks passed
@alangsto alangsto deleted the alangsto/add_management_command branch October 31, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants