Mbonea commited on
Commit
e32956e
1 Parent(s): d360329

celery config for pydantic

Browse files
Files changed (1) hide show
  1. App/celery_config.py +2 -1
App/celery_config.py CHANGED
@@ -4,7 +4,8 @@ import ssl
4
  task_serializer = "pickle"
5
  result_serializer = "pickle"
6
  event_serializer = "json"
7
- accept_content = ["json"]
 
8
  timezone = "Europe/Oslo"
9
  enable_utc = True
10
 
 
4
  task_serializer = "pickle"
5
  result_serializer = "pickle"
6
  event_serializer = "json"
7
+ accept_content = ["application/json", "application/x-python-serialize"]
8
+ result_accept_content = ["application/json", "application/x-python-serialize"]
9
  timezone = "Europe/Oslo"
10
  enable_utc = True
11