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

HOTFix : Training Instance in Notification #377

Merged
merged 5 commits into from
Mar 25, 2025

Conversation

kshitijrajsharma
Copy link
Member

@kshitijrajsharma kshitijrajsharma commented Mar 19, 2025

What does this PR do ?

  • This PR adds new field in the usernotification table called training
  • API response is updated to include training_model so that it can be used to create onclick on frontend
  • Also adds notification when user cancels the training

Example response :

    {
      "id": 91,
      "is_read": false,
      "created_at": "2025-03-18T15:19:47.780417Z",
      "read_at": null,
      "message": "Training 959 has Failed.",
      "training_model": 50
    }

How to test ?

  • Just hit /notifications/me you would see the new training_model field

@kshitijrajsharma kshitijrajsharma marked this pull request as ready for review March 19, 2025 22:34
@kshitijrajsharma kshitijrajsharma changed the title HOTFix : Trianing Instance in Notification HOTFix : Training Instance in Notification Mar 19, 2025
@kshitijrajsharma kshitijrajsharma merged commit 306cfa1 into develop Mar 25, 2025
2 checks passed
@kshitijrajsharma kshitijrajsharma deleted the hotfix/notification-training-id branch March 25, 2025 09:01
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.

1 participant