Skip to content

Conversation

gandiddi
Copy link
Contributor

Fixes #2198

Description

Typing for Middleware is incorrect

TypeError: MiddlewareSet.receive_activity_internal..call_next_middleware() takes 0 positional arguments but 1 was given

Specific Changes

Using functools.partial to create a callable that conforms to Callable[[TurnContext], Awaitable]

@gandiddi gandiddi requested a review from a team as a code owner February 14, 2025 17:37
@tracyboehrer tracyboehrer requested review from axelsrz and removed request for tracyboehrer March 25, 2025 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typing for Middleware is incorrect
2 participants