taskiq-python / taskiq-fastapi

FastAPI integration for taskiq
MIT License
27 stars 3 forks source link

Fixed request scopes for tasks. #14

Closed s3rius closed 1 month ago

s3rius commented 1 month ago

This PR makes new fastapi Request instance of every new task execution.

Previously if you were setting a variable to request's state it was persisted among all tasks.