[mod] engines: migrate to setup() from init() for simple tasks

This commit is contained in:
Om Alve
2026-08-23 18:26:13 +05:30
committed by Bnyro
parent fd29de6c55
commit b4f616fed7
44 changed files with 87 additions and 66 deletions

View File

@@ -52,7 +52,7 @@ Implementations
"""
# pylint: disable=fixme
import typing as t
import random
from json import loads
from urllib.parse import urlencode
@@ -102,7 +102,7 @@ selected randomly.
"""
def init(_):
def setup(_: dict[str, t.Any]) -> bool | None:
valid_types = [
'text',
'image',