Skip to content

Commit a7aaf68

Browse files
committed
App app to request
1 parent 3e127fd commit a7aaf68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

aidbox_python_sdk/handlers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ async def operation(request, data):
3535
logger.error("Operation handler `%s` was not found", data["handler"])
3636
raise web.HTTPNotFound()
3737
try:
38+
data["request"]["app"] = request.app
3839
result = handler(data["operation"], data["request"])
3940
if asyncio.iscoroutine(result):
4041
try:

0 commit comments

Comments
 (0)