關鍵字包裝一下,並實現非同步上下文的方法. __aenter__. ,. __aexit__ 。 import. databases. class. AioDataBase. ():. async. def. __aenter__.
確定! 回上一頁