class Module:
    async def init(self):
        count = await app.db.get("counter", default=0)  # noqa: F821
        await app.db.set("counter", count + 1)  # noqa: F821
        assert await app.db.get("counter") == count + 1  # noqa: F821
