Skip to content

TypeError: can't pickle coroutine objects #555

@domenicoMuscill0

Description

@domenicoMuscill0

I ran against this problem: if using run_in_executor method from asyncio for managing multiple requests asynchronously and you have marked the function for caching then it transforms it to coroutine and thus the error since the executor only expects normal functions. Leaving it here for reference.

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