Skip to content

Passing 'queue' as option to async_apply REST API is ignored/not working #456

@asmodehn

Description

@asmodehn

It seems to me so far that by default the dictionnary keys that we pass are unicode strings.
But celery option structure seems to expect normal strings...
In my case when I reach send_task() code in celery/app/base.py, my option dict looks like :

{
    'time_limit': None,
    'mandatory': None,
    'compression': None,
    'exchange': None,
    'delivery_mode': None,
    'routing_key': None,
    'immediate': None,
    'queue': None,
    'soft_time_limit': None,
    u'options': {
        u'queue': u'alexv-PC'
    },
    'serializer': 'json',
    'priority': None
}

Any hint on the best way to fix this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions