-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX Record instances deserialize properly when returned by agent.ask (#…
…152) * FIX Record instances deserialize properly when returned by agent.ask Faust uses an internal model store to keep track of classes deriving from ```Record```. When sent via Kafka those classes are transparently reconstructed from the deserialized data. The corresponding logic resides in ```faust.models.base.maybe_model``` which must be used to wrap the reply value of ```faust.agents.replies.ReplyConsumer._drain_replies```. * fixed linting Co-authored-by: tariq <tariq@attariq.de>
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters