Skyscanner / aiotask-context

Contextual information for asyncio tasks
MIT License
161 stars 25 forks source link

TypeError: 'Context' object does not support item assignment #30

Open Z33DD opened 2 years ago

Z33DD commented 2 years ago
@wraps(f)
async def decorated_function(self, request, *args, **kwargs):
     context.set("managers", Manager(None, None, None, None))
     return await f(self, request, *args, **kwargs)

image