Support starlette.background.BackgroundTasks #122

Open
opened 2026-01-19 10:22:21 +00:00 by hurui200320 · 0 comments
Member

Stan sends in a patch for this. the goal is to support this object being injected as a parameter for handler method call. Whenever a method requires such an object, the python adapter should create a fresh object and give it to the method. After we finished the request, aka after sending the response back, we execute this background task object so the handler can clean up resources.

The patch has been submitted to branch patch/stan_backgroundtasks

Stan sends in a patch for this. the goal is to support this object being injected as a parameter for handler method call. Whenever a method requires such an object, the python adapter should create a fresh object and give it to the method. After we finished the request, aka after sending the response back, we execute this background task object so the handler can clean up resources. The patch has been submitted to branch `patch/stan_backgroundtasks`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
clevermicro/amq-adapter-python#122
No description provided.