You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In general, I want to move the sdk more towards a set of composable classes with a clear api for extending them. Something where parameters specific to application-service usage live either in an additional kwarg extras or in slurped kwargs **extras seems like the right direction for this.
Issues to be resolved still:
What if somebody wants to combine functionality available on two different subclasses of MatrixHttpApi (e.g. application-service support and async as in Add an asyncio version of the HttpApi class #168)? We should support composing those together somehow.
Maybe in addition to swapping out _send we should have a list of decorators that get applied to _send?
See discussion on #143.
In general, I want to move the sdk more towards a set of composable classes with a clear api for extending them. Something where parameters specific to application-service usage live either in an additional kwarg
extras
or in slurped kwargs**extras
seems like the right direction for this.Issues to be resolved still:
MatrixHttpApi
(e.g. application-service support and async as in Add an asyncio version of the HttpApi class #168)? We should support composing those together somehow.Maybe in addition to swapping out
_send
we should have a list of decorators that get applied to_send
?cc @Cadair
The text was updated successfully, but these errors were encountered: