How to set priority in CELERYBEAT_SCHEDULE config?

In my Django app, I am trying to set the priority value to 6 for a Celery beat task, but the below doesn't work. What's the right way to set this value? I have other tasks in this config and want to set different priority values.

  'some_task_name': {
    'task': 'app_name.tasks.some_task_name',
    'schedule': crontab(hour=18, minute=30),
    'options': {'priority': 6}
Back to Top