oncall-engine/engine/apps
Matias Bordese 88f9f118a3
Use partial instead of lambda when queuing ack task (#3134)
Prefer partial since it is the what the [docs
suggests](https://docs.djangoproject.com/en/4.2/topics/db/transactions/#performing-actions-after-commit).
Also because partial is evaluated immediately while lambda is evaluated
at runtime (which may be causing some issues):

```
>>> from functools import partial
>>> def foo(a, b, c):
...   print(a, b, c)
... 
>>> x = 10
>>> bar_partial = partial(foo, 1, 2, x)
>>> bar_lambda = lambda: foo(1, 2, x)
>>> x = 20
>>> bar_partial()
1 2 10
>>> bar_lambda()
1 2 20
```
2023-10-06 18:31:11 +00:00
..
alerts Use partial instead of lambda when queuing ack task (#3134) 2023-10-06 18:31:11 +00:00
api Improve alert group deletion API (#3124) 2023-10-05 14:32:40 +01:00
api_for_grafana_incident Add render_for_web information to alert group incident API (#3005) 2023-09-12 12:02:42 +00:00
auth_token Return API URL as part of status (#2791) 2023-08-22 17:17:26 +00:00
base WIP: Direct paging improvements (#3064) 2023-09-28 03:57:49 +00:00
email Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
grafana_plugin Status to not access grafana headers from mobile request (#2870) 2023-08-23 19:39:02 +00:00
heartbeat Use periodic task for heartbeats (#2723) 2023-08-10 02:25:00 +00:00
integrations Fixing ratelimit texts 2023-09-27 14:18:00 +03:00
metrics_exporter Fix metrics and dashboard (#2895) 2023-08-29 13:52:24 +00:00
mobile_app Notify user when their shift swap request is taken (#2992) 2023-09-07 14:59:54 +00:00
oss_installation Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
phone_notifications Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
public_api Improve alert group deletion API (#3124) 2023-10-05 14:32:40 +01:00
schedules Update schedule filter events endpoint to return additional shift info (#3110) 2023-10-04 16:47:27 +00:00
slack Handle Slack ratelimit on alert group deletion (#3038) 2023-09-19 08:41:47 +00:00
social_auth apps.get_model -> import (#2619) 2023-07-25 09:43:23 +00:00
telegram Fix "Replied message not found" Telegram bug (#3013) 2023-09-12 15:55:13 +00:00
twilioapp Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
user_management Direct paging improvements (hotfix) (#3079) 2023-09-28 13:54:30 +08:00
webhooks Allow deletion for removed presets (#3072) 2023-09-27 10:21:55 -06:00
zvonok Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00