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

Remove summarization tasks and apis #2651

Closed
sainak opened this issue Dec 15, 2024 · 1 comment · Fixed by #2653
Closed

Remove summarization tasks and apis #2651

sainak opened this issue Dec 15, 2024 · 1 comment · Fixed by #2653
Assignees

Comments

@sainak
Copy link
Member

sainak commented Dec 15, 2024

if settings.TASK_SUMMARIZE_TRIAGE:
sender.add_periodic_task(
crontab(hour="*/4", minute="59"),
summarize_triage.s(),
name="summarise_triage",
)
if settings.TASK_SUMMARIZE_TESTS:
sender.add_periodic_task(
crontab(hour="23", minute="59"),
summarize_tests.s(),
name="summarise_tests",
)
if settings.TASK_SUMMARIZE_FACILITY_CAPACITY:
sender.add_periodic_task(
crontab(minute="*/5"),
summarize_facility_capacity.s(),
name="summarise_facility_capacity",
)
if settings.TASK_SUMMARIZE_PATIENT:
sender.add_periodic_task(
crontab(hour="*/1", minute="59"),
summarize_patient.s(),
name="summarise_patient",
)
if settings.TASK_SUMMARIZE_DISTRICT_PATIENT:
sender.add_periodic_task(
crontab(hour="*/1", minute="59"),
summarize_district_patient.s(),
name="summarise_district_patient",
)

Remove the following stuff for each of the above tasks:

  • task definition
  • api endpoints
  • serializers and views
  • settings and mentions in docs
@areebahmeddd
Copy link
Contributor

Hi, can i be assigned to this issue? :)

@sainak sainak changed the title Remove summarization tasks and models Remove summarization tasks and apis Dec 15, 2024
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 a pull request may close this issue.

2 participants