lwinterface/panini

Type for 'async def subscribe_new_subject()' throw the warning

Opened this issue · 1 comments

    async def subscribe_new_subject(
        self,
        subject: str,
        callback: CoroutineType,
        init_subscription=False,
        is_async=False,
        data_type=None
    ):

getting the warning:
Screenshot 2021-07-22 at 16 49 59

The valid one is

callback: Callable[[Msg], Awaitable[None]]

Added to backlog