from typing import Any class ContextMixin: def context_info(self) -> dict[str, Any]: return self._get_json("/api/context/info") or {}