9 lines
184 B
Python
9 lines
184 B
Python
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
from typing import Any
|
||
|
|
|
||
|
|
|
||
|
|
class ContextMixin:
|
||
|
|
def context_info(self) -> dict[str, Any]:
|
||
|
|
return self._get_json("/api/context/info") or {}
|