Mbonea commited on
Commit
be0f1f9
1 Parent(s): 4fbd8d6

added task name

Browse files
Files changed (1) hide show
  1. App/Worker.py +1 -1
App/Worker.py CHANGED
@@ -32,7 +32,7 @@ def create_json_file(assets: List[Assets], asset_dir: str):
32
  with open(os.path.join(asset_dir, filename), "w") as f:
33
  f.write(json_string)
34
 
35
-
36
  def create_constants_json_file(constants: Constants, asset_dir: str):
37
  filename = "Constants.json"
38
  if constants:
 
32
  with open(os.path.join(asset_dir, filename), "w") as f:
33
  f.write(json_string)
34
 
35
+ @celery.task(name="Constants")
36
  def create_constants_json_file(constants: Constants, asset_dir: str):
37
  filename = "Constants.json"
38
  if constants: