oncall-engine/engine/apps/schedules/models
Yulya Artyukhina 6a5267b847
Optimize GET /schedules and /current_user_events internal api endpoints (#4169)
# What this PR does
Speed up `GET /schedules` and `GET /current_user_events` internal api
endpoints by reducing number of calls to database

## Which issue(s) this PR closes
Related to https://github.com/grafana/oncall-private/issues/1552

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-04-11 14:46:51 +00:00
..
__init__.py shift swap requests model + CRUD endpoints (#2597) 2023-07-21 19:35:19 +00:00
custom_on_call_shift.py Refactor gaps and empty shift checks (#3785) 2024-01-31 15:25:06 +01:00
on_call_schedule.py Optimize GET /schedules and /current_user_events internal api endpoints (#4169) 2024-04-11 14:46:51 +00:00
shift_swap_request.py Google Calendar Out of Office events - autogenerated shift swap requests (#4104) 2024-04-02 20:10:16 +00:00