Skip to content

Context vars are not usable in wrapped function #10

@cfytrok

Description

@cfytrok

task = loop.create_task(coro)

The function under the decorator is executed in another task. This breaks code that depends on context variables. asyncache avoided creating tasks. Is it possible to do without it here too?

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