__aenter__ and __aexit__ are needed because context management is a separate paradigm to calling objects; with the latter the hack is to use async def ...
確定! 回上一頁