Skip to content

Conversation

@Maillol
Copy link

@Maillol Maillol commented Nov 26, 2025

Fix: Prevent passing callable objects that overwrite context

This fixes a regression where passing a callable object like huey.Task would break the context attribute.

After this change, huey.Task and similar callables can be used without overwriting context, restoring previous behavior.

@Maillol Maillol force-pushed the pass_callable_object_to_sync_to_async branch from 2ff7f84 to c440c61 Compare November 26, 2025 15:39
@carltongibson
Copy link
Member

Good example @Maillol. This looks right. I'll try and pull a point release together shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants