Skip to content

TypeError: can't pickle coroutine objects #555

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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