euporie.core.inspection
Show contextual help for the current item under the cursor.
Functions
|
A decorator indicating abstract methods. |
Classes
|
Metaclass for defining Abstract Base Classes (ABCs). |
|
Return results of the first inspector to respond. |
A class which provides contextual help on the item under the cursor. |
|
|
Inspector which retrieves contextual help from a kernel. |
|
Inspector which retrieves contextual help from a Language Server. |
- class euporie.core.inspection.FirstInspector(inspectors: Sequence[Inspector] | Callable[[], Sequence[Inspector]])
Bases:
Inspector
Return results of the first inspector to respond.
- class euporie.core.inspection.Inspector
Bases:
object
A class which provides contextual help on the item under the cursor.
- class euporie.core.inspection.KernelInspector(kernel: BaseKernel | Callable[[], BaseKernel])
Bases:
Inspector
Inspector which retrieves contextual help from a kernel.
- async get_context(document: Document, auto: bool) dict[str, Any]
Request contextual help from the kernel.
- property kernel: BaseKernel
Return the current kernel.